diff -r aecbbf00d063 -r d48ab3b357f1 psln/Inc/PslnDocument.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/psln/Inc/PslnDocument.h Wed Sep 01 12:16:19 2010 +0100 @@ -0,0 +1,67 @@ +/* +* Copyright (c) 2002-2006 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: Psln document class definition. +* +*/ + + +#ifndef C_PSLNDOCUMENT_H +#define C_PSLNDOCUMENT_H + +#include + +class CEikAppUi; + +/** + * CPslnDocument class. + * + * Psln document class definition. + * + * @since S60 v2.0 + */ +class CPslnDocument : public CAknDocument + { + +public: + + /** + * Two-phased constructor. + * @param aApp Application. + * @return new instance of CPslnDocument. + */ + static CPslnDocument* NewL( CEikApplication& aApp ); + + /** + * Destructor. + */ + virtual ~CPslnDocument(); + +private: + + /** + * C++ constructor + */ + CPslnDocument( CEikApplication& aApp ); + + /** + * From CEikDocument. Create Psln AppUi object. + * + * @return Eikon application UI. + */ + CEikAppUi* CreateAppUiL(); + }; + +#endif // C_PSLNDOCUMENT_H + +// End of File