audio4doc.h

来自「Symbian OS C++ 手机应用开发(第一卷)部分事例代码」· C头文件 代码 · 共 79 行

H
79
字号
/* Copyright (c) 2004, Symbian Software Ltd. All rights reserved */

#ifndef __AUDIO4DOCUMENT_H__
#define __AUDIO4DOCUMENT_H__


#include <eikdoc.h>

// Forward references
class CAudio4Ui;
class CEikApplication;


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

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

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

/*!
  @function ~CAudio4Doc
  
  @discussion Destroy the object and release all memory objects
  */
    ~CAudio4Doc();

private:

/*!
  @function ConstructL
  
  @discussion Perform the second phase construction of a CAudio4Doc object
  */
    void ConstructL();

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

/*!
  @function CreateAppUiL 
  
  @discussion Create a CAudio4Ui object and return a pointer to it
  @result a pointer to the created instance of the AppUi created
  */
    CEikAppUi* CreateAppUiL();
    };


#endif // __AUDIO4DOCUMENT_H__

⌨️ 快捷键说明

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