equal
deleted
inserted
replaced
44 IMPORT_C ~CGlxHdmiController(); |
44 IMPORT_C ~CGlxHdmiController(); |
45 |
45 |
46 /* |
46 /* |
47 * Update Image |
47 * Update Image |
48 * @param1 - Image file path |
48 * @param1 - Image file path |
49 * @param2 - Image dimensions |
|
50 * @param3 - frame count |
|
51 */ |
49 */ |
52 IMPORT_C void SetImageL(const TDesC& aImageFile,TSize aImageDimensions, |
50 IMPORT_C void SetImageL(const TDesC& aImageFile, TBool aStore = ETrue); |
53 TInt aFrameCount = 1, TBool aStore = ETrue); |
|
54 |
51 |
55 /* |
52 /* |
56 * To Determine it is a video and not image |
53 * To intimate that the item is not supported. |
57 */ |
54 */ |
58 IMPORT_C void IsVideo(); |
55 IMPORT_C void ItemNotSupported(); |
59 |
56 |
60 /* |
57 /* |
61 * Activating zoom in posting mode |
58 * Activating zoom in posting mode |
62 */ |
59 */ |
63 IMPORT_C void ActivateZoom(); |
60 IMPORT_C void ActivateZoom(TBool aAutoZoomOut); |
64 /* |
61 /* |
65 * Deactivating zoom in posting mode |
62 * Deactivating zoom in posting mode |
66 */ |
63 */ |
67 IMPORT_C void DeactivateZoom(); |
64 IMPORT_C void DeactivateZoom(); |
68 |
65 |
73 |
70 |
74 /* |
71 /* |
75 * ShiftToPostingMode |
72 * ShiftToPostingMode |
76 */ |
73 */ |
77 IMPORT_C void ShiftToPostingMode(); |
74 IMPORT_C void ShiftToPostingMode(); |
|
75 |
|
76 /* |
|
77 * Tells if HDMi is Connected. |
|
78 */ |
|
79 IMPORT_C TBool IsHDMIConnected(); |
78 |
80 |
79 private:// From MGlxTvObserver |
81 private:// From MGlxTvObserver |
80 virtual void HandleTvStatusChangedL ( TTvChangeType aChangeType ); |
82 virtual void HandleTvStatusChangedL ( TTvChangeType aChangeType ); |
81 |
83 |
82 private: |
84 private: |
95 */ |
97 */ |
96 void CreateHdmiContainerL(); |
98 void CreateHdmiContainerL(); |
97 |
99 |
98 /* |
100 /* |
99 * Create surface updater and update background surface |
101 * Create surface updater and update background surface |
100 * @param1 - Image file |
102 * @param1 - Image file |
101 * @param2 - Image dimensions |
|
102 * @param3 - framecount |
|
103 */ |
103 */ |
104 void CreateSurfaceUpdaterL(const TDesC& aImageFile, TSize aImageDimensions, |
104 void CreateSurfaceUpdaterL(const TDesC& aImageFile); |
105 TInt aFrameCount); |
|
106 |
105 |
107 /* |
106 /* |
108 * To Destroy the surface updater if present |
107 * To Destroy the surface updater if present |
109 */ |
108 */ |
110 void DestroySurfaceUpdater(); |
109 void DestroySurfaceUpdater(); |
113 * Detroy the container |
112 * Detroy the container |
114 */ |
113 */ |
115 void DestroyContainer(); |
114 void DestroyContainer(); |
116 |
115 |
117 /* |
116 /* |
118 * |
117 * Stores the Image File name |
|
118 * @param1 - Image file |
119 */ |
119 */ |
120 void StoreImageInfoL(const TDesC& aImageFile, |
120 void StoreImageInfoL(const TDesC& aImageFile); |
121 TSize aImageDimensions, TInt aFrameCount); |
|
122 |
121 |
123 private: |
122 private: |
124 HBufC* iStoredImagePath; |
123 HBufC* iStoredImagePath; |
125 TSize iImageDimensions; |
124 |
126 TInt iFrameCount; |
|
127 |
|
128 CGlxHdmiContainer* iHdmiContainer; |
125 CGlxHdmiContainer* iHdmiContainer; |
129 CGlxHdmiSurfaceUpdater* iSurfaceUpdater; |
126 CGlxHdmiSurfaceUpdater* iSurfaceUpdater; |
130 CGlxTv* iGlxTvOut; |
127 CGlxTv* iGlxTvOut; |
131 TBool iIsImageSupported; |
128 TBool iIsImageSupported; |
132 TBool iIsPostingMode; |
129 TBool iIsPostingMode; |