os/textandloc/fontservices/textshaperplugin/test/S60HindiDemo/inc/HindiDemoappui.h
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/os/textandloc/fontservices/textshaperplugin/test/S60HindiDemo/inc/HindiDemoappui.h Fri Jun 15 03:10:57 2012 +0200
1.3 @@ -0,0 +1,88 @@
1.4 +/*
1.5 +* Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
1.6 +* All rights reserved.
1.7 +* This component and the accompanying materials are made available
1.8 +* under the terms of "Eclipse Public License v1.0"
1.9 +* which accompanies this distribution, and is available
1.10 +* at the URL "http://www.eclipse.org/legal/epl-v10.html".
1.11 +*
1.12 +* Initial Contributors:
1.13 +* Nokia Corporation - initial contribution.
1.14 +*
1.15 +* Contributors:
1.16 +*
1.17 +* Description:
1.18 +* Series 60 version of Hindi Demo application
1.19 +*
1.20 +*/
1.21 +
1.22 +
1.23 +
1.24 +#ifndef __HINDIDEMO_APPUI_H__
1.25 +#define __HINDIDEMO_APPUI_H__
1.26 +
1.27 +#include <aknViewAppUi.h>
1.28 +
1.29 +#include "HindiDemo.hrh"
1.30 +
1.31 +#ifdef WITH_TAB_GROUP
1.32 +#include <akntabgrp.h>
1.33 +#include <aknnavide.h>
1.34 +#endif
1.35 +
1.36 +#include "HindiDemo.h"
1.37 +
1.38 +// -----------------------------------------------------------------------
1.39 +// View classes forward references
1.40 +// -----------------------------------------------------------------------
1.41 +class CHindiDemoView;
1.42 +class CMainViewView ;
1.43 +
1.44 +// -----------------------------------------------------------------------
1.45 +// CHindiDemoAppUi
1.46 +// -----------------------------------------------------------------------
1.47 +class CHindiDemoAppUi : public CAknViewAppUi
1.48 +{
1.49 + // -----------------------------------------------------------------------
1.50 + // Performs view construction
1.51 + // -----------------------------------------------------------------------
1.52 + void InitViewsL();
1.53 +
1.54 +public:
1.55 + // -----------------------------------------------------------------------
1.56 + // Performs second phase construction of this AppUi Object
1.57 + // -----------------------------------------------------------------------
1.58 + void ConstructL();
1.59 +
1.60 + virtual ~CHindiDemoAppUi();
1.61 +
1.62 + // -----------------------------------------------------------------------
1.63 + // Handles user menu selection
1.64 + // -----------------------------------------------------------------------
1.65 + void HandleCommandL(TInt aCommand);
1.66 +
1.67 + //
1.68 + // Routine that dispatches Command events to individual handlers
1.69 + //
1.70 + bool DispatchAppUICommandEvents(TInt aCommand);
1.71 +
1.72 +#ifdef WITH_TAB_GROUP
1.73 + virtual TKeyResponse HandleKeyEventL(const TKeyEvent& aKeyEvent,TEventCode aType);
1.74 +#endif
1.75 +
1.76 +private:
1.77 +#ifdef WITH_TAB_GROUP
1.78 + CAknNavigationControlContainer* iNaviPane;
1.79 + CAknTabGroup* iTabGroup;
1.80 + CAknNavigationDecorator* iDecoratedTabGroup;
1.81 +#endif
1.82 +
1.83 + CHindiDemoView * iHindiDemoView;
1.84 + CMainViewView * iMainViewView;
1.85 +
1.86 +private:
1.87 +};
1.88 +
1.89 +
1.90 +#endif // __HINDIDEMO_APPUI_H__
1.91 +