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