contatcssearchappview.h

来自「Search Phone number example is for searc」· C头文件 代码 · 共 81 行

H
81
字号
/* ====================================================================
 * File: ContatcsSearchAppView.h
 * Created: 09/07/07
 * Author: 
 * Copyright (c): , All rights reserved
 * ==================================================================== */

#ifndef __CONTATCSSEARCH_APPVIEW_H__
#define __CONTATCSSEARCH_APPVIEW_H__


#include <coecntrl.h>

/*! 
  @class CContatcsSearchAppView
  
  @discussion An instance of the Application View object for the ContatcsSearch 
  example application
  */
class CContatcsSearchAppView : public CCoeControl
    {
public:

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

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


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


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

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


#endif // __CONTATCSSEARCH_APPVIEW_H__

⌨️ 快捷键说明

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