equal
deleted
inserted
replaced
23 #include <aknsettingitemlist.h> |
23 #include <aknsettingitemlist.h> |
24 #include <aknnavide.h> |
24 #include <aknnavide.h> |
25 #include <podcast.rsg> |
25 #include <podcast.rsg> |
26 #include "SettingsEngine.h" |
26 #include "SettingsEngine.h" |
27 |
27 |
28 //#include <caknfileselectiondialog.h> |
|
29 //#include <caknmemoryselectiondialogmultidrive.h> |
|
30 #include <akncommondialogsdynmem.h> |
28 #include <akncommondialogsdynmem.h> |
31 #include <pathinfo.h> |
29 #include <pathinfo.h> |
32 |
30 |
33 |
31 |
34 class CIapSetting: public CAknEnumeratedTextPopupSettingItem |
32 class CIapSetting: public CAknEnumeratedTextPopupSettingItem |
294 selectedFolder.Copy(iShowDir); |
292 selectedFolder.Copy(iShowDir); |
295 TFileName startFolder; |
293 TFileName startFolder; |
296 startFolder.Zero(); |
294 startFolder.Zero(); |
297 TInt types = AknCommonDialogsDynMem::EMemoryTypePhone | AknCommonDialogsDynMem::EMemoryTypeMMC |AknCommonDialogsDynMem::EMemoryTypeInternalMassStorage| AknCommonDialogsDynMem::EMemoryTypeRemote; |
295 TInt types = AknCommonDialogsDynMem::EMemoryTypePhone | AknCommonDialogsDynMem::EMemoryTypeMMC |AknCommonDialogsDynMem::EMemoryTypeInternalMassStorage| AknCommonDialogsDynMem::EMemoryTypeRemote; |
298 |
296 |
299 HBufC *title = iCoeEnv->AllocReadResourceLC(R_PODCAST_SETTING_DIRECTORY); |
297 HBufC *title = iCoeEnv->AllocReadResourceLC(R_PODCAST_SELECT_FOLDER); |
300 if (AknCommonDialogsDynMem::RunFolderSelectDlgLD (types, selectedFolder, |
298 if (AknCommonDialogsDynMem::RunFolderSelectDlgLD (types, selectedFolder, |
301 startFolder, NULL, NULL, *title)) |
299 startFolder, NULL, NULL, *title)) |
302 { |
300 { |
303 _LIT(KPodcastsDir, "Podcasts"); |
301 _LIT(KPodcastsDir, "Podcasts"); |
304 TInt pos = selectedFolder.Find(KPodcastsDir); |
302 TInt pos = selectedFolder.Find(KPodcastsDir); |