engine/src/SettingsEngine.cpp
changeset 60 4d230e702aa3
parent 2 29cda98b007e
child 65 bcd88ba95046
equal deleted inserted replaced
59:9569ea080d5a 60:4d230e702aa3
    17 */
    17 */
    18 
    18 
    19 #include <bautils.h>
    19 #include <bautils.h>
    20 #include <s32file.h>
    20 #include <s32file.h>
    21 #include "SettingsEngine.h"
    21 #include "SettingsEngine.h"
    22 #include "SoundEngine.h"
       
    23 #include "FeedEngine.h"
    22 #include "FeedEngine.h"
    24 #include "ShowEngine.h"
    23 #include "ShowEngine.h"
    25 
    24 
    26 const TUid KMainSettingsStoreUid = {0x1000};
    25 const TUid KMainSettingsStoreUid = {0x1000};
    27 const TUid KMainSettingsUid = {0x1002};
    26 const TUid KMainSettingsUid = {0x1002};
   222 
   221 
   223 TFileName CSettingsEngine::PrivatePath()
   222 TFileName CSettingsEngine::PrivatePath()
   224 	{
   223 	{
   225 	TFileName privatePath;
   224 	TFileName privatePath;
   226 	iPodcastModel.FsSession().PrivatePath(privatePath);
   225 	iPodcastModel.FsSession().PrivatePath(privatePath);
       
   226 
   227 	TRAP_IGNORE(BaflUtils::EnsurePathExistsL(iPodcastModel.FsSession(), privatePath));
   227 	TRAP_IGNORE(BaflUtils::EnsurePathExistsL(iPodcastModel.FsSession(), privatePath));
   228 	return privatePath;
   228 	return privatePath;
   229 	}
   229 	}
   230 
   230 
   231 TInt CSettingsEngine::MaxListItems() 
   231 TInt CSettingsEngine::MaxListItems()