diff -r 000000000000 -r 094583676ce7 wvuing/wvuiave/AppSrc/CCADocument.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/wvuing/wvuiave/AppSrc/CCADocument.h Thu Dec 17 08:41:52 2009 +0200 @@ -0,0 +1,84 @@ +/* +* 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 + +// 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 +