78 |
78 |
79 private: |
79 private: |
80 |
80 |
81 void ConstructL(); |
81 void ConstructL(); |
82 |
82 |
83 /** |
|
84 * Used internally to change network coverage status and report it to observer. |
|
85 */ |
|
86 void SetNetworkCoverageL( const TBool aIsMobileNetworkCoverage, const TBool aIsWlanCoverage ); |
|
87 |
|
88 CRadioSystemEventDetector( MRadioSystemEventDetectorObserver& aObserver ); |
83 CRadioSystemEventDetector( MRadioSystemEventDetectorObserver& aObserver ); |
89 |
84 |
90 private: // data |
85 private: // data |
91 |
86 |
92 /** Observer which will be notified of the call and network state changes*/ |
87 /** Observer which will be notified of the call and network state changes*/ |
93 MRadioSystemEventDetectorObserver& iObserver; |
88 MRadioSystemEventDetectorObserver& iObserver; |
94 |
89 |
95 /** handler to Publish & Subscribe interface*/ |
90 /** handler to Publish & Subscribe interface*/ |
96 CRadioPropertyObserver* iCallStatusObserver; |
91 CRadioPropertyObserver* iCallStatusObserver; |
97 /** handler to Publish & Subscribe interface*/ |
92 /** handler to Publish & Subscribe interface*/ |
98 CRadioPropertyObserver* iNetworkStatusObserver; |
93 CRadioPropertyObserver* iNetworkStatusObserver; |
99 /** handler to Publish & Subscribe interface*/ |
94 /** handler to Publish & Subscribe interface*/ |
100 CRadioPropertyObserver* iVoiceUiObserver; |
95 CRadioPropertyObserver* iAudioPolicyObserver; |
101 /** handler to Publish & Subscribe interface*/ |
|
102 CRadioPropertyObserver* iAudioPolicyObserver; |
|
103 |
96 |
104 /**Indicator for the mobile network status*/ |
97 /**Indicator for the mobile network status*/ |
105 TBool iIsMobileNetworkCoverage; |
98 TBool iIsMobileNetworkCoverage; |
106 |
|
107 /**Indicator for the wlan network status*/ |
|
108 TBool iIsWlanCoverage; |
|
109 |
99 |
110 /**Indicator for the call status*/ |
100 /**Indicator for the call status*/ |
111 TBool iIsCallActive; |
101 TBool iIsCallActive; |
112 |
102 |
113 /** Array of audio policy categories that VR must not resume after. */ |
103 /** Array of audio policy categories that VR must not resume after. */ |
114 RArray<TInt> iNoAutoResumeAudioCategories; |
104 RArray<TInt> iNoAutoResumeAudioCategories; |
115 |
105 |
116 /** Indicator for audio resource status. */ |
106 /** Indicator for audio resource status. */ |
117 TBool iIsAudioResourcesAvailable; |
107 TBool iIsAudioResourcesAvailable; |
118 |
|
119 /** Indicator for Voice UI status. */ |
|
120 TBool iIsVoiceUiActive; |
|
121 |
108 |
122 }; |
109 }; |
123 |
110 |
124 #endif // CRADIOSYSTEMEVENTDETECTOR_H |
111 #endif // CRADIOSYSTEMEVENTDETECTOR_H |