idlehomescreen/inc/xnapplication.h
changeset 0 f72a12da539e
equal deleted inserted replaced
-1:000000000000 0:f72a12da539e
       
     1 /*
       
     2 * Copyright (c) 2002-2004 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 * Application base class for Xuikon
       
    16 *
       
    17 */
       
    18 
       
    19 #ifndef XNAPPLICATION_H
       
    20 #define XNAPPLICATION_H
       
    21 
       
    22 // System includes
       
    23 #include <aknapp.h>
       
    24 
       
    25 // Class declaration
       
    26 /**
       
    27  * Application base class for Xuikon.
       
    28  *
       
    29  * @ingroup group_xnlayoutengine
       
    30  * @lib xn3layoutengine.lib
       
    31  * @since Series 60 3.1
       
    32  */
       
    33 class CXnApplication : public CAknApplication
       
    34     {
       
    35 public:
       
    36     /**
       
    37      * C++ default constructor.
       
    38      */
       
    39     IMPORT_C CXnApplication( TUid aApplicationUid );
       
    40 
       
    41     /**
       
    42      * Destructor.
       
    43      */
       
    44     IMPORT_C virtual ~CXnApplication();
       
    45 
       
    46 protected:
       
    47     /**
       
    48      * From CApaApplication.
       
    49      * Returns the application uid.
       
    50      *
       
    51      * @since Series 60 3.1
       
    52      * @return Application uid
       
    53      */
       
    54     IMPORT_C virtual TUid AppDllUid() const;
       
    55 
       
    56     /**
       
    57      * From CApaApplication.
       
    58      * Creates a document.
       
    59      *
       
    60      * @since Series 60 3.1
       
    61      * @param aProcess Application framework process object
       
    62      * @return Application document
       
    63      */
       
    64     IMPORT_C virtual CApaDocument* CreateDocumentL();
       
    65 
       
    66 private:
       
    67     // Data
       
    68 
       
    69     /**
       
    70      * application uid
       
    71      */
       
    72     TUid iApplicationUid;
       
    73     };
       
    74 
       
    75 #endif