diff -r 000000000000 -r bde4ae8d615e os/textandloc/fontservices/textshaperplugin/test/S60HindiDemo/inc/HindiDemoview.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/os/textandloc/fontservices/textshaperplugin/test/S60HindiDemo/inc/HindiDemoview.h Fri Jun 15 03:10:57 2012 +0200 @@ -0,0 +1,92 @@ +/* +* Copyright (c) 2005-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: +* Series 60 version of Hindi Demo application +* +*/ + + + +#ifndef __HINDIDEMO_VIEW_H__ +#define __HINDIDEMO_VIEW_H__ + +#include +#include "HindiDemo.hrh" + +// ----------------------------------------------------------------------- +// Forward ref. to container class +// ----------------------------------------------------------------------- +class CHindiDemoContainer; + + +// ----------------------------------------------------------------------- +// CHindiDemoView +// ----------------------------------------------------------------------- +class CHindiDemoView : public CAknView +{ + public: + + // ----------------------------------------------------------------------- + // Creates a CHindiDemoView object + // ----------------------------------------------------------------------- + static CHindiDemoView* NewL(); + + // ----------------------------------------------------------------------- + // Creates a CHindiDemoView object + // ----------------------------------------------------------------------- + static CHindiDemoView* NewLC(); + + // ----------------------------------------------------------------------- + // Identify of this view to the system + // ----------------------------------------------------------------------- + TUid Id() const; + + // ----------------------------------------------------------------------- + // Command Handler + // ----------------------------------------------------------------------- + void HandleCommandL(TInt aCommand); + + // ----------------------------------------------------------------------- + // Activates this View + // ----------------------------------------------------------------------- + void DoActivateL(const TVwsViewId &aPrevViewId, TUid aCustomMessageId, const TDesC8& aCustomMessage); + + // ----------------------------------------------------------------------- + // Deactivate this view + // ----------------------------------------------------------------------- + void DoDeactivate(); + + private: + CHindiDemoView(); + ~CHindiDemoView(); + + // ----------------------------------------------------------------------- + // Performs second phase construction of this view + // ----------------------------------------------------------------------- + void ConstructL(); + + // ----------------------------------------------------------------------- + // Container for this view + // ----------------------------------------------------------------------- + CHindiDemoContainer* iContainer; + + // ----------------------------------------------------------------------- + // Identifier for this view + // ----------------------------------------------------------------------- + TUid iIdentifier; +}; + + +#endif // __HINDIDEMO_VIEW_H__ +