radioengine/settings/src/cradiosettingsimp.cpp
changeset 38 f8c3d4e6102c
parent 28 075425b8d9a4
equal deleted inserted replaced
36:ba22309243a1 38:f8c3d4e6102c
    79     LEVEL3( LOG_METHOD_AUTO );
    79     LEVEL3( LOG_METHOD_AUTO );
    80     delete iEngineSettings;
    80     delete iEngineSettings;
    81     delete iApplicationSettings;
    81     delete iApplicationSettings;
    82     if ( iFsSession )
    82     if ( iFsSession )
    83         {
    83         {
    84         if ( iFsSession->Handle() )
    84         iFsSession->Close();
    85             {
    85         }
    86             iFsSession->Close();
    86     delete iFsSession;
    87             }
       
    88         delete iFsSession;
       
    89         }
       
    90     }
    87     }
    91 
    88 
    92 // ---------------------------------------------------------------------------
    89 // ---------------------------------------------------------------------------
    93 // Determines if region is allowed.
    90 // Determines if region is allowed.
    94 // ---------------------------------------------------------------------------
    91 // ---------------------------------------------------------------------------
   135 //
   132 //
   136 void CRadioSettingsImp::ResolveDriveL( TFileName& aFileName, const TDesC& aPath )
   133 void CRadioSettingsImp::ResolveDriveL( TFileName& aFileName, const TDesC& aPath )
   137     {
   134     {
   138     LEVEL3( LOG_METHOD_AUTO );
   135     LEVEL3( LOG_METHOD_AUTO );
   139     LEVEL3( LOG_FORMAT( "aFileName = %S, aPath = %S", &aFileName, &aPath ) );
   136     LEVEL3( LOG_FORMAT( "aFileName = %S, aPath = %S", &aFileName, &aPath ) );
   140     
   137 
   141     TFileName fileName;
   138     TFileName fileName;
   142     TFileName baseResource;
   139     TFileName baseResource;
   143     TFindFile finder( *iFsSession );
   140     TFindFile finder( *iFsSession );
   144     TLanguage language( ELangNone );
   141     TLanguage language( ELangNone );
   145 
   142 
   233 RFs& CRadioSettingsImp::FsSession()
   230 RFs& CRadioSettingsImp::FsSession()
   234     {
   231     {
   235     LEVEL3( LOG_METHOD_AUTO );
   232     LEVEL3( LOG_METHOD_AUTO );
   236     return *iFsSession;
   233     return *iFsSession;
   237     }
   234     }
   238