wvuing/wvuiave/AppSrc/CCADocument.h
author Fionntina Carville <fionntinac@symbian.org>
Mon, 15 Nov 2010 11:27:49 +0000
branchRCL_3
changeset 22 df9aab66f73e
parent 0 094583676ce7
permissions -rw-r--r--
Bug 3539. Update localisation mappings.

/*
* Copyright (c) 2003-2005 Nokia Corporation and/or its subsidiary(-ies). 
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of "Eclipse Public License v1.0"
* which accompanies this distribution, and is available
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
*
* Initial Contributors:
* Nokia Corporation - initial contribution.
*
* Contributors:
*
* Description:  Eikon application architectures document class
*
*/



#ifndef CCADOCUMENT_H
#define CCADOCUMENT_H

// INCLUDES
#include <akndoc.h>

// FORWARD DECLARATIONS
class CEikAppUi;
class CCAEngine;
class MCAProcessManager;

// CLASS DECLARATION

/**
*  Eikon application architectures document class
*
*  @lib chat.app
*  @since 1.2
*/
class CCADocument : public CAknDocument

    {
    public: // Constructors and destructor
        /**
        * Two-phased constructor.
        * @param aApp Handle to Eikon's application class
        */
        static CCADocument* NewL( CEikApplication& aApp );

        /**
        * Destructor.
        */
        virtual ~CCADocument();

    private:
        /**
        * Default constructor
        * @param aApp Handle to Eikon's application class
        */
        CCADocument( CEikApplication& aApp ): CAknDocument( aApp ) { }

        /**
        * Symbian OS default constructor.
        */
        void ConstructL();

    private: // Functions from base classes

        /**
        * From CEikDocument, create CChatClientAppUi "App UI" object.
        * @see CEikDocument::CreateAppUiL
        */
        CEikAppUi* CreateAppUiL();

    private:
        // Owns. Application model (engine)
        CCAEngine* iEngine;
        //owns, Appln's Process Manager
        MCAProcessManager* iProcessManager;
    };

#endif // CCADOCUMENT_H

// End of File