equal
deleted
inserted
replaced
57 ENTRY( "TestIMRegisterCollectionL", CTestDomOptionsMenu::TestIMRegisterCollectionL ), |
57 ENTRY( "TestIMRegisterCollectionL", CTestDomOptionsMenu::TestIMRegisterCollectionL ), |
58 ENTRY( "TestIMRemoveCollection", CTestDomOptionsMenu::TestIMRemoveCollection ), |
58 ENTRY( "TestIMRemoveCollection", CTestDomOptionsMenu::TestIMRemoveCollection ), |
59 ENTRY( "TestIMShowMenuL", CTestDomOptionsMenu::TestIMShowMenuL ), |
59 ENTRY( "TestIMShowMenuL", CTestDomOptionsMenu::TestIMShowMenuL ), |
60 ENTRY( "TestIMInitMenuL", CTestDomOptionsMenu::TestIMInitMenuL ), |
60 ENTRY( "TestIMInitMenuL", CTestDomOptionsMenu::TestIMInitMenuL ), |
61 ENTRY( "TestIMCollectionChangedL", CTestDomOptionsMenu::TestIMCollectionChangedL ), |
61 ENTRY( "TestIMCollectionChangedL", CTestDomOptionsMenu::TestIMCollectionChangedL ), |
|
62 ENTRY( "TestIMRegisterCollection2L", CTestDomOptionsMenu::TestIMRegisterCollection2L ) |
62 }; |
63 }; |
63 |
64 |
64 const TInt count = sizeof( KFunctions ) / |
65 const TInt count = sizeof( KFunctions ) / |
65 sizeof( TStifFunctionInfo ); |
66 sizeof( TStifFunctionInfo ); |
66 |
67 |
202 CEikonEnv::Static()->AppUiFactory()->SwapMenuBar( old ); |
203 CEikonEnv::Static()->AppUiFactory()->SwapMenuBar( old ); |
203 |
204 |
204 return KErrNone; |
205 return KErrNone; |
205 } |
206 } |
206 |
207 |
|
208 // ----------------------------------------------------------------------------- |
|
209 // CTestSDKOptionsMenu::TestIMRegisterCollection2L |
|
210 // ----------------------------------------------------------------------------- |
|
211 // |
|
212 TInt CTestDomOptionsMenu::TestIMRegisterCollection2L( CStifItemParser& /*aItem*/ ) |
|
213 { |
|
214 // Print to UI |
|
215 _LIT( KTestSDKDomMenu, "TestSDKDomMenu" ); |
|
216 _LIT( KTestIMRegisterCollectionL, "In TestIMRegisterCollection2L" ); |
|
217 TestModuleIf().Printf( 0, KTestSDKDomMenu, KTestIMRegisterCollectionL ); |
|
218 // Print to log file |
|
219 iLog->Log( KTestIMRegisterCollectionL ); |
|
220 |
|
221 if( !iCollection ) |
|
222 { |
|
223 iCollection = new(ELeave) TTestCollection; |
|
224 } |
|
225 |
|
226 //since STIF does not enable single click now, can't get instance of CAknItemActionMenu. |
|
227 //Hence following method will not be invoked. |
|
228 CAknItemActionMenu::RegisterCollectionL( *iCollection, iCollection ); |
|
229 return KErrNone; |
|
230 |
|
231 } |
|
232 |
|
233 |
207 // [End of File] - Do not remove |
234 // [End of File] - Do not remove |