locationlandmarksuirefapp/inc/LmUiRefAppUi.h
branchRCL_3
changeset 17 1fc85118c3ae
parent 16 8173571d354e
child 18 870918037e16
equal deleted inserted replaced
16:8173571d354e 17:1fc85118c3ae
     1 /*
       
     2 * Copyright (c) 2005 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:   LandmarksUi Content File -
       
    15 *     Declares UI class for application.
       
    16 *
       
    17 */
       
    18 
       
    19 
       
    20 
       
    21 
       
    22 
       
    23 
       
    24 #ifndef LMUIREFAPPUI_H
       
    25 #define LMUIREFAPPUI_H
       
    26 
       
    27 // INCLUDES
       
    28 #include <eikapp.h>
       
    29 #include <eikdoc.h>
       
    30 #include <e32std.h>
       
    31 #include <coeccntx.h>
       
    32 #include <aknappui.h>
       
    33 #include <aknViewAppUi.h>
       
    34 
       
    35 #include <EPos_Landmarks.h>
       
    36 
       
    37 // FORWARD DECLARATIONS
       
    38 class CLmkLandmarkSelectorDlg;
       
    39 class CLmUiRefAppDocument;
       
    40 
       
    41 // CONSTANTS
       
    42 //const ?type ?constant_var = ?constant;
       
    43 
       
    44 
       
    45 // CLASS DECLARATION
       
    46 
       
    47 /**
       
    48 * Application UI class.
       
    49 * Provides support for the following features:
       
    50 * - EIKON control architecture
       
    51 *
       
    52 */
       
    53 class CLmUiRefAppUi : public CAknViewAppUi
       
    54     {
       
    55     public: // // Constructors and destructor
       
    56 
       
    57         /**
       
    58         * EPOC default constructor.
       
    59         */
       
    60         void ConstructL();
       
    61 
       
    62         /**
       
    63         * Destructor.
       
    64         */
       
    65         ~CLmUiRefAppUi();
       
    66 
       
    67     public: // New functions
       
    68 
       
    69 
       
    70        /**
       
    71         *Return reference to document
       
    72         * @return reference to CLmkDocument
       
    73         */
       
    74 
       
    75 
       
    76         CLmUiRefAppDocument& Document() const;
       
    77 
       
    78     public: // Functions from base classes
       
    79 
       
    80     private:
       
    81         // From MEikMenuObserver
       
    82         void DynInitMenuPaneL(TInt aResourceId,CEikMenuPane* aMenuPane);
       
    83 
       
    84     private:
       
    85         /**
       
    86         * From CEikAppUi, takes care of command handling.
       
    87         * @param aCommand command to be handled
       
    88         */
       
    89         void HandleCommandL(TInt aCommand);
       
    90 
       
    91         /**
       
    92         * From CEikAppUi, handles key events.
       
    93         * @param aKeyEvent Event to handled.
       
    94         * @param aType Type of the key event.
       
    95         * @return Response code (EKeyWasConsumed, EKeyWasNotConsumed).
       
    96         */
       
    97         virtual TKeyResponse HandleKeyEventL(
       
    98             const TKeyEvent& aKeyEvent,TEventCode aType);
       
    99 
       
   100     private: //Data
       
   101 
       
   102     };
       
   103 
       
   104 #endif
       
   105 
       
   106 // End of File