defaultapplicationsettings/server/inc/das_doc.h
branchRCL_3
changeset 14 5f281e37a2f5
parent 0 254040eb3b7d
equal deleted inserted replaced
13:90fe62538f66 14:5f281e37a2f5
       
     1 /*
       
     2 * Copyright (c) 2005-2006 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:  This class implements the application document.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 #ifndef C_DEFAULTAPPDOC_H
       
    21 #define C_DEFAULTAPPDOC_H
       
    22 
       
    23 #include <AknDoc.h>
       
    24 
       
    25 class CDefaultAppAppUi;
       
    26 
       
    27 /**
       
    28  *  This class implements the application document.
       
    29  *
       
    30  *  @since Series 60 v5.0
       
    31  */
       
    32 class CDefaultAppDocument : public CAknDocument
       
    33     {
       
    34 public:
       
    35 
       
    36     /**
       
    37      * Symbian OS two-phased constructor
       
    38      * @return
       
    39      */
       
    40     static CDefaultAppDocument* NewL(CEikApplication& aApp);
       
    41     
       
    42     /**
       
    43      * Symbian OS two-phased constructor
       
    44      * @return
       
    45      */
       
    46     static CDefaultAppDocument* NewLC(CEikApplication& aApp);
       
    47 
       
    48 // from base class CAknDocument
       
    49     /**
       
    50      * From CAknDocument.
       
    51      * Function to create the AppUi.
       
    52      *
       
    53      * @since S60 v5.0
       
    54      * @return the created AppUi instance
       
    55      */
       
    56     CEikAppUi* CreateAppUiL();
       
    57 
       
    58 private:
       
    59 
       
    60     /**
       
    61      * C++ default constructor.
       
    62      */
       
    63     CDefaultAppDocument(CEikApplication& aApp);
       
    64 public:
       
    65     /**
       
    66      * Pointer to the AppUi
       
    67      * Not owned
       
    68      */
       
    69     CDefaultAppAppUi* iDefaultAppUi; //not owned
       
    70     };
       
    71 
       
    72 #endif      // C_DEFAULTAPPDOC_H
       
    73 
       
    74 // End of File