videoplayback/videoplaybackview/tsrc/testmpxvideoviewwrapper/stub/inc/videoplaybackuserinputhandler.h
equal
deleted
inserted
replaced
13 * |
13 * |
14 * Description: Implementation of VideoPlaybackUserInputHandler |
14 * Description: Implementation of VideoPlaybackUserInputHandler |
15 * |
15 * |
16 */ |
16 */ |
17 |
17 |
18 // Version : %version: 5 % |
18 // Version : %version: 6 % |
19 |
19 |
20 |
20 |
21 |
21 |
22 #ifndef VIDEOPLAYBACKUSERINPUTHANDLER_H_ |
22 #ifndef VIDEOPLAYBACKUSERINPUTHANDLER_H_ |
23 #define VIDEOPLAYBACKUSERINPUTHANDLER_H_ |
23 #define VIDEOPLAYBACKUSERINPUTHANDLER_H_ |
36 |
36 |
37 /** |
37 /** |
38 * Two-phased constructor. |
38 * Two-phased constructor. |
39 */ |
39 */ |
40 IMPORT_C static CVideoPlaybackUserInputHandler* NewL( |
40 IMPORT_C static CVideoPlaybackUserInputHandler* NewL( |
41 CMPXVideoViewWrapper* aWrapper, TBool aTvOutConnected ); |
41 CMPXVideoViewWrapper* aWrapper ); |
42 |
42 |
43 /** |
43 /** |
44 * Destructor. |
44 * Destructor. |
45 */ |
45 */ |
46 IMPORT_C virtual ~CVideoPlaybackUserInputHandler(); |
46 IMPORT_C virtual ~CVideoPlaybackUserInputHandler(); |
53 CVideoPlaybackUserInputHandler( CMPXVideoViewWrapper* aWrapper ); |
53 CVideoPlaybackUserInputHandler( CMPXVideoViewWrapper* aWrapper ); |
54 |
54 |
55 /** |
55 /** |
56 * Symbian 2nd phase constructor. |
56 * Symbian 2nd phase constructor. |
57 */ |
57 */ |
58 void ConstructL( TBool aTvOutConnected ); |
58 void ConstructL(); |
59 |
59 |
60 public: |
60 public: |
61 void ProcessKeyEventL( const TKeyEvent& aKeyEvent, TEventCode aType ); |
61 void ProcessKeyEventL( const TKeyEvent& aKeyEvent, TEventCode aType ); |
62 |
62 |
63 void SetForeground( TBool aForeground ); |
63 void SetForeground( TBool aForeground ); |
64 |
64 |
65 void HandleTVOutEventL(TBool aTVOutConnected); |
65 void HandleTVOutEventL(TBool aTVOutConnected); |
66 |
66 |
67 private: |
67 private: |
68 TBool iTVOutConnected; // Flag to indicate if TV is connected |
68 TBool iTVOutConnected; // Flag to indicate if TV is connected |
69 TBool iForeground; |
69 TBool iForeground; |
70 CMPXVideoViewWrapper* iViewWrapper; |
70 CMPXVideoViewWrapper* iViewWrapper; |
71 }; |
71 }; |
72 |
72 |
73 |
|
74 #endif /*VIDEOPLAYBACKUSERINPUTHANDLER_H_*/ |
73 #endif /*VIDEOPLAYBACKUSERINPUTHANDLER_H_*/ |
75 |
74 |
76 // End of File |
75 // End of File |