mmfenh/profilesettingsmonitor/inc/ProfileSettingsMonitorServerImpl.h
changeset 38 9e9fc5ab059f
parent 14 80975da52420
child 43 9894ed580e4a
equal deleted inserted replaced
36:73253677b50a 38:9e9fc5ab059f
    27 #include <MProEngEngine.h>
    27 #include <MProEngEngine.h>
    28 #include <MProEngProfile.h>
    28 #include <MProEngProfile.h>
    29 #include <MProEngActiveProfileObserver.h>
    29 #include <MProEngActiveProfileObserver.h>
    30 #include <MProEngProfileActivationObserver.h>
    30 #include <MProEngProfileActivationObserver.h>
    31 #include <MProEngNotifyHandler.h>
    31 #include <MProEngNotifyHandler.h>
       
    32 #include <MProEngTones.h>
    32 #include <MProEngToneSettings.h>
    33 #include <MProEngToneSettings.h>
    33 #include <e32property.h>
    34 #include <e32property.h>
    34 #include <GlobalAudioSettingsPSKeys.h>
    35 #include <GlobalAudioSettingsPSKeys.h>
    35 #include <centralrepository.h>
    36 #include <centralrepository.h>
    36 #include <ProfileEngineDomainCRKeys.h>
    37 #include <ProfileEngineDomainCRKeys.h>
    37 #include <ProfilesVariant.hrh>
    38 #include <ProfilesVariant.hrh>
    38 #include <e32capability.h>
    39 #include <e32capability.h>
       
    40 #include <GlobalAudioSettings.h>
    39 class CProfileSettingsMonitorServerImpl : 
    41 class CProfileSettingsMonitorServerImpl : 
    40 public CBase, 
    42 public CBase, 
    41 public MProEngProfileActivationObserver, 
    43 public MProEngProfileActivationObserver, 
    42 public MProEngActiveProfileObserver
    44 public MProEngActiveProfileObserver
    43 	{
    45 	{
    60 	void ConstructL();
    62 	void ConstructL();
    61 	
    63 	
    62 	// Initializes publish and subscribe keys used for
    64 	// Initializes publish and subscribe keys used for
    63 	// audio clients list implementation
    65 	// audio clients list implementation
    64 	void InitializeAudioClientsListPSKeysL();
    66 	void InitializeAudioClientsListPSKeysL();
       
    67 	void CMapGASRingingType(TProfileRingingType aRingingType);
       
    68 	void CMapGASKeypadVolume(TProfileKeypadVolume aKeypadVolume);
    65 
    69 
    66 private:
    70 private:
    67     MProEngEngine* iEngine;
    71     MProEngEngine* iEngine;
    68     MProEngNotifyHandler* iNotifyHandler;
    72     MProEngNotifyHandler* iNotifyHandler;
    69     TInt iActiveProfileId;
    73     TInt iActiveProfileId;
    70     TBool iWarningTones;
    74     TBool iWarningTones;
    71     TBool iMessagingTones;
    75     TBool iMessagingTones;
    72     TBool iSilentProfile;
    76     TBool iSilentProfile;
    73     TBool iVibra;
    77     TBool iVibra;
    74     TBool iPublicSilence;
    78     TBool iPublicSilence;
       
    79     HBufC* iMessageToneName;
       
    80     HBufC* iEmailToneName;
       
    81     HBufC* iVideoCallToneName;
       
    82     HBufC* iRingingTone1Name;
       
    83     HBufC* iRingingTone2Name;
       
    84   
       
    85     CGlobalAudioSettings::TGASRingingType iGASRingingType;
       
    86   
       
    87     CGlobalAudioSettings::TGASKeypadVolume iGASKeypadVolume;
    75     RProperty iWarningTonesProperty;
    88     RProperty iWarningTonesProperty;
    76     RProperty iMessagingTonesProperty;
    89     RProperty iMessagingTonesProperty;
    77     RProperty iSilentProfileProperty;
    90     RProperty iSilentProfileProperty;
    78     RProperty iVibraProperty;
    91     RProperty iVibraProperty;
    79     RProperty iPublicSilenceProperty;
    92     RProperty iPublicSilenceProperty;
       
    93     RProperty iMessageToneNameProperty;
       
    94     RProperty iEmailToneNameProperty;
       
    95     RProperty iRingingTypeProperty;
       
    96     RProperty iVideoCallToneNameProperty;
       
    97     RProperty iRingingTone1NameProperty;
       
    98     RProperty iRingingTone2NameProperty;
       
    99     RProperty iKeypadVolumeProperty;
    80 	};
   100 	};
    81 
   101 
    82 #endif
   102 #endif
    83 
   103 
    84 // End of file
   104 // End of file