diff -r 5cc91383ab1e -r 7333d7932ef7 installationservices/swi/test/testexes/interpretsis_testcase/interpretsis_testcase.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/installationservices/swi/test/testexes/interpretsis_testcase/interpretsis_testcase.h Tue Aug 31 15:21:33 2010 +0300 @@ -0,0 +1,117 @@ +// Copyright (c) 2009 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: +// HelloWorld +// The class definitions for the simple example application +// containing a single view with the text "Hello World !" drawn +// on it. +// The class definitions are: +// CExampleApplication +// CExampleAppUi +// CExampleAppView +// CExampleDocument +// + +#ifndef __HELLOWORLD_H +#define __HELLOWORLD_H + +#include + +#include +#include +#include +#include +#include + +#include + +#include +#include "interpretsis_testcase.hrh" + + + +// +// +// CExampleApplication +// +// + +class CExampleApplication : public CEikApplication + { +private: + // Inherited from class CApaApplication + CApaDocument* CreateDocumentL(); + TUid AppDllUid() const; + }; + +// +// +// CExampleAppView +// +// +class CExampleAppView : public CCoeControl + { +public: + static CExampleAppView* NewL(const TRect& aRect); + CExampleAppView(); + ~CExampleAppView(); + void ConstructL(const TRect& aRect); + +private: + // Inherited from CCoeControl + void Draw(const TRect& /*aRect*/) const; + +private: + HBufC* iExampleText; + }; + + +// +// +// CExampleAppUi +// +// +class CExampleAppUi : public CEikAppUi + { +public: + void ConstructL(); + ~CExampleAppUi(); + +private: + // Inherirted from class CEikAppUi + void HandleCommandL(TInt aCommand); + +private: + CCoeControl* iAppView; + }; + + +// +// +// CExampleDocument +// +// +class CExampleDocument : public CEikDocument + { +public: + static CExampleDocument* NewL(CEikApplication& aApp); + CExampleDocument(CEikApplication& aApp); + void ConstructL(); +private: + // Inherited from CEikDocument + CEikAppUi* CreateAppUiL(); + }; + + +#endif +