summaryrefslogtreecommitdiff
path: root/src/T2DLL/T2RegistedTenantDB.h
diff options
context:
space:
mode:
authorAsh Wolf <ninji@wuffs.org>2023-06-28 22:22:32 +0100
committerAsh Wolf <ninji@wuffs.org>2023-06-28 22:22:32 +0100
commitc0c336500955a23e344651e5412c9d9d441ef4ee (patch)
tree790769c748db307cf3314f6e896e2f61c68561a2 /src/T2DLL/T2RegistedTenantDB.h
parent37e364b2c6cc7487a1c888d256a73e5337bb7189 (diff)
downloadt2win-c0c336500955a23e344651e5412c9d9d441ef4ee.tar.gz
t2win-c0c336500955a23e344651e5412c9d9d441ef4ee.zip
first pass of T2DLL
Diffstat (limited to '')
-rw-r--r--src/T2DLL/T2RegistedTenantDB.h16
1 files changed, 7 insertions, 9 deletions
diff --git a/src/T2DLL/T2RegistedTenantDB.h b/src/T2DLL/T2RegistedTenantDB.h
index fbe75d9..365ab44 100644
--- a/src/T2DLL/T2RegistedTenantDB.h
+++ b/src/T2DLL/T2RegistedTenantDB.h
@@ -1,19 +1,17 @@
#pragma once
#include "common.h"
+#include "LArray.h"
-class T2RegistedTenantDB {
+class AFX_EXT_CLASS T2RegistedTenantDB : private LArray {
public:
T2RegistedTenantDB();
virtual ~T2RegistedTenantDB();
- void Init(T2TenantArrayList*);
- void AddItem(T2Tenant*);
- void RemoveItem(T2Tenant*);
- T2EquipPtrList* GetList(unsigned int) const;
- T2Tenant* GetFirstTenant(unsigned int) const;
+ void Init(T2TenantArrayList* tenantArrayList);
+ void AddItem(T2Tenant* tenant);
+ void RemoveItem(T2Tenant* tenant);
+ T2EquipPtrList* GetList(unsigned int registID) const;
+ T2Tenant* GetFirstTenant(unsigned int registID) const;
T2Tenant* SearchToilet(const T2RouteNavigator*, POINT, int&) const;
T2Tenant* FindEmptyParking() const;
T2Tenant* FindHisParking(T2People*) const;
-
- T2RegistedTenantDB(const T2RegistedTenantDB&) {}
- T2RegistedTenantDB& operator=(const T2RegistedTenantDB&) {}
};