idlehomescreen/examples/mcsexample/inc/MCSExampleApplication.h
branchRCL_3
changeset 102 ba63c83f4716
parent 93 b01126ce0bec
child 103 966d119a7e67
equal deleted inserted replaced
93:b01126ce0bec 102:ba63c83f4716
     1 /*
       
     2 * Copyright (c) 2010 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 #ifndef __MCSEXAMPLEAPPLICATION_H__
       
    19 #define __MCSEXAMPLEAPPLICATION_H__
       
    20 
       
    21 // INCLUDES
       
    22 #include <aknapp.h>
       
    23 #include "MCSExample.hrh"
       
    24 
       
    25 // UID for the application;
       
    26 // this should correspond to the uid defined in the mmp file
       
    27 const TUid KUidMCSExampleApp =
       
    28     {
       
    29     _UID3
       
    30     };
       
    31 
       
    32 // CLASS DECLARATION
       
    33 
       
    34 /**
       
    35  * CMCSExampleApplication application class.
       
    36  * Provides factory to create concrete document object.
       
    37  * An instance of CMCSExampleApplication is the application part of the
       
    38  * AVKON application framework for the MCSExample example application.
       
    39  */
       
    40 class CMCSExampleApplication : public CAknApplication
       
    41     {
       
    42 public:
       
    43     // Functions from base classes
       
    44 
       
    45     /**
       
    46      * From CApaApplication, AppDllUid.
       
    47      * @return Application's UID (KUidMCSExampleApp).
       
    48      */
       
    49     TUid AppDllUid() const;
       
    50 
       
    51 protected:
       
    52     // Functions from base classes
       
    53 
       
    54     /**
       
    55      * From CApaApplication, CreateDocumentL.
       
    56      * Creates CMCSExampleDocument document object. The returned
       
    57      * pointer in not owned by the CMCSExampleApplication object.
       
    58      * @return A pointer to the created document object.
       
    59      */
       
    60     CApaDocument* CreateDocumentL();
       
    61     };
       
    62 
       
    63 #endif // __MCSEXAMPLEAPPLICATION_H__
       
    64 // End of File