diff -r a36789189b53 -r 095bea5f582e mmfenh/profilesettingsmonitor/inc/ProfileSettingsMonitorServerImpl.h --- a/mmfenh/profilesettingsmonitor/inc/ProfileSettingsMonitorServerImpl.h Thu Aug 19 10:26:11 2010 +0300 +++ b/mmfenh/profilesettingsmonitor/inc/ProfileSettingsMonitorServerImpl.h Tue Aug 31 15:43:02 2010 +0300 @@ -29,6 +29,7 @@ #include #include #include +#include #include #include #include @@ -36,13 +37,15 @@ #include #include #include +#include +#include class CProfileSettingsMonitorServerImpl : public CBase, public MProEngProfileActivationObserver, public MProEngActiveProfileObserver { public: - IMPORT_C static CProfileSettingsMonitorServerImpl* NewL(); + static CProfileSettingsMonitorServerImpl* NewL(); ~CProfileSettingsMonitorServerImpl(); //MProEngProfileActivationObserver @@ -62,21 +65,42 @@ // Initializes publish and subscribe keys used for // audio clients list implementation void InitializeAudioClientsListPSKeysL(); + void CMapGASRingingType(TProfileRingingType aRingingType); + void CMapGASKeypadVolume(TProfileKeypadVolume aKeypadVolume); private: MProEngEngine* iEngine; MProEngNotifyHandler* iNotifyHandler; + MProfileEngineExtended2* iProfileEngineExtended; TInt iActiveProfileId; TBool iWarningTones; TBool iMessagingTones; TBool iSilentProfile; TBool iVibra; TBool iPublicSilence; + HBufC* iMessageToneName; + HBufC* iEmailToneName; + HBufC* iVideoCallToneName; + HBufC* iRingingTone1Name; + HBufC* iRingingTone2Name; + + CGlobalAudioSettings::TGASRingingType iGASRingingType; + + CGlobalAudioSettings::TGASKeypadVolume iGASKeypadVolume; + TBool iSilenceMode; RProperty iWarningTonesProperty; RProperty iMessagingTonesProperty; RProperty iSilentProfileProperty; RProperty iVibraProperty; RProperty iPublicSilenceProperty; + RProperty iMessageToneNameProperty; + RProperty iEmailToneNameProperty; + RProperty iRingingTypeProperty; + RProperty iVideoCallToneNameProperty; + RProperty iRingingTone1NameProperty; + RProperty iRingingTone2NameProperty; + RProperty iKeypadVolumeProperty; + RProperty iSilenceModeProperty; }; #endif