diff options
Diffstat (limited to 'src/T2DLL/T2OuterObjDef.h')
-rw-r--r-- | src/T2DLL/T2OuterObjDef.h | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/src/T2DLL/T2OuterObjDef.h b/src/T2DLL/T2OuterObjDef.h index 1ffea45..4cb0364 100644 --- a/src/T2DLL/T2OuterObjDef.h +++ b/src/T2DLL/T2OuterObjDef.h @@ -1,19 +1,21 @@ #pragma once #include "common.h" +#include "T2ToolDef.h" -class T2OuterObjDef { +class AFX_EXT_CLASS T2OuterObjDef : public T2ToolDef { public: - T2OuterObjDef(unsigned long, T2PluginSpecifier&, CResFile*, T2WorldDef*, T2ToolPlugin*); + T2OuterObjDef(DWORD, T2PluginSpecifier&, CResFile*, T2WorldDef*, T2ToolPlugin*); virtual ~T2OuterObjDef(); + virtual BOOL IsOutObj() { return true; } virtual CURSORTYPE QueryCursor(T2TowerDoc*, POINT, CString&, RECT&, POINT&, int, unsigned int, int); virtual void DrawProc(T2HaveOutViewObject*, const RECT&, T2TowerDoc*) const; + virtual PROCCODE DoDestructProc(T2TowerDoc*, T2HaveOutViewObject*, POINT, RECT&); + virtual void SetTenantDef(T2TenantDef* def) { mTenantDef = def; } virtual AREACHECKCODE AreaCheck(T2TowerDoc*, RECT&, unsigned int, int); virtual T2InfoDialog* ShowInfoDialog(T2TowerDoc*, T2OutObj*); virtual int GetInfoDialogID(T2TowerDoc*, const T2OutObj*) const; virtual T2InfoDialog* ConstructInfoDialog(T2OutObj*); - virtual PROCCODE DoDestructProc(T2TowerDoc*, T2HaveOutViewObject*, POINT, RECT&); - virtual int IsOutObj() {} - virtual void SetTenantDef(T2TenantDef*) {} - T2OuterObjDef& operator=(T2OuterObjDef&) {} +protected: + T2TenantDef *mTenantDef; }; |