diff -r 000000000000 -r bde4ae8d615e os/textandloc/fontservices/textshaperplugin/test/S60HindiDemo/inc/HindiDemoappui.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/os/textandloc/fontservices/textshaperplugin/test/S60HindiDemo/inc/HindiDemoappui.h Fri Jun 15 03:10:57 2012 +0200 @@ -0,0 +1,88 @@ +/* +* 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_APPUI_H__ +#define __HINDIDEMO_APPUI_H__ + +#include + +#include "HindiDemo.hrh" + +#ifdef WITH_TAB_GROUP +#include +#include +#endif + +#include "HindiDemo.h" + +// ----------------------------------------------------------------------- +// View classes forward references +// ----------------------------------------------------------------------- +class CHindiDemoView; +class CMainViewView ; + +// ----------------------------------------------------------------------- +// CHindiDemoAppUi +// ----------------------------------------------------------------------- +class CHindiDemoAppUi : public CAknViewAppUi +{ + // ----------------------------------------------------------------------- + // Performs view construction + // ----------------------------------------------------------------------- + void InitViewsL(); + +public: + // ----------------------------------------------------------------------- + // Performs second phase construction of this AppUi Object + // ----------------------------------------------------------------------- + void ConstructL(); + + virtual ~CHindiDemoAppUi(); + + // ----------------------------------------------------------------------- + // Handles user menu selection + // ----------------------------------------------------------------------- + void HandleCommandL(TInt aCommand); + + // + // Routine that dispatches Command events to individual handlers + // + bool DispatchAppUICommandEvents(TInt aCommand); + +#ifdef WITH_TAB_GROUP + virtual TKeyResponse HandleKeyEventL(const TKeyEvent& aKeyEvent,TEventCode aType); +#endif + +private: +#ifdef WITH_TAB_GROUP + CAknNavigationControlContainer* iNaviPane; + CAknTabGroup* iTabGroup; + CAknNavigationDecorator* iDecoratedTabGroup; +#endif + + CHindiDemoView * iHindiDemoView; + CMainViewView * iMainViewView; + +private: +}; + + +#endif // __HINDIDEMO_APPUI_H__ +