www.pudn.com > LDFUCK.rar > LDFUCKDocument.h
/* Copyright (c) 2008, Nokia. All rights reserved */ #ifndef __LDFUCK_DOCUMENT_H__ #define __LDFUCK_DOCUMENT_H__ #includeclass CLDFUCKAppUi; class CEikApplication; /*! @class CLDFUCKDocument @discussion An instance of class CLDFUCKDocument is the Document part of the AVKON application framework for the LDFUCK example application */ class CLDFUCKDocument : public CAknDocument { public: /*! @function NewL @discussion Construct a CLDFUCKDocument for the AVKON application aApp using two phase construction, and return a pointer to the created object @param aApp Application creating this document @result A pointer to the created instance of CLDFUCKDocument */ static CLDFUCKDocument* NewL(CEikApplication& aApp); /*! @function NewLC @discussion Construct a CLDFUCKDocument for the AVKON application aApp using two phase construction, and return a pointer to the created object @param aApp Application creating this document @result A pointer to the created instance of CLDFUCKDocument */ static CLDFUCKDocument* NewLC(CEikApplication& aApp); /*! @function ~CLDFUCKDocument @discussion Destroy the object */ ~CLDFUCKDocument(); public: // from CAknDocument /*! @function CreateAppUiL @discussion Create a CLDFUCKAppUi object and return a pointer to it @result A pointer to the created instance of the AppUi created */ CEikAppUi* CreateAppUiL(); private: /*! @function ConstructL @discussion Perform the second phase construction of a CLDFUCKDocument object */ void ConstructL(); /*! @function CLDFUCKDocument @discussion Perform the first phase of two phase construction @param aApp Application creating this document */ CLDFUCKDocument(CEikApplication& aApp); }; #endif // __LDFUCK_DOCUMENT_H__