ldcno17songdocument.h

来自「Symbian多视图下实现菜单的隐藏」· C头文件 代码 · 共 83 行

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

#ifndef __LDCNO17SONG_DOCUMENT_H__
#define __LDCNO17SONG_DOCUMENT_H__


#include <akndoc.h>

class CLdcno17songAppUi;
class CEikApplication;
class CAddressBook;


/*! 
  @class CLdcno17songDocument
  
  @discussion An instance of class CLdcno17songDocument is the Document part of the AVKON
  application framework for the Ldcno17song example application
  */
class CLdcno17songDocument : public CAknDocument
    {
public:

/*!
  @function NewL
  
  @discussion Construct a CLdcno17songDocument 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 CLdcno17songDocument
  */
    static CLdcno17songDocument* NewL(CEikApplication& aApp);

/*!
  @function NewLC
  
  @discussion Construct a CLdcno17songDocument 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 CLdcno17songDocument
  */
    static CLdcno17songDocument* NewLC(CEikApplication& aApp);

	CAddressBook* GetAddRess();			// 增加!!

/*!
  @function ~CLdcno17songDocument
  
  @discussion Destroy the object
  */
    ~CLdcno17songDocument();

public: // from CAknDocument
/*!
  @function CreateAppUiL 
  
  @discussion Create a CLdcno17songAppUi 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 CLdcno17songDocument object
  */
    void ConstructL();

/*!
  @function CLdcno17songDocument
  
  @discussion Perform the first phase of two phase construction 
  @param aApp Application creating this document
  */
    CLdcno17songDocument(CEikApplication& aApp);
	CAddressBook* m_pAddBook;
    };


#endif // __LDCNO17SONG_DOCUMENT_H__

⌨️ 快捷键说明

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