orcerappview.h

来自「同样自己做的 还不错哦 Symbian的 上面没找到分类」· C头文件 代码 · 共 76 行

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

#ifndef __ORCER_APPVIEW_H__
#define __ORCER_APPVIEW_H__


#include <coecntrl.h>

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

/*!
  @function NewL
   
  @discussion Create a COrcerAppView 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 COrcerAppView
  */
    static COrcerAppView* NewL(const TRect& aRect);

/*!
  @function NewLC
   
  @discussion Create a COrcerAppView 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 COrcerAppView
  */
    static COrcerAppView* NewLC(const TRect& aRect);


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


public:  // from CCoeControl
/*!
  @function Draw
  
  @discussion Draw this COrcerAppView 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 COrcerAppView object
  @param aRect The rectangle this view will be drawn to
  */
    void ConstructL(const TRect& aRect);

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


#endif // __ORCER_APPVIEW_H__

⌨️ 快捷键说明

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