tvout/tvoutengine/inc/glxhdmicontroller.h
changeset 43 72396548277c
parent 42 5e1df1b52eb3
child 52 a3a4c0de738e
--- a/tvout/tvoutengine/inc/glxhdmicontroller.h	Mon May 17 13:35:26 2010 +0530
+++ b/tvout/tvoutengine/inc/glxhdmicontroller.h	Fri May 28 21:11:54 2010 +0530
@@ -33,7 +33,7 @@
      * NewLC 
      * @param1 - Image file path default to NULL
      */
-    IMPORT_C static CGlxHdmiController* NewL();
+    IMPORT_C static CGlxHdmiController* NewL(TBool aEfectsOn = EFalse);
 
     /*
      * Destructor
@@ -71,11 +71,18 @@
      */
     IMPORT_C void ShiftToPostingMode();
 
+    /*
+     * Fadeing of the Surface
+     * @param1 ETrue - FadeIn ( as in gaining brightness )
+     *         EFalse - FadeOut ( as in loosing brightness ) 
+     */
+    IMPORT_C void FadeSurface(TBool aFadeInOut);
+    
 private:
     /*
      * Constructor
      */
-    CGlxHdmiController();
+    CGlxHdmiController(TBool aEfectsOn);
     
     /*
      * ConstructL 
@@ -116,6 +123,7 @@
     CGlxHdmiContainer*      iHdmiContainer;
     CGlxHdmiSurfaceUpdater* iSurfaceUpdater;
     TBool   iIsImageSupported;          // Flag to see if Image is supported
+    TBool   iEffectsOn;
     };
 
 #endif /* GLXHDMICONTROLLER_H_ */