uifw/AvKon/tsrc/bc/bctestdom3.2/bctestdomaiwakn/inc/bctestdomaknanimview.h
changeset 0 2f259fa3e83a
child 23 3d340a0166ff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/uifw/AvKon/tsrc/bc/bctestdom3.2/bctestdomaiwakn/inc/bctestdomaknanimview.h	Tue Feb 02 01:00:49 2010 +0200
@@ -0,0 +1,144 @@
+/*
+* ============================================================================
+*  Name        : bctestdomaknanimview.h
+*  Part of     : BCTest / bctestdomaiwakn       
+*  Description : for testing APIs of CAknAnimatedView
+*  Version     : %version: 1 % << Don't touch! Updated by Synergy at check-out.
+*
+*  Copyright © 2007.  All rights reserved.
+*  This material, including documentation and any related computer
+*  programs, is protected by copyright controlled by Nokia.  All
+*  rights are reserved.  Copying, including reproducing, storing,
+*  adapting or translating, any or all of this material requires the
+*  prior written consent of Nokia.  This material also contains
+*  confidential information which may not be disclosed to others
+*  without the prior written consent of Nokia.
+* ============================================================================
+* Template version: 4.2
+*/
+
+#ifndef C_BCTESTDOMAKNANIMATEDVIEW_H
+#define C_BCTESTDOMAKNANIMATEDVIEW_H
+
+#include <aknanimview.h>
+
+const TUid KBCTestAknAnimatedViewId = { 2 };
+ 
+/**
+ *  CBCTestDomAknAnimatedView class
+ *  
+ *
+ *  @code
+ *    
+ *  @endcode
+ *
+ *  @lib   
+ *  @since S60 v5.0
+ */  
+class CBCTestDomAknAnimatedView : public CAknAnimatedView
+    {
+public:  
+    /**
+     * Symbian static 2nd constructor
+     */
+    static CBCTestDomAknAnimatedView* NewLC( );
+    
+    /**
+     * destructor
+     */
+    virtual ~CBCTestDomAknAnimatedView();
+
+// from base classes from CAknView
+
+    /**
+     * From CAknView.
+     * Return view Id.
+     *
+     * @since S60 v5.0       
+     * @return  view Uid value
+     */
+    TUid Id() const;
+    
+    /**
+     * From CAknView.
+     * HandleCommandL.
+     *
+     * @since S60 v5.0      
+     * @param aCommand Command to be handled.
+     */
+    void HandleCommandL( TInt aCommand );
+    
+// from base classes from CAknAnimatedView.    
+
+    /**
+     * From CAknAnimatedView.     
+     * AknViewActivatedL
+     *
+     * @since S60 v5.0       
+     * @param aPrevViewId The id of the previous view
+     * @param aCustomMessageId message identifier
+     * @param aCustomMessage custom message provided when the view is changed
+     */
+	IMPORT_C virtual void AknViewActivatedL(
+	    const TVwsViewId& aPrevViewId,
+	    TUid aCustomMessageId,
+	    const TDesC8& aCustomMessage );
+	    
+    /**
+     * From CAknAnimatedView.     
+     * PreAnimateSetup
+     *
+     * @since S60 v5.0       
+     */	    
+	IMPORT_C virtual void PreAnimateSetup();
+
+    /**
+     * From CAknAnimatedView.     
+     * PreAnimateSetup
+     *
+     * @since S60 v5.0       
+     */		
+	IMPORT_C virtual void PostAnimateSetup();	
+	    
+protected:  
+
+// from base classes from CAknView    
+
+    /**
+     * From CAknView.     
+     * DoActivateL
+     *
+     * @since S60 v5.0       
+     * @param aPrevViewId The id of the previous view
+     * @param aCustomMessageId message identifier
+     * @param aCustomMessage custom message provided when the view is changed
+     */
+     void DoActivateL( const TVwsViewId& aPrevViewId,
+                       TUid aCustomMessageId,
+                       const TDesC8& aCustomMessage );
+    
+    /**
+     * From CAknView.
+     * When view is deactivated, do something.
+     *
+     * @since S60 v5.0      
+     */         
+    void DoDeactivate();
+
+private:  
+
+    /**
+     * C++ default constructor
+     */
+    CBCTestDomAknAnimatedView();
+
+    /**
+     * symbian 2nd constructor
+     */
+    void ConstructL(); 
+
+    };
+
+#endif // C_BCTESTDOMAKNANIMATEDVIEW_H
+
+// End of File