data/testpublisher/inc/testpublisherapplication.h
changeset 0 b856a9924bbc
equal deleted inserted replaced
-1:000000000000 0:b856a9924bbc
       
     1 /*
       
     2 * Copyright (c) {Year(s)} {Copyright owner}.
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of the "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.symbianfoundation.org/legal/sfl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * {Name} {Company} ? Initial contribution
       
    11 *
       
    12 * Contributors:
       
    13 * {Name} {Company} ? {{Description of contribution}}
       
    14 *
       
    15 * Description:
       
    16 * {{Description of the file}}
       
    17 *
       
    18 */
       
    19 
       
    20 #ifndef __TESTPUBLISHERAPPLICATION_H__
       
    21 #define __TESTPUBLISHERAPPLICATION_H__
       
    22 
       
    23 // INCLUDES
       
    24 #include <aknapp.h>
       
    25 #include "TestPublisher.hrh"
       
    26 
       
    27 // UID for the application;
       
    28 // this should correspond to the uid defined in the mmp file
       
    29 const TUid KUidTestPublisherApp =
       
    30     {
       
    31     _UID3
       
    32     };
       
    33 
       
    34 // CLASS DECLARATION
       
    35 
       
    36 /**
       
    37  * CTestPublisherApplication application class.
       
    38  * Provides factory to create concrete document object.
       
    39  * An instance of CTestPublisherApplication is the application part of the
       
    40  * AVKON application framework for the TestPublisher example application.
       
    41  */
       
    42 class CTestPublisherApplication : public CAknApplication
       
    43     {
       
    44 public:
       
    45     // Functions from base classes
       
    46 
       
    47     /**
       
    48      * From CApaApplication, AppDllUid.
       
    49      * @return Application's UID (KUidTestPublisherApp).
       
    50      */
       
    51     TUid AppDllUid() const;
       
    52 
       
    53 protected:
       
    54     // Functions from base classes
       
    55 
       
    56     /**
       
    57      * From CApaApplication, CreateDocumentL.
       
    58      * Creates CTestPublisherDocument document object. The returned
       
    59      * pointer in not owned by the CTestPublisherApplication object.
       
    60      * @return A pointer to the created document object.
       
    61      */
       
    62     CApaDocument* CreateDocumentL();
       
    63     };
       
    64 
       
    65 #endif // __TESTPUBLISHERAPPLICATION_H__
       
    66 // End of File