dialerappview.h

来自「symbian 的打电话程序 可以实现安装sis」· C头文件 代码 · 共 77 行

H
77
字号
/* Copyright (c) 2004, Nokia. All rights reserved */


#ifndef __DIALERAPPVIEW_H__
#define __DIALERAPPVIEW_H__

// INCLUDES
#include <coecntrl.h>

// CLASS DECLARATIONS

/**
* CDialerAppView
* An instance of the Application View object for the Dialer 
* example application.
*/
class CDialerAppView : public CCoeControl
    {
    public: // Constructors and destructor

        /**
        * NewL()
        * Two-phased constructor.
        * Create a CDialerAppView object, which will draw itself to aRect.
        * @param aRect The rectangle this view will be drawn to.
        * @return a pointer to the created instance of CHelloWorldPlusAppView.
        */
        static CDialerAppView* NewL( const TRect& aRect );

        /**
        * NewLC()
        * Two-phased constructor.
        * Create a CDialerAppView object, which will draw itself to aRect.
        * @param aRect The rectangle this view will be drawn to.
        * @return a pointer to the created instance of CHelloWorldPlusAppView.
        */

        static CDialerAppView* NewLC( const TRect& aRect );


        /**
        * ~CDialerAppView()
        * Destroy the object and release all memory objects
        */
        virtual ~CDialerAppView();


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

    private:    // Constructors

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

        /**
        * CDialerAppView
        * Perform the first phase of two phase construction 
        */
        CDialerAppView();
    };


#endif // __DIALERAPPVIEW_H__

// End of File

⌨️ 快捷键说明

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