shapeinterface.h

来自「symbian操作系统应用程序开发 作者周忠良」· C头文件 代码 · 共 40 行

H
40
字号

#ifndef __SHAPEINTERFACE_H__
#define __SHAPEINTERFACE_H__

#include <e32base.h>
#include <ECom.h>

// Foware declared...
class CWindowGc;

/**
*
* @class    CShape ShapeInterface.h
* @brief    This is the CShape interface definition class
*
* Copyright (c) EMCC Software Ltd 2003
* @version    1.0
*
*/

class CShape : public CBase
{
    public:
        static CShape* NewL();

        static CShape* NewL (const TDesC8& aMatch);

        virtual ~CShape();

        virtual void Draw (CWindowGc& aGraphicsContext) const = 0;

    private:
        TUid iDestructorIDKey;
};

// This includes the implementation of the instantiation functions and
// destructor
#include "shapeinterface.inl"

#endif

⌨️ 快捷键说明

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