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> |
|
33 #include <MProEngToneSettings.h> |
32 #include <MProEngToneSettings.h> |
34 #include <e32property.h> |
33 #include <e32property.h> |
35 #include <GlobalAudioSettingsPSKeys.h> |
34 #include <GlobalAudioSettingsPSKeys.h> |
36 #include <centralrepository.h> |
35 #include <centralrepository.h> |
37 #include <ProfileEngineDomainCRKeys.h> |
36 #include <ProfileEngineDomainCRKeys.h> |
38 #include <ProfilesVariant.hrh> |
37 #include <ProfilesVariant.hrh> |
39 #include <e32capability.h> |
38 #include <e32capability.h> |
40 #include <GlobalAudioSettings.h> |
|
41 #include <MProfileEngineExtended2.h> |
|
42 class CProfileSettingsMonitorServerImpl : |
39 class CProfileSettingsMonitorServerImpl : |
43 public CBase, |
40 public CBase, |
44 public MProEngProfileActivationObserver, |
41 public MProEngProfileActivationObserver, |
45 public MProEngActiveProfileObserver |
42 public MProEngActiveProfileObserver |
46 { |
43 { |
47 public: |
44 public: |
48 static CProfileSettingsMonitorServerImpl* NewL(); |
45 IMPORT_C static CProfileSettingsMonitorServerImpl* NewL(); |
49 ~CProfileSettingsMonitorServerImpl(); |
46 ~CProfileSettingsMonitorServerImpl(); |
50 |
47 |
51 //MProEngProfileActivationObserver |
48 //MProEngProfileActivationObserver |
52 void HandleProfileActivatedL( TInt aProfileId ); |
49 void HandleProfileActivatedL( TInt aProfileId ); |
53 void HandleProfileActivationNotificationError( |
50 void HandleProfileActivationNotificationError( |
63 void ConstructL(); |
60 void ConstructL(); |
64 |
61 |
65 // Initializes publish and subscribe keys used for |
62 // Initializes publish and subscribe keys used for |
66 // audio clients list implementation |
63 // audio clients list implementation |
67 void InitializeAudioClientsListPSKeysL(); |
64 void InitializeAudioClientsListPSKeysL(); |
68 void CMapGASRingingType(TProfileRingingType aRingingType); |
|
69 void CMapGASKeypadVolume(TProfileKeypadVolume aKeypadVolume); |
|
70 |
65 |
71 private: |
66 private: |
72 MProEngEngine* iEngine; |
67 MProEngEngine* iEngine; |
73 MProEngNotifyHandler* iNotifyHandler; |
68 MProEngNotifyHandler* iNotifyHandler; |
74 MProfileEngineExtended2* iProfileEngineExtended; |
|
75 TInt iActiveProfileId; |
69 TInt iActiveProfileId; |
76 TBool iWarningTones; |
70 TBool iWarningTones; |
77 TBool iMessagingTones; |
71 TBool iMessagingTones; |
78 TBool iSilentProfile; |
72 TBool iSilentProfile; |
79 TBool iVibra; |
73 TBool iVibra; |
80 TBool iPublicSilence; |
74 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; |
|
91 RProperty iWarningTonesProperty; |
75 RProperty iWarningTonesProperty; |
92 RProperty iMessagingTonesProperty; |
76 RProperty iMessagingTonesProperty; |
93 RProperty iSilentProfileProperty; |
77 RProperty iSilentProfileProperty; |
94 RProperty iVibraProperty; |
78 RProperty iVibraProperty; |
95 RProperty iPublicSilenceProperty; |
79 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; |
|
104 }; |
80 }; |
105 |
81 |
106 #endif |
82 #endif |
107 |
83 |
108 // End of file |
84 // End of file |