--- a/profilesservices/ProfileEngine/EngSrc/CProfileEngineImpl.h Thu Apr 01 03:31:13 2010 +0800
+++ b/profilesservices/ProfileEngine/EngSrc/CProfileEngineImpl.h Fri Apr 16 11:40:46 2010 +0800
@@ -24,7 +24,7 @@
#include <e32property.h>
#include <f32file.h> // RFs
#include <Profile.hrh> // TProfileRingingVolume
-#include <MProfileEngineExtended.h> // MProfileEngineExtended
+#include <MProfileEngineExtended2.h> // MProfileEngineExtended2
#include <MProfileExtended.h> // MProfileExtended
// FORWARD DECLARATIONS
@@ -46,7 +46,7 @@
* @since 2.0
*/
NONSHARABLE_CLASS(CProfileEngineImpl) : public CBase,
- public MProfileEngineExtended
+ public MProfileEngineExtended2
{
public: // Constructors and destructor
@@ -186,9 +186,56 @@
TBool IsActiveProfileTimedL();
/**
- * From MProfileEngineExtended.
+ * From MProfileEngineExtended2.
*/
void SetActiveProfileTimedL( TInt aId, TTime aTime );
+
+
+ /**
+ * From MProfileEngineExtended2.
+ */
+ virtual MProfileExtended2* Profile2LC( TInt aId );
+
+ /**
+ * From MProfileEngineExtended2.
+ */
+ virtual MProfileExtended2* Profile2L( TInt aId );
+
+ /**
+ * From MProfileEngineExtended2.
+ */
+ virtual void CommitChange2L( MProfileExtended2& aProfile );
+
+
+ /**
+ * From MProfileEngineExtended2.
+ */
+ virtual TInt MasterVolumeL() const;
+
+ /**
+ * From MProfileEngineExtended2.
+ */
+ virtual void SetMasterVolumeL( TInt aMasterVolume );
+
+ /**
+ * From MProfileEngineExtended2.
+ */
+ virtual TBool MasterVibraL() const;
+
+ /**
+ * From MProfileEngineExtended2.
+ */
+ virtual void SetMasterVibraL( TBool aMasterVibra );
+
+ /**
+ * From MProfileEngineExtended2.
+ */
+ virtual TBool SilenceModeL() const;
+
+ /**
+ * From MProfileEngineExtended2.
+ */
+ virtual void SetSilenceModeL( TBool aSilenceMode );
protected: // New functions
@@ -229,7 +276,7 @@
* @param aSetId sets the id of the active profile to Central Repository
* only if this is ETrue
*/
- void UpdateActiveProfileSettingsL( MProfile& aProfile,
+ void UpdateActiveProfileSettingsL( MProfileExtended2& aProfile,
TBool aSetId = EFalse );
/**