uifw/AvKon/tsrc/bc/S60_SDK3.0/bctestcmdlg/inc/bctestcmdlgview.h
changeset 0 2f259fa3e83a
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/uifw/AvKon/tsrc/bc/S60_SDK3.0/bctestcmdlg/inc/bctestcmdlgview.h	Tue Feb 02 01:00:49 2010 +0200
@@ -0,0 +1,103 @@
+/*
+* Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description:  Test BC for Template control API.
+*
+*/
+
+
+#ifndef BCTEST_CMDLG_VIEW_H
+#define BCTEST_CMDLG_VIEW_H
+
+#include <aknview.h>
+
+const TUid KBCTestCmDlgViewId = { 1 };
+
+class CBCTestCmDlgContainer;
+class CBCTestUtil;
+
+/**
+ *  Application UI class
+ *
+ *  @lib bctestutil.lib
+ */
+class CBCTestCmDlgView : public CAknView
+    {
+public: // Constructors and destructor
+
+    /**
+     * Symbian static 2nd constructor
+     */
+    static CBCTestCmDlgView* NewL();
+    
+    /**
+     * dtor
+     */
+    virtual ~CBCTestCmDlgView();
+
+public: // from CAknView
+    
+    /**
+     * Return view Id.
+     */
+    TUid Id() const;
+    
+    /**
+    * From CAknView, HandleCommandL.
+    * @param aCommand Command to be handled.
+    */
+    void HandleCommandL( TInt aCommand );
+    
+protected: // from CAknView
+    
+    /**
+     * When view is activated, do something
+     */
+    void DoActivateL( const TVwsViewId&, TUid, const TDesC8& );
+    
+    /**
+     * When view is deactivated, do something
+     */
+    void DoDeactivate();
+
+private: // constructor
+
+    /**
+     * C++ default constructor
+     */
+    CBCTestCmDlgView();
+
+    /**
+     * symbian 2nd ctor
+     */
+    void ConstructL();
+
+private: // data
+
+    /**
+     * pointor to the BC Test framework utility.
+     * own
+     */
+    CBCTestUtil*  iTestUtil;
+
+    /**
+     * pointor to the container.
+     * own
+     */
+    CBCTestCmDlgContainer*  iContainer;
+
+    };
+
+#endif // BCTEST_CMDLG_VIEW_H
+
+// End of File