63 * Standard C++ constructor |
57 * Standard C++ constructor |
64 */ |
58 */ |
65 CGlxTvConnectionMonitor( |
59 CGlxTvConnectionMonitor( |
66 MGlxTvConnectionObserver& aConnectionObserver); |
60 MGlxTvConnectionObserver& aConnectionObserver); |
67 |
61 |
68 /* |
62 /** |
69 * Symbian second stage construction |
63 * Symbian second stage construction |
70 */ |
64 */ |
71 void ConstructL(); |
65 void ConstructL(); |
72 |
66 |
73 public: // class member functions |
67 public: // class member functions |
74 |
68 |
75 /* |
69 /** |
76 * Provides the caller with the current TV connetion state |
70 * Provides the caller with the current TV connetion state |
77 * @return The TV connection state |
71 * @return The TV connection state |
78 */ |
72 */ |
79 TBool IsConnected() const; |
73 TBool IsConnected() const; |
80 |
74 |
81 /* |
75 /** |
82 * Provides the caller with the current HDMI connetion state |
76 * Provides the caller with the current HDMI connetion state |
83 * @return The HDMI connection state |
77 * @return The HDMI connection state |
84 */ |
78 */ |
85 TBool IsHDMIConnected() const; |
79 TBool IsHDMIConnected() const; |
86 |
80 |
118 */ |
112 */ |
119 void UpdateConnectionStatusL(); |
113 void UpdateConnectionStatusL(); |
120 |
114 |
121 private: // class member data |
115 private: // class member data |
122 |
116 |
123 // Not owned: TV connection observer |
117 /// Not owned: TV connection observer |
124 MGlxTvConnectionObserver& iConnectionObserver; |
118 MGlxTvConnectionObserver& iConnectionObserver; |
125 |
119 |
126 // TVout The Connection state |
120 /// TVout The Connection state |
127 TBool iIsTvOutConnected; |
121 TBool iIsTvOutConnected; |
128 |
122 |
129 // TVout The Connection state |
123 /// TVout The Connection state |
130 TBool iIsHDMIConnected; |
124 TBool iIsHDMIConnected; |
131 |
125 |
132 // Headset The Connection state |
126 /// Headset The Connection state |
133 TBool iIsHeadSetConnected; |
127 TBool iIsHeadSetConnected; |
134 |
128 |
135 // The (external device) Accessory Server |
129 /// The (external device) Accessory Server |
136 RAccessoryServer iTvAccServer; |
130 RAccessoryServer iTvAccServer; |
137 |
131 |
138 // Accessory mode |
132 /// Accessory mode |
139 RAccessoryMode iTvAccMode; |
133 RAccessoryMode iTvAccMode; |
140 |
134 |
141 // Accessory Connection - details the type of accessory |
135 /// Accessory Connection - details the type of accessory |
142 RAccessoryConnection iTvAccCon; |
136 RAccessoryConnection iTvAccCon; |
143 |
137 |
144 //Class gives Generic ID |
138 ///Class gives Generic ID |
145 TAccPolGenericIDArray iCurrentAccArray; |
139 TAccPolGenericIDArray iCurrentAccArray; |
146 }; |
140 }; |
147 |
141 |
148 |
142 |
149 #endif // __GLX_WNDWCONNECTION_MONITOR_H__ |
143 #endif // __GLX_WNDWCONNECTION_MONITOR_H__ |