--- 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 <MProEngActiveProfileObserver.h>
#include <MProEngProfileActivationObserver.h>
#include <MProEngNotifyHandler.h>
+#include <MProEngTones.h>
#include <MProEngToneSettings.h>
#include <e32property.h>
#include <GlobalAudioSettingsPSKeys.h>
@@ -36,13 +37,15 @@
#include <ProfileEngineDomainCRKeys.h>
#include <ProfilesVariant.hrh>
#include <e32capability.h>
+#include <GlobalAudioSettings.h>
+#include <MProfileEngineExtended2.h>
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