⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 mp3playerappcontainer1.h

📁 一个mp3播放器的小例子
💻 H
字号:
/* Copyright (c) 2005, Nokia. All rights reserved */

#ifndef __MP3PLAYER_APPVIEW_H__
#define __MP3PLAYER_APPVIEW_H__


#include <coecntrl.h>

/*! 
  @class CMP3PlayerAppContainer
  
  @discussion An instance of this class is the Application View object
  for the MP3Player example application
  */
class CMP3PlayerAppContainer1 : public CCoeControl
    {
public:

/*!
  @function NewL
   
  @discussion Create a CMP3PlayerAppContainer object, which will draw itself to aRect
  @param aRect The rectangle this view will be drawn to
  @result A pointer to the created instance of CMP3PlayerAppContainer
  */
    static CMP3PlayerAppContainer1* NewL(const TRect& aRect);

/*!
  @function NewLC
   
  @discussion Create a CMP3PlayerAppContainer object, which will draw itself to aRect
  @param aRect The rectangle this view will be drawn to
  @result A pointer to the created instance of CMP3PlayerAppContainer
  */
    static CMP3PlayerAppContainer1* NewLC(const TRect& aRect);


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


public:  // from CCoeControl
/*!
  @function Draw
  
  @discussion Draw this CMP3PlayerAppContainer to the screen
  @param aRect The rectangle of this view that needs updating
  */
    void Draw(const TRect& aRect) const;
  

private:

/*!
  @function ConstructL
  
  @discussion  Perform the second phase construction of a CMP3PlayerAppContainer object
  @param aRect The rectangle this view will be drawn to
  */
    void ConstructL(const TRect& aRect);

/*!
  @function CMP3PlayerAppContainer
  
  @discussion Perform the first phase of two phase construction 
  */
    CMP3PlayerAppContainer1();
    };


#endif // __MP3PLAYER_APPVIEW_H__

⌨️ 快捷键说明

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