From 37e364b2c6cc7487a1c888d256a73e5337bb7189 Mon Sep 17 00:00:00 2001 From: Ash Wolf Date: Wed, 14 Jun 2023 00:50:34 +0100 Subject: initial commit --- src/T2DLL/T2RegistedTenantDB.h | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 src/T2DLL/T2RegistedTenantDB.h (limited to 'src/T2DLL/T2RegistedTenantDB.h') 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&) {} +}; -- cgit v1.2.3