filebrowser/inc/FBAppUi.h
branchRCL_3
changeset 21 b3cee849fa46
parent 20 48060abbbeaf
child 22 fad26422216a
equal deleted inserted replaced
20:48060abbbeaf 21:b3cee849fa46
     1 /*
       
     2 * Copyright (c) 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 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef FILEBROWSERAPPUI_H
       
    20 #define FILEBROWSERAPPUI_H
       
    21 
       
    22 // INCLUDES
       
    23 #include <eikapp.h>
       
    24 #include <eikdoc.h>
       
    25 #include <e32std.h>
       
    26 #include <coeccntx.h>
       
    27 #include <aknViewAppUi.h>
       
    28 #include <akntabgrp.h>
       
    29 #include <aknnavide.h>
       
    30 #include "FBStd.h"
       
    31 
       
    32 // FORWARD DECLARATIONS
       
    33 class CFileBrowserFileListContainer;
       
    34 class CFileBrowserModel;
       
    35 
       
    36 // CONSTANTS
       
    37 //const ?type ?constant_var = ?constant;
       
    38 
       
    39 
       
    40 // CLASS DECLARATION
       
    41 
       
    42 
       
    43 class CFileBrowserAppUi : public CAknViewAppUi
       
    44     {
       
    45     public: // // Constructors and destructor
       
    46 
       
    47         /**
       
    48         * EPOC default constructor.
       
    49         */      
       
    50         void ConstructL();
       
    51 
       
    52         /**
       
    53         * Destructor.
       
    54         */      
       
    55         ~CFileBrowserAppUi();
       
    56         
       
    57     public: // New functions
       
    58 
       
    59     public: // Functions from base classes
       
    60         void HandleWsEventL(const TWsEvent& aEvent, CCoeControl* aDestination);
       
    61 
       
    62     private:
       
    63         // From MEikMenuObserver
       
    64         void DynInitMenuPaneL(TInt aResourceId,CEikMenuPane* aMenuPane);
       
    65 
       
    66     private:
       
    67         /**
       
    68         * From CEikAppUi, takes care of command handling.
       
    69         * @param aCommand command to be handled
       
    70         */
       
    71         void HandleCommandL(TInt aCommand);
       
    72 
       
    73         /**
       
    74         * From CEikAppUi, handles key events.
       
    75         * @param aKeyEvent Event to handled.
       
    76         * @param aType Type of the key event. 
       
    77         * @return Response code (EKeyWasConsumed, EKeyWasNotConsumed). 
       
    78         */
       
    79         virtual TKeyResponse HandleKeyEventL(
       
    80             const TKeyEvent& aKeyEvent,TEventCode aType);
       
    81 
       
    82     private: //Data
       
    83         CFileBrowserModel*    iModel;
       
    84 
       
    85     };
       
    86 
       
    87 #endif
       
    88 
       
    89 // End of File