diff -r 000000000000 -r 2f259fa3e83a classicui_pub/grids_api/tsrc/inc/testsdkgridsview.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/classicui_pub/grids_api/tsrc/inc/testsdkgridsview.h Tue Feb 02 01:00:49 2010 +0200 @@ -0,0 +1,95 @@ +/* +* Copyright (c) 2002 - 2007 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 grids_api +* +*/ + + +#ifndef C_TESTSDKGRIDSVIEW_H +#define C_TESTSDKGRIDSVIEW_H + +/* + * Include files + */ +#include + +const TUid KBCTestGridsViewId = { 1 }; + +class CTestSDKGridsContainer; + +/** + * Application UI class + */ +class CTestSDKGridsView : public CAknView + { +public: + + /** + * Symbian static 2nd constructor + */ + static CTestSDKGridsView* NewL(); + + /** + * dtor + */ + virtual ~CTestSDKGridsView(); + + /** + * Return view Id. + */ + TUid Id() const; + + /** + * From CAknView, HandleCommandL. + * @param aCommand Command to be handled. + */ + void HandleCommandL( TInt aCommand ); + +protected: + + /** + * When view is activated, do something + */ + void DoActivateL( const TVwsViewId&, TUid, const TDesC8& ); + + /** + * When view is deactivated, do something + */ + void DoDeactivate(); + +private: + + /** + * C++ default constructor + */ + CTestSDKGridsView(); + + /** + * symbian 2nd ctor + */ + void ConstructL(); + +private: + /** + * pointor to the container. + * own + */ + CTestSDKGridsContainer* iContainer; + }; + +#endif /*TESTSDKGRIDSVIEW_H_*/ + +/* + * End file + */