radioengine/settings/inc/cradiosettingsimp.h
branchGCC_SURGE
changeset 37 451b2e1545b2
parent 28 075425b8d9a4
--- a/radioengine/settings/inc/cradiosettingsimp.h	Fri Jun 11 16:24:13 2010 +0100
+++ b/radioengine/settings/inc/cradiosettingsimp.h	Thu Jul 22 16:33:45 2010 +0100
@@ -18,16 +18,19 @@
 #ifndef C_RADIOSETTINGSIMP_H
 #define C_RADIOSETTINGSIMP_H
 
+// System includes
+#include <barsc.h>
 // User includes
 #include "cradiosettings.h"
 
 // Forward declarations
-class CCoeEnv;
 class CRadioApplicationSettings;
 class CRadioEngineSettings;
-class CRadioRepositoryManager;
 class RConeResourceLoader;
 
+// The name of the radio settings resource file.
+_LIT( KRadioSettingsResourceFile, "fmradioenginesettings.rsc" );
+
 /**
  * Manages persistent application settings.
  *
@@ -38,45 +41,29 @@
 
 public:
 
-    static CRadioSettingsImp* NewL( CCoeEnv* aCoeEnv = NULL );
+    static CRadioSettingsImp* NewL();
 
     ~CRadioSettingsImp();
 
+    RFs& FsSession();
+    
 // from base class CRadioSettings
 
     TBool IsRegionAllowed( TRadioRegion aRegionId ) const;
     MRadioApplicationSettings& ApplicationSettings() const;
     MRadioEngineSettings& EngineSettings() const;
     MRadioSettingsSetter& RadioSetter() const;
-    CRadioRepositoryManager& Repository() const;
     void ResolveDriveL( TFileName& aFileName, const TDesC& aPath );
 
 private:
 
     CRadioSettingsImp();
 
-    void ConstructL( CCoeEnv* aCoeEnv );
-
-    /**
-     * Loads the resources required by the settings.
-     */
-    void LoadResourcesL();
+    void ConstructL();
 
 private: // data
 
     /**
-     * The central repository manager.
-     * Own.
-     */
-    CRadioRepositoryManager*    iRepositoryManager;
-
-    /**
-     * Resource loader for the settings resources.
-     * Own.
-     */
-    RConeResourceLoader*        iResourceLoader;
-
-    /**
      * Implementation of the application settings.
      * Own
      */
@@ -87,6 +74,12 @@
      * Own
      */
     CRadioEngineSettings*       iEngineSettings;
+    
+    /**
+     * File session.
+     * Own
+     */
+    RFs*                        iFsSession; 
 
     };