tvout/tvoutengine/inc/glxtvconnectionmonitor.h
changeset 33 1ee2af37811f
parent 29 2c833fc9e98f
child 36 6481344a6d67
equal deleted inserted replaced
29:2c833fc9e98f 33:1ee2af37811f
    86 
    86 
    87 
    87 
    88 private: // From CActive
    88 private: // From CActive
    89     /**
    89     /**
    90      * @ref CActive::RunL
    90      * @ref CActive::RunL
    91      */	
    91      */
    92 	void RunL();
    92 	void RunL();
    93 	
    93 
    94     /**
    94     /**
    95      * @ref CActive::DoCancel
    95      * @ref CActive::DoCancel
    96      */	
    96      */
    97 	void DoCancel();
    97 	void DoCancel();
    98     
    98 
    99     /**
    99     /**
   100      * @ref CActive::RunError
   100      * @ref CActive::RunError
   101      */    
   101      */
   102     TInt RunError( TInt aError );    
   102     TInt RunError( TInt aError );
   103     
   103 
   104     
   104 
   105 private:
   105 private:
   106 
   106 
   107     /**
   107     /**
   108      * Requests TV on/off events 
   108      * Requests TV on/off events
   109      */        
   109      */
   110     void IssueRequest();
   110     void IssueRequest();
   111 
   111 
   112     /**
   112     /**
   113      * Sends notification to observers when TV Out cable is connected
   113      * Sends notification to observers when TV Out cable is connected
   114      */      
   114      */
   115     void IssueNotificationL();
   115     void IssueNotificationL();
   116     
   116 
   117     void UpdateConnectionStatusL();
   117     /**
       
   118 	 * Updates the ConnectionState of Tv Out and HDMI
       
   119 	 */
       
   120 	void UpdateConnectionStatusL();
   118 
   121 
   119 private: // class member data
   122 private: // class member data
   120     
   123 
   121     // Not owned: TV connection observer
   124     // Not owned: TV connection observer
   122     MGlxTvConnectionObserver& iConnectionObserver;
   125     MGlxTvConnectionObserver& iConnectionObserver;
   123 
   126 
   124     // TVout The Connection state 
   127     // TVout The Connection state
   125     TBool iTvOutConnectionState;
   128     TBool iIsTvOutConnected;
   126     
   129 
   127     // TVout The Connection state 
   130     // TVout The Connection state
   128     TBool iHDMIConnectionState;
   131     TBool iIsHDMIConnected;
   129 
   132 
   130     // The (external device) Accessory Server
   133     // The (external device) Accessory Server
   131     RAccessoryServer iTvAccServer;
   134     RAccessoryServer iTvAccServer;
   132     
   135 
   133     // Accessory mode 
   136     // Accessory mode
   134     RAccessoryMode iTvAccMode;
   137     RAccessoryMode iTvAccMode;
   135 
   138 
   136     // Accessory Connection - details the type of accessory
   139     // Accessory Connection - details the type of accessory
   137     RAccessoryConnection iTvAccCon;
   140     RAccessoryConnection iTvAccCon;
   138 
   141