summaryrefslogtreecommitdiff
path: root/src/T2DLL/T2TenantArrayList.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/T2TenantArrayList.h
parent37e364b2c6cc7487a1c888d256a73e5337bb7189 (diff)
downloadt2win-c0c336500955a23e344651e5412c9d9d441ef4ee.tar.gz
t2win-c0c336500955a23e344651e5412c9d9d441ef4ee.zip
first pass of T2DLL
Diffstat (limited to '')
-rw-r--r--src/T2DLL/T2TenantArrayList.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/T2DLL/T2TenantArrayList.h b/src/T2DLL/T2TenantArrayList.h
index 5405649..1192bc7 100644
--- a/src/T2DLL/T2TenantArrayList.h
+++ b/src/T2DLL/T2TenantArrayList.h
@@ -1,7 +1,8 @@
#pragma once
#include "common.h"
+#include "LArray.h"
-class T2TenantArrayList {
+class AFX_EXT_CLASS T2TenantArrayList : public LArray {
public:
T2TenantArrayList();
virtual ~T2TenantArrayList();
@@ -15,12 +16,12 @@ public:
void TenantRemoved(unsigned int);
void BreakoutEmergency(T2TowerDoc*);
int CalcMentenanceCost(T2TowerDoc*) const;
- LArray* MakeTenantList(int);
- LArray* MakeTenantList(int, (__cdecl*)(class, const T2Tenant*, ));
+ LArray* MakeTenantList(int type);
+ LArray* MakeTenantList(BOOL (*func) (const T2Tenant*));
void Read(T2Archive&, T2TowerDoc*);
void Write(T2Archive&);
void RecoverRelatedTenantList(T2RegistedTenantDB*);
- T2TenantArrayList(const T2TenantArrayList&) {}
- T2TenantArrayList& operator=(const T2TenantArrayList&) {}
+protected:
+ int mCounter;
};