coreapplicationuis/rfsplugins/tsrc/rfspluginstest/rfstestapp/src/rfstestappui.cpp
equal
deleted
inserted
replaced
14 * Description: Implementation of CRfsTestAppUi class |
14 * Description: Implementation of CRfsTestAppUi class |
15 * |
15 * |
16 */ |
16 */ |
17 |
17 |
18 |
18 |
19 #include <akncommondialogsdynmem.h> |
19 //#include <akncommondialogsdynmem.h> |
20 #include <aknwaitdialog.h> |
20 #include <aknwaitdialog.h> |
21 #include <commondialogs.hrh> |
21 //#include <commondialogs.hrh> |
22 #include <rfstestapp.rsg> |
22 #include <rfstestapp.rsg> |
23 #include <aknlists.h> |
23 #include <aknlists.h> |
24 #include <aknpopup.h> |
24 #include <aknpopup.h> |
25 #include <driveinfo.h> |
25 #include <driveinfo.h> |
26 |
26 |
61 FUNC_LOG; |
61 FUNC_LOG; |
62 |
62 |
63 TParsePtr parse( aPath ); |
63 TParsePtr parse( aPath ); |
64 TPtrC rootFolder = parse.DriveAndPath(); |
64 TPtrC rootFolder = parse.DriveAndPath(); |
65 INFO_1( "Root folder for opening test files: %S", &rootFolder ); |
65 INFO_1( "Root folder for opening test files: %S", &rootFolder ); |
66 TBool ret = AknCommonDialogsDynMem::RunSelectDlgLD( |
66 TBool ret =ETrue;// = AknCommonDialogsDynMem::RunSelectDlgLD( |
67 AknCommonDialogsDynMem::EMemoryTypePhone | |
67 //AknCommonDialogsDynMem::EMemoryTypePhone | |
68 AknCommonDialogsDynMem::EMemoryTypeMMC, |
68 //AknCommonDialogsDynMem::EMemoryTypeMMC, |
69 aPath, |
69 //aPath, |
70 rootFolder, |
70 //rootFolder, |
71 R_RFSTESTAPP_MEMORY_SELECTION, |
71 //R_RFSTESTAPP_MEMORY_SELECTION, |
72 aResId ); |
72 //aResId ); |
73 |
73 |
74 return ret; |
74 return ret; |
75 } |
75 } |
76 |
76 |
77 |
77 |
232 FUNC_LOG; |
232 FUNC_LOG; |
233 |
233 |
234 HBufC* specFile = HBufC::NewLC( KMaxFileName ); |
234 HBufC* specFile = HBufC::NewLC( KMaxFileName ); |
235 TPtr specFileDes = specFile->Des(); |
235 TPtr specFileDes = specFile->Des(); |
236 specFileDes = aSpec; |
236 specFileDes = aSpec; |
|
237 /* |
237 if ( AskPathL( specFileDes, R_RFSTESTAPP_SPECFILE_SELECTION ) ) |
238 if ( AskPathL( specFileDes, R_RFSTESTAPP_SPECFILE_SELECTION ) ) |
238 { |
239 { |
239 HBufC* excludeFile = HBufC::NewLC( KMaxFileName ); |
240 HBufC* excludeFile = HBufC::NewLC( KMaxFileName ); |
240 TPtr excludeFileDes = excludeFile->Des(); |
241 TPtr excludeFileDes = excludeFile->Des(); |
241 excludeFileDes = aExclude; |
242 excludeFileDes = aExclude; |
276 |
277 |
277 CleanupStack::PopAndDestroy( excludeTargetFile ); |
278 CleanupStack::PopAndDestroy( excludeTargetFile ); |
278 } |
279 } |
279 |
280 |
280 CleanupStack::PopAndDestroy( excludeFile ); |
281 CleanupStack::PopAndDestroy( excludeFile ); |
281 } |
282 }*/ |
282 CleanupStack::PopAndDestroy( specFile ); |
283 CleanupStack::PopAndDestroy( specFile ); |
283 } |
284 } |
284 |
285 |
285 |
286 |
286 // --------------------------------------------------------------------------- |
287 // --------------------------------------------------------------------------- |