radioengine/utils/inc/cradiosystemeventdetector.h
changeset 28 075425b8d9a4
parent 13 46974bebc798
child 38 f8c3d4e6102c
equal deleted inserted replaced
24:6df133bd92e1 28:075425b8d9a4
    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