shapedrawergraphicview.h

来自「series60 应用程序开发的源代码 series60 应用程序开发的源代码」· C头文件 代码 · 共 57 行

H
57
字号
#ifndef __SHAPEDRAWER_GRAPHICVIEW_H__
#define __SHAPEDRAWER_GRAPHICVIEW_H__

//INCLUDES

// System includes
#include <aknview.h>    

//User Includes
#include "shapedrawerdocument.h"

// FORWARD DECLARATIONS
class CShapeDrawerGraphicViewContainer;

/**
*
* @class    CShapeDrawerGraphicView ShapeDrawerGraphicView.h 
* @brief    This class holds the container class that draws
* the graphic representation of the shapes the user has added.
*
* Copyright (c) EMCC Software Ltd 2003
* @version    1.0
* 
*/
class CShapeDrawerGraphicView: public CAknView
{
public: // constructors and destructor
    static CShapeDrawerGraphicView* NewL();
    static CShapeDrawerGraphicView* NewLC();
    CShapeDrawerGraphicViewContainer* Container();
    ~CShapeDrawerGraphicView();
    CShapeDrawerAppUi& GetAppUi();
    
private: // from CAknView
    TUid Id() const;
    void HandleCommandL(TInt aCommand);
    CShapeDrawerGraphicView();

    void DoActivateL(
        const TVwsViewId& aPrevViewId,
        TUid aCustomMessageId,
        const TDesC8& aCustomMessage);
    
    void DoDeactivate();
    
private: // constructors
    void ConstructL();
    
private: // data
    CShapeDrawerGraphicViewContainer* iContainer; // what this view will display
    TUid iId;
};

#endif    // __SHAPEDRAWER_GRAPHIC_VIEW_H__

// End of File

⌨️ 快捷键说明

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