os/textandloc/fontservices/textshaperplugin/test/S60HindiDemo/inc/HindiDemoappui.h
author sl
Tue, 10 Jun 2014 14:32:02 +0200
changeset 1 260cb5ec6c19
permissions -rw-r--r--
Update contrib.
     1 /*
     2 * Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
     3 * All rights reserved.
     4 * This component and the accompanying materials are made available
     5 * under the terms of "Eclipse Public License v1.0"
     6 * which accompanies this distribution, and is available
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
     8 *
     9 * Initial Contributors:
    10 * Nokia Corporation - initial contribution.
    11 *
    12 * Contributors:
    13 *
    14 * Description: 
    15 * Series 60 version of Hindi Demo application
    16 *
    17 */
    18 
    19 
    20 
    21 #ifndef __HINDIDEMO_APPUI_H__
    22 #define __HINDIDEMO_APPUI_H__
    23 
    24 #include <aknViewAppUi.h>
    25 
    26 #include "HindiDemo.hrh"
    27 
    28 #ifdef WITH_TAB_GROUP
    29 #include <akntabgrp.h>
    30 #include <aknnavide.h>
    31 #endif
    32 
    33 #include "HindiDemo.h"
    34 
    35 // -----------------------------------------------------------------------
    36 // View classes forward references
    37 // -----------------------------------------------------------------------
    38 class CHindiDemoView;
    39 class CMainViewView ;
    40 
    41 // -----------------------------------------------------------------------
    42 // CHindiDemoAppUi
    43 // -----------------------------------------------------------------------
    44 class CHindiDemoAppUi : public CAknViewAppUi
    45 {
    46   // -----------------------------------------------------------------------
    47   // Performs view construction
    48   // -----------------------------------------------------------------------
    49   void InitViewsL();
    50 
    51 public:
    52   // -----------------------------------------------------------------------
    53   // Performs second phase construction of this AppUi Object
    54   // -----------------------------------------------------------------------
    55   void ConstructL();
    56 
    57   virtual ~CHindiDemoAppUi();
    58 
    59   // -----------------------------------------------------------------------
    60   // Handles user menu selection
    61   // -----------------------------------------------------------------------
    62   void HandleCommandL(TInt aCommand);
    63 
    64   //
    65   // Routine that dispatches Command events to individual handlers
    66   //
    67   bool DispatchAppUICommandEvents(TInt aCommand);
    68 
    69 #ifdef WITH_TAB_GROUP
    70   virtual TKeyResponse HandleKeyEventL(const TKeyEvent& aKeyEvent,TEventCode aType);
    71 #endif
    72 
    73 private:
    74 #ifdef WITH_TAB_GROUP
    75   CAknNavigationControlContainer* iNaviPane;
    76   CAknTabGroup* iTabGroup;
    77   CAknNavigationDecorator* iDecoratedTabGroup;
    78 #endif
    79 
    80   CHindiDemoView * iHindiDemoView;
    81   CMainViewView * iMainViewView;
    82 
    83 private:
    84 };
    85 
    86 
    87 #endif // __HINDIDEMO_APPUI_H__
    88