everydaydocument.h

来自「symbian系统上的记事本程序」· C头文件 代码 · 共 86 行

H
86
字号
/* Copyright (c) 2008, Nokia. All rights reserved */

#ifndef __EVERYDAY_DOCUMENT_H__
#define __EVERYDAY_DOCUMENT_H__


#include <akndoc.h>
#include "File.h"
class CEveryDayAppUi;
class CEikApplication;


/*! 
@class CEveryDayDocument

  @discussion An instance of class CEveryDayDocument is the Document part of the AVKON
  application framework for the EveryDay example application
*/
class CEveryDayDocument : public CAknDocument
{
public:
	
/*!
@function NewL

  @discussion Construct a CEveryDayDocument 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 CEveryDayDocument
	*/
    static CEveryDayDocument* NewL(CEikApplication& aApp);
	
	
	/*!
	@function NewLC
	
	  @discussion Construct a CEveryDayDocument 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 CEveryDayDocument
	*/
    static CEveryDayDocument* NewLC(CEikApplication& aApp);
	
	/*!
	@function ~CEveryDayDocument
	
	  @discussion Destroy the object
	*/
    ~CEveryDayDocument();
	
public: // from CAknDocument
		/*!
		@function CreateAppUiL 
		
		  @discussion Create a CEveryDayAppUi object and return a pointer to it
		  @result A pointer to the created instance of the AppUi created
	*/
    CEikAppUi* CreateAppUiL();
	
	void GetAppPath(TDes& aPath);
	
	
private:
	
/*!
@function ConstructL

  @discussion Perform the second phase construction of a CEveryDayDocument object
	*/
    void ConstructL();
	
	/*!
	@function CEveryDayDocument
	
	  @discussion Perform the first phase of two phase construction 
	  @param aApp Application creating this document
	*/
    CEveryDayDocument(CEikApplication& aApp);
private:
	
    
};


#endif // __EVERYDAY_DOCUMENT_H__

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?