diff options
Diffstat (limited to '')
-rw-r--r-- | src/T2DLL/T2ToolDefList.h | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/src/T2DLL/T2ToolDefList.h b/src/T2DLL/T2ToolDefList.h new file mode 100644 index 0000000..ab9d885 --- /dev/null +++ b/src/T2DLL/T2ToolDefList.h @@ -0,0 +1,35 @@ +#pragma once +#include "common.h" + +class T2ToolDefDB { +public: + T2ToolDefDB(const T2ToolDefDB&); + T2ToolDefDB& operator=(const T2ToolDefDB&); + T2ToolDefDB(); + virtual ~T2ToolDefDB(); + void AllClear(); + void Regist(T2ToolDef*); + void Add(T2ToolDefList*); + T2ToolDefList* GetToolDefList(int); + T2TenantDef* FindFloor(); +}; +class T2ToolDefList { +public: + int GetCategory(); + int GetCurrentItem(); + void SetCurrentItem(int); + int GetCurrentVariant(); + void SetCurrentVariant(int); + T2ToolDefList(const T2ToolDefList&); + T2ToolDefList& operator=(const T2ToolDefList&); + T2ToolDefList(int); + virtual ~T2ToolDefList(); + void AllClear(); + void Regist(T2ToolDef*); + void Add(T2ToolDef*); + unsigned int GetItemCount(); + T2ToolDef* GetItemAt(int); + T2TenantDef* FindFloor(); + T2TenantDef* FindTenantDef(int); + T2MoverDef* FindMoverDef(int); +}; |