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> |
|
41 #include <MProfileEngineExtended2.h> |
39 class CProfileSettingsMonitorServerImpl : |
42 class CProfileSettingsMonitorServerImpl : |
40 public CBase, |
43 public CBase, |
41 public MProEngProfileActivationObserver, |
44 public MProEngProfileActivationObserver, |
42 public MProEngActiveProfileObserver |
45 public MProEngActiveProfileObserver |
43 { |
46 { |
44 public: |
47 public: |
45 IMPORT_C static CProfileSettingsMonitorServerImpl* NewL(); |
48 static CProfileSettingsMonitorServerImpl* NewL(); |
46 ~CProfileSettingsMonitorServerImpl(); |
49 ~CProfileSettingsMonitorServerImpl(); |
47 |
50 |
48 //MProEngProfileActivationObserver |
51 //MProEngProfileActivationObserver |
49 void HandleProfileActivatedL( TInt aProfileId ); |
52 void HandleProfileActivatedL( TInt aProfileId ); |
50 void HandleProfileActivationNotificationError( |
53 void HandleProfileActivationNotificationError( |
60 void ConstructL(); |
63 void ConstructL(); |
61 |
64 |
62 // Initializes publish and subscribe keys used for |
65 // Initializes publish and subscribe keys used for |
63 // audio clients list implementation |
66 // audio clients list implementation |
64 void InitializeAudioClientsListPSKeysL(); |
67 void InitializeAudioClientsListPSKeysL(); |
|
68 void CMapGASRingingType(TProfileRingingType aRingingType); |
|
69 void CMapGASKeypadVolume(TProfileKeypadVolume aKeypadVolume); |
65 |
70 |
66 private: |
71 private: |
67 MProEngEngine* iEngine; |
72 MProEngEngine* iEngine; |
68 MProEngNotifyHandler* iNotifyHandler; |
73 MProEngNotifyHandler* iNotifyHandler; |
|
74 MProfileEngineExtended2* iProfileEngineExtended; |
69 TInt iActiveProfileId; |
75 TInt iActiveProfileId; |
70 TBool iWarningTones; |
76 TBool iWarningTones; |
71 TBool iMessagingTones; |
77 TBool iMessagingTones; |
72 TBool iSilentProfile; |
78 TBool iSilentProfile; |
73 TBool iVibra; |
79 TBool iVibra; |
74 TBool iPublicSilence; |
80 TBool iPublicSilence; |
|
81 HBufC* iMessageToneName; |
|
82 HBufC* iEmailToneName; |
|
83 HBufC* iVideoCallToneName; |
|
84 HBufC* iRingingTone1Name; |
|
85 HBufC* iRingingTone2Name; |
|
86 |
|
87 CGlobalAudioSettings::TGASRingingType iGASRingingType; |
|
88 |
|
89 CGlobalAudioSettings::TGASKeypadVolume iGASKeypadVolume; |
|
90 TBool iSilenceMode; |
75 RProperty iWarningTonesProperty; |
91 RProperty iWarningTonesProperty; |
76 RProperty iMessagingTonesProperty; |
92 RProperty iMessagingTonesProperty; |
77 RProperty iSilentProfileProperty; |
93 RProperty iSilentProfileProperty; |
78 RProperty iVibraProperty; |
94 RProperty iVibraProperty; |
79 RProperty iPublicSilenceProperty; |
95 RProperty iPublicSilenceProperty; |
|
96 RProperty iMessageToneNameProperty; |
|
97 RProperty iEmailToneNameProperty; |
|
98 RProperty iRingingTypeProperty; |
|
99 RProperty iVideoCallToneNameProperty; |
|
100 RProperty iRingingTone1NameProperty; |
|
101 RProperty iRingingTone2NameProperty; |
|
102 RProperty iKeypadVolumeProperty; |
|
103 RProperty iSilenceModeProperty; |
80 }; |
104 }; |
81 |
105 |
82 #endif |
106 #endif |
83 |
107 |
84 // End of file |
108 // End of file |