You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
kev/Drawer/SSBase/DataIO/DrawCommon/DispManagerInterface.h

29 lines
710 B
C++

#ifndef DISPMANAGERINTERFACE_H
#define DISPMANAGERINTERFACE_H
/** @brief 管理当前激活对象的接口 */
class CDispManagerInterface
{
public:
/** @brief 获取当前激活对象 */
virtual void GetActiveObject(LPARAM &pObject) {}
/** @brief 激活pObject所指对象 */
virtual bool ActiveObject(LPARAM pObject) {return false;}
/** @brief 获取CMapDocument对象 */
virtual bool GetMap(LPARAM &pMap) {return false;}
/** @brief 获取类名 */
virtual CString GetClassName() {return _T("");}
/** @brief 删除对象 */
virtual void DeleteObject(LPARAM pObject) {}
/** @brief 用于标识道对象管理树中对象是否需要更新 */
virtual bool GetModifyFlag() {return false;}
virtual void SetModifyFlag(bool bModified) {}
};
#endif