sl@0: /* sl@0: * Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies). sl@0: * All rights reserved. sl@0: * This component and the accompanying materials are made available sl@0: * under the terms of "Eclipse Public License v1.0" sl@0: * which accompanies this distribution, and is available sl@0: * at the URL "http://www.eclipse.org/legal/epl-v10.html". sl@0: * sl@0: * Initial Contributors: sl@0: * Nokia Corporation - initial contribution. sl@0: * sl@0: * Contributors: sl@0: * sl@0: * Description: sl@0: * Series 60 version of Hindi Demo application sl@0: * sl@0: */ sl@0: sl@0: sl@0: sl@0: #ifndef __HINDIDEMO_APPUI_H__ sl@0: #define __HINDIDEMO_APPUI_H__ sl@0: sl@0: #include sl@0: sl@0: #include "HindiDemo.hrh" sl@0: sl@0: #ifdef WITH_TAB_GROUP sl@0: #include sl@0: #include sl@0: #endif sl@0: sl@0: #include "HindiDemo.h" sl@0: sl@0: // ----------------------------------------------------------------------- sl@0: // View classes forward references sl@0: // ----------------------------------------------------------------------- sl@0: class CHindiDemoView; sl@0: class CMainViewView ; sl@0: sl@0: // ----------------------------------------------------------------------- sl@0: // CHindiDemoAppUi sl@0: // ----------------------------------------------------------------------- sl@0: class CHindiDemoAppUi : public CAknViewAppUi sl@0: { sl@0: // ----------------------------------------------------------------------- sl@0: // Performs view construction sl@0: // ----------------------------------------------------------------------- sl@0: void InitViewsL(); sl@0: sl@0: public: sl@0: // ----------------------------------------------------------------------- sl@0: // Performs second phase construction of this AppUi Object sl@0: // ----------------------------------------------------------------------- sl@0: void ConstructL(); sl@0: sl@0: virtual ~CHindiDemoAppUi(); sl@0: sl@0: // ----------------------------------------------------------------------- sl@0: // Handles user menu selection sl@0: // ----------------------------------------------------------------------- sl@0: void HandleCommandL(TInt aCommand); sl@0: sl@0: // sl@0: // Routine that dispatches Command events to individual handlers sl@0: // sl@0: bool DispatchAppUICommandEvents(TInt aCommand); sl@0: sl@0: #ifdef WITH_TAB_GROUP sl@0: virtual TKeyResponse HandleKeyEventL(const TKeyEvent& aKeyEvent,TEventCode aType); sl@0: #endif sl@0: sl@0: private: sl@0: #ifdef WITH_TAB_GROUP sl@0: CAknNavigationControlContainer* iNaviPane; sl@0: CAknTabGroup* iTabGroup; sl@0: CAknNavigationDecorator* iDecoratedTabGroup; sl@0: #endif sl@0: sl@0: CHindiDemoView * iHindiDemoView; sl@0: CMainViewView * iMainViewView; sl@0: sl@0: private: sl@0: }; sl@0: sl@0: sl@0: #endif // __HINDIDEMO_APPUI_H__ sl@0: