filebrowser/inc/FBApp.h
changeset 0 d6fe6244b863
equal deleted inserted replaced
-1:000000000000 0:d6fe6244b863
       
     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 FILEBROWSERAPP_H
       
    20 #define FILEBROWSERAPP_H
       
    21 
       
    22 // INCLUDES
       
    23 #include <aknapp.h>
       
    24 
       
    25 // CONSTANTS
       
    26 // UID of the application
       
    27 const TUid KUidFileBrowser = { 0x102828D6 };
       
    28 
       
    29 // CLASS DECLARATION
       
    30 
       
    31 /**
       
    32 * CFileBrowserApp application class.
       
    33 * Provides factory to create concrete document object.
       
    34 * 
       
    35 */
       
    36 class CFileBrowserApp : public CAknApplication
       
    37     {
       
    38     
       
    39     public: // Functions from base classes
       
    40         /**
       
    41         * From CApaApplication, overridden to enable INI file support.
       
    42         * @return A pointer to the dictionary store
       
    43         */
       
    44     CDictionaryStore* OpenIniFileLC(RFs& aFs) const;
       
    45     private:
       
    46 
       
    47         /**
       
    48         * From CApaApplication, creates CFileBrowserDocument document object.
       
    49         * @return A pointer to the created document object.
       
    50         */
       
    51         CApaDocument* CreateDocumentL();
       
    52         
       
    53         /**
       
    54         * From CApaApplication, returns application's UID (KUidFileBrowser).
       
    55         * @return The value of KUidFileBrowser.
       
    56         */
       
    57         TUid AppDllUid() const;
       
    58     };
       
    59 
       
    60 #endif
       
    61 
       
    62 // End of File
       
    63