summaryrefslogtreecommitdiff
path: root/src/T2DLL/T2RegistedTenantDB.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/T2DLL/T2RegistedTenantDB.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/T2DLL/T2RegistedTenantDB.h b/src/T2DLL/T2RegistedTenantDB.h
new file mode 100644
index 0000000..fbe75d9
--- /dev/null
+++ b/src/T2DLL/T2RegistedTenantDB.h
@@ -0,0 +1,19 @@
+#pragma once
+#include "common.h"
+
+class T2RegistedTenantDB {
+public:
+ T2RegistedTenantDB();
+ virtual ~T2RegistedTenantDB();
+ void Init(T2TenantArrayList*);
+ void AddItem(T2Tenant*);
+ void RemoveItem(T2Tenant*);
+ T2EquipPtrList* GetList(unsigned int) const;
+ T2Tenant* GetFirstTenant(unsigned int) const;
+ T2Tenant* SearchToilet(const T2RouteNavigator*, POINT, int&) const;
+ T2Tenant* FindEmptyParking() const;
+ T2Tenant* FindHisParking(T2People*) const;
+
+ T2RegistedTenantDB(const T2RegistedTenantDB&) {}
+ T2RegistedTenantDB& operator=(const T2RegistedTenantDB&) {}
+};