📄 assistantdocument.h
字号:
/* Copyright (c) 2008, Nokia. All rights reserved */
#ifndef __ASSISTANT_DOCUMENT_H__
#define __ASSISTANT_DOCUMENT_H__
#include <akndoc.h>
class CAssistantAppUi;
class CEikApplication;
/*!
@class CAssistantDocument
@discussion An instance of class CAssistantDocument is the Document part of the AVKON
application framework for the Assistant example application
*/
class CAssistantDocument : public CAknDocument
{
public:
/*!
@function NewL
@discussion Construct a CAssistantDocument 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 CAssistantDocument
*/
static CAssistantDocument* NewL(CEikApplication& aApp);
/*!
@function NewLC
@discussion Construct a CAssistantDocument 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 CAssistantDocument
*/
static CAssistantDocument* NewLC(CEikApplication& aApp);
/*!
@function ~CAssistantDocument
@discussion Destroy the object
*/
~CAssistantDocument();
public: // from CAknDocument
/*!
@function CreateAppUiL
@discussion Create a CAssistantAppUi 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 CAssistantDocument object
*/
void ConstructL();
/*!
@function CAssistantDocument
@discussion Perform the first phase of two phase construction
@param aApp Application creating this document
*/
CAssistantDocument(CEikApplication& aApp);
};
#endif // __ASSISTANT_DOCUMENT_H__
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -