basicdrawingview.h

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

H
56
字号
#ifndef BASICDRAWINGVIEW_H
#define BASICDRAWINGVIEW_H

// INCLUDES

// System includes
#include <aknview.h>    // CAknView

// CONSTANTS
// UID of view
const TUid KViewId = { 1 };

// FORWARD DECLARATIONS
class CBasicDrawingContainer;

// CLASS DECLARATION

/**
 *
 * @class    CBasicDrawingView BasicDrawingView.h 
 * @brief    This is a view class which holds the Container, which is derived from CCoeControl
 * and which will perform the drawing
 *
 * Copyright (c) EMCC Software Ltd 2003
 * @version    1.0
 * 
 */
class CBasicDrawingView : public CAknView
{
public:    // Construction
    static CBasicDrawingView* NewL();
    static CBasicDrawingView* NewLC();
    ~CBasicDrawingView();    

private:    // from CAknView    
    TUid Id() const;
    void HandleCommandL(TInt aCommand);

    void DoActivateL(
        const TVwsViewId& aPrevViewId,
        TUid aCustomMessageId,
        const TDesC8& aCustomMessage);

    void DoDeactivate();

private:    // Construction
    void ConstructL();

private:    // Data
    CBasicDrawingContainer* iContainer;
};

#endif    // BASICDRAWINGVIEW_H

// End of File

⌨️ 快捷键说明

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