equal
deleted
inserted
replaced
13 * |
13 * |
14 * Description: This class observes the accessory framework. |
14 * Description: This class observes the accessory framework. |
15 * |
15 * |
16 */ |
16 */ |
17 |
17 |
18 // Version : %version: 6 % |
18 // Version : %version: 7 % |
19 |
19 |
20 |
20 |
21 |
21 |
22 #ifndef MPXVIDEOACCESSORYOBSERVER_H |
22 #ifndef MPXVIDEOACCESSORYOBSERVER_H |
23 #define MPXVIDEOACCESSORYOBSERVER_H |
23 #define MPXVIDEOACCESSORYOBSERVER_H |
62 * @return the cable connection status |
62 * @return the cable connection status |
63 * ETrue cable is connected. |
63 * ETrue cable is connected. |
64 * EFalse cable is not connected. |
64 * EFalse cable is not connected. |
65 */ |
65 */ |
66 TBool IsTvOutConnected(); |
66 TBool IsTvOutConnected(); |
67 |
|
68 /* |
|
69 * Returns if the playback is allowed when the TV-Out cable is connected |
|
70 * @return playback is allowed |
|
71 * ETrue playback is allowed. |
|
72 * EFalse playback is not allowed. |
|
73 */ |
|
74 TBool IsTvOutPlaybackAllowed(); |
|
75 |
67 |
76 private: |
68 private: |
77 |
69 |
78 /* |
70 /* |
79 * From CActive |
71 * From CActive |
131 |
123 |
132 private: |
124 private: |
133 |
125 |
134 CMPXVideoPlaybackController* iController; |
126 CMPXVideoPlaybackController* iController; |
135 TBool iTvOutConnected; |
127 TBool iTvOutConnected; |
136 TBool iTvOutPlaybackAllowed; |
|
137 |
128 |
138 #ifdef __ACCESSORY_FW |
129 #ifdef __ACCESSORY_FW |
139 RAccessoryServer iServer; |
130 RAccessoryServer iServer; |
140 RAccessoryConnection iConnection; |
131 RAccessoryConnection iConnection; |
141 TAccPolGenericIDArray iGenericIdArray; |
132 TAccPolGenericIDArray iGenericIdArray; |