helpexampleappview.h

来自「应用于S60平台的示例程序」· C头文件 代码 · 共 87 行

H
87
字号
/*
* ==============================================================================
*  Name        : helpexampleappview.h
*  Part of     : Help example
*  Interface   :
*  Description :
*  Version     :
*
*  Copyright (c) 2004 - 2006 Nokia Corporation.
*  This material, including documentation and any related
*  computer programs, is protected by copyright controlled by
*  Nokia Corporation.
* ==============================================================================
*/

#ifndef __HELPEXAMPLE_APPVIEW_H__
#define __HELPEXAMPLE_APPVIEW_H__

// INCLUDES
#include <coecntrl.h>

/**
*  CHelpExampleAppView
*  An instance of the Application View object for the HelpExample 
*  example application
*/
class CHelpExampleAppView : public CCoeControl
    {
        public: // Constructors and Destructor.

            /**
            * NewL()
            * Create a CHelpExampleAppView 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 CHelpExampleAppView
            */
            static CHelpExampleAppView* NewL( const TRect& aRect );

            /**
            * NewLC()
            * Create a CHelpExampleAppView 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 CHelpExampleAppView
            */
            static CHelpExampleAppView* NewLC( const TRect& aRect );


            /**
            * ~CHelpExampleAppView()
            * Destroy the object
            */
            virtual ~CHelpExampleAppView();


        public:  // from CCoeControl

            /**
            * Draw()
            * Draw this CHelpExampleAppView 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 CHelpExampleAppView object
            * @param aRect The rectangle this view will be drawn to
            */
            void ConstructL( const TRect& aRect );

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


#endif // __HELPEXAMPLE_APPVIEW_H__

// End of File

⌨️ 快捷键说明

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