phoneapp/phoneuiview/inc/cphoneviewcontroller.h
branchRCL_3
changeset 25 91c2fb4b78df
parent 17 38529f706030
child 31 ba54057fe027
--- a/phoneapp/phoneuiview/inc/cphoneviewcontroller.h	Wed Apr 14 15:56:42 2010 +0300
+++ b/phoneapp/phoneuiview/inc/cphoneviewcontroller.h	Tue Apr 27 16:37:10 2010 +0300
@@ -570,7 +570,8 @@
         /**
         * Handles transition effect.
         */
-        void HandleTransitionEffect( TPhoneTransEffectType aType );
+        void HandleTransitionEffect( TPhoneTransEffectType aType, 
+                const TUid& aAppUidEffectParam = KUidPhoneApplication );
 
         /**
         * Sets control to dialer.
@@ -625,6 +626,30 @@
          */
         TBool IsCustomDialerActive() const;
         
+        /**
+        * Checks if the effect could and should be triggered.
+        */
+        TBool CanTransEffectBeUsed( TPhoneTransEffectType aType );
+
+        /**
+        * Triggers application start effect for the application
+        * that is going to be lauched from dialer.
+        * @param aAppUid app that is launched
+        * EndTransEffect() must be called after app is launched.
+        */
+        void BeginTransEffectForAppStartFromDialerLC( const TUid& aAppUid );
+
+        /**
+        * Complete transition effect.
+        */
+        void EndTransEffect();
+        
+        /**
+         * TCleanupOperation to call EndTransEffect, if leave occurs
+         * after BeginTransEffectForAppStartFromDialerLC.
+         */
+        static void EffectCleanup(TAny* aThis );
+        
     private:    // Data
 
         CPhoneView* iPhoneView;