uiacceltk/hitchcock/coretoolkit/inc/HuiFxEffect.h
changeset 21 6ce30188c5bf
parent 19 f5bac0badc7e
child 29 ac3859d43844
--- a/uiacceltk/hitchcock/coretoolkit/inc/HuiFxEffect.h	Mon May 03 13:22:43 2010 +0300
+++ b/uiacceltk/hitchcock/coretoolkit/inc/HuiFxEffect.h	Fri May 14 16:46:13 2010 +0300
@@ -74,6 +74,17 @@
  */
 const TInt KHuiFxReadyAndWaitingGroupToStartSyncronized = 0x800;
 
+/**
+ * This applies only to group effects. Visual has drawn one frame after the 
+ * effect was added to the visual.
+ */
+const TInt KHuiReadyToDrawNotified = 0x1000;
+
+/**
+ * Effect observer has been called once. 
+ */
+const TInt KHuiEffectObserverNotified = 0x2000;
+
 class MAlfGfxEffectObserver
     {
     public:
@@ -96,7 +107,15 @@
     IMPORT_C TBool VisualArea(TRect& aRect) const;
     IMPORT_C TBool Changed();
     IMPORT_C void SetEffectEndObserver( MAlfGfxEffectObserver* aEffectEndObserver, TInt aHandle );
-    void NotifyEffectEndObserver();
+
+    /**
+	 * NotifyEffectEndObserver
+	 *
+	 * @return	ETrue, if effect observer was notified.
+	 *			EFalse, if effect does not have observer, but other notification is required (alf application
+	 *                  effects.
+	 */
+    TBool NotifyEffectEndObserver();
 
     IMPORT_C TBool IsAnimated() const;
     IMPORT_C TBool IsTransformed() const;
@@ -191,7 +210,6 @@
 	
     TInt iFramesDrawn;
     TReal32 iElapsedTime;
-    TBool iNotifiedEffectReady;
     };
 
 #endif /*HUIFXEFFECT_H_*/