cipherdocument.h

来自「Symbian 手机编程」· C头文件 代码 · 共 81 行

H
81
字号
/* Copyright (c) 2003, Nokia. All rights reserved */

#ifndef __CIPHER_DOCUMENT_H__
#define __CIPHER_DOCUMENT_H__


#include <akndoc.h>


class CCipherAppUi;
class CEikApplication;


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

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

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

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

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

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

    };


#endif // __CIPHER_DOCUMENT_H__

⌨️ 快捷键说明

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