mp3playerdocument.h

来自「一个mp3播放器的小例子」· C头文件 代码 · 共 79 行

H
79
字号
/* Copyright (c) 2005, Nokia. All rights reserved */

#ifndef __MP3PLAYER_DOCUMENT_H__
#define __MP3PLAYER_DOCUMENT_H__


#include <akndoc.h>

class CMP3PlayerAppUi;
class CEikApplication;


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

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

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

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

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

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


#endif // __MP3PLAYER_DOCUMENT_H__

⌨️ 快捷键说明

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