wvuing/wvuiave/AppSrc/CCADocument.h
changeset 0 094583676ce7
equal deleted inserted replaced
-1:000000000000 0:094583676ce7
       
     1 /*
       
     2 * Copyright (c) 2003-2005 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:  Eikon application architectures document class
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 #ifndef CCADOCUMENT_H
       
    21 #define CCADOCUMENT_H
       
    22 
       
    23 // INCLUDES
       
    24 #include <akndoc.h>
       
    25 
       
    26 // FORWARD DECLARATIONS
       
    27 class CEikAppUi;
       
    28 class CCAEngine;
       
    29 class MCAProcessManager;
       
    30 
       
    31 // CLASS DECLARATION
       
    32 
       
    33 /**
       
    34 *  Eikon application architectures document class
       
    35 *
       
    36 *  @lib chat.app
       
    37 *  @since 1.2
       
    38 */
       
    39 class CCADocument : public CAknDocument
       
    40 
       
    41     {
       
    42     public: // Constructors and destructor
       
    43         /**
       
    44         * Two-phased constructor.
       
    45         * @param aApp Handle to Eikon's application class
       
    46         */
       
    47         static CCADocument* NewL( CEikApplication& aApp );
       
    48 
       
    49         /**
       
    50         * Destructor.
       
    51         */
       
    52         virtual ~CCADocument();
       
    53 
       
    54     private:
       
    55         /**
       
    56         * Default constructor
       
    57         * @param aApp Handle to Eikon's application class
       
    58         */
       
    59         CCADocument( CEikApplication& aApp ): CAknDocument( aApp ) { }
       
    60 
       
    61         /**
       
    62         * Symbian OS default constructor.
       
    63         */
       
    64         void ConstructL();
       
    65 
       
    66     private: // Functions from base classes
       
    67 
       
    68         /**
       
    69         * From CEikDocument, create CChatClientAppUi "App UI" object.
       
    70         * @see CEikDocument::CreateAppUiL
       
    71         */
       
    72         CEikAppUi* CreateAppUiL();
       
    73 
       
    74     private:
       
    75         // Owns. Application model (engine)
       
    76         CCAEngine* iEngine;
       
    77         //owns, Appln's Process Manager
       
    78         MCAProcessManager* iProcessManager;
       
    79     };
       
    80 
       
    81 #endif // CCADOCUMENT_H
       
    82 
       
    83 // End of File
       
    84