diff options
author | Ash Wolf <ninji@wuffs.org> | 2023-06-14 00:50:34 +0100 |
---|---|---|
committer | Ash Wolf <ninji@wuffs.org> | 2023-06-14 00:50:34 +0100 |
commit | 37e364b2c6cc7487a1c888d256a73e5337bb7189 (patch) | |
tree | eaf6e857382eef16c2dd940eb4125536fbe068bd /src/T2DLL/T2ToolDefList.h | |
download | t2win-37e364b2c6cc7487a1c888d256a73e5337bb7189.tar.gz t2win-37e364b2c6cc7487a1c888d256a73e5337bb7189.zip |
initial commit
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); +}; |