equal
deleted
inserted
replaced
17 |
17 |
18 #ifndef GLXHDMICONTROLLER_H_ |
18 #ifndef GLXHDMICONTROLLER_H_ |
19 #define GLXHDMICONTROLLER_H_ |
19 #define GLXHDMICONTROLLER_H_ |
20 |
20 |
21 // Internal includes |
21 // Internal includes |
22 #include <mglxtvobserver.h> // for inteface MGlxTvObserver |
|
23 |
22 |
24 class CGlxHdmiContainer; |
23 class CGlxHdmiContainer; |
25 class CGlxHdmiSurfaceUpdater; |
24 class CGlxHdmiSurfaceUpdater; |
26 class CGlxTv; |
|
27 |
25 |
28 /* |
26 /* |
29 * This class will be called from FS and Slideshow for its requirements |
27 * This class will be called from FS and Slideshow for its requirements |
30 */ |
28 */ |
31 class CGlxHdmiController : public CBase, |
29 class CGlxHdmiController : public CBase |
32 public MGlxTvObserver // for TV Out |
|
33 { |
30 { |
34 public: |
31 public: |
35 /* |
32 /* |
36 * NewLC |
33 * NewLC |
37 * @param1 - Image file path default to NULL |
34 * @param1 - Image file path default to NULL |
71 |
68 |
72 /* |
69 /* |
73 * ShiftToPostingMode |
70 * ShiftToPostingMode |
74 */ |
71 */ |
75 IMPORT_C void ShiftToPostingMode(); |
72 IMPORT_C void ShiftToPostingMode(); |
76 |
|
77 /* |
|
78 * Tells if HDMi is Connected. |
|
79 */ |
|
80 IMPORT_C TBool IsHDMIConnected(); |
|
81 |
|
82 private:// From MGlxTvObserver |
|
83 void HandleTvStatusChangedL ( TTvChangeType aChangeType ); |
|
84 |
73 |
85 private: |
74 private: |
86 /* |
75 /* |
87 * Constructor |
76 * Constructor |
88 */ |
77 */ |
124 CFbsBitmap* iFsBitmap; |
113 CFbsBitmap* iFsBitmap; |
125 HBufC* iStoredImagePath; |
114 HBufC* iStoredImagePath; |
126 |
115 |
127 CGlxHdmiContainer* iHdmiContainer; |
116 CGlxHdmiContainer* iHdmiContainer; |
128 CGlxHdmiSurfaceUpdater* iSurfaceUpdater; |
117 CGlxHdmiSurfaceUpdater* iSurfaceUpdater; |
129 CGlxTv* iGlxTvOut; |
|
130 TBool iIsImageSupported; // Flag to see if Image is supported |
118 TBool iIsImageSupported; // Flag to see if Image is supported |
131 TBool iIsPostingMode; // Flag for determining if the image needs to be in posting mode |
|
132 }; |
119 }; |
133 |
120 |
134 #endif /* GLXHDMICONTROLLER_H_ */ |
121 #endif /* GLXHDMICONTROLLER_H_ */ |