diff -r 30540fccecae -r 851e19007849 profilesservices/ProfileEngine/EngSrc/CProfileEngineImpl.h --- a/profilesservices/ProfileEngine/EngSrc/CProfileEngineImpl.h Fri Apr 16 15:15:08 2010 +0300 +++ b/profilesservices/ProfileEngine/EngSrc/CProfileEngineImpl.h Mon May 03 12:46:45 2010 +0300 @@ -24,7 +24,7 @@ #include #include // RFs #include // TProfileRingingVolume -#include // MProfileEngineExtended +#include // MProfileEngineExtended2 #include // 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 ); /**