preinstall4document.h
来自「在Garbide c++中建立的Symbian程序。实现了安装后自动调用JAVA」· C头文件 代码 · 共 92 行
H
92 行
/*
============================================================================
Name : PreInstall4Document.h
Author :
Copyright : 35
Description : Declares document class for application.
============================================================================
*/
#ifndef __PREINSTALL4DOCUMENT_h__
#define __PREINSTALL4DOCUMENT_h__
// INCLUDES
#include <akndoc.h>
// FORWARD DECLARATIONS
class CPreInstall4AppUi;
class CEikApplication;
// CLASS DECLARATION
/**
* CPreInstall4Document application class.
* An instance of class CPreInstall4Document is the Document part of the
* AVKON application framework for the PreInstall4 example application.
*/
class CPreInstall4Document : public CAknDocument
{
public:
// Constructors and destructor
/**
* NewL.
* Two-phased constructor.
* Construct a CPreInstall4Document for the AVKON application aApp
* using two phase construction, and return a pointer
* to the created object.
* @param aApp Application creating this document.
* @return A pointer to the created instance of CPreInstall4Document.
*/
static CPreInstall4Document* NewL(CEikApplication& aApp);
/**
* NewLC.
* Two-phased constructor.
* Construct a CPreInstall4Document for the AVKON application aApp
* using two phase construction, and return a pointer
* to the created object.
* @param aApp Application creating this document.
* @return A pointer to the created instance of CPreInstall4Document.
*/
static CPreInstall4Document* NewLC(CEikApplication& aApp);
/**
* ~CPreInstall4Document
* Virtual Destructor.
*/
virtual ~CPreInstall4Document();
public:
// Functions from base classes
/**
* CreateAppUiL
* From CEikDocument, CreateAppUiL.
* Create a CPreInstall4AppUi object and return a pointer to it.
* The object returned is owned by the Uikon framework.
* @return Pointer to created instance of AppUi.
*/
CEikAppUi* CreateAppUiL();
private:
// Constructors
/**
* ConstructL
* 2nd phase constructor.
*/
void ConstructL();
/**
* CPreInstall4Document.
* C++ default constructor.
* @param aApp Application creating this document.
*/
CPreInstall4Document(CEikApplication& aApp);
};
#endif // __PREINSTALL4DOCUMENT_h__
// End of File
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?