blob: 7f46cdcea728ce5a5dd8185c8b9f8bb9cf51454a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#ifndef T2DLL_T2REGISTEDTENANTDB_H
#define T2DLL_T2REGISTEDTENANTDB_H
#include "../common.h"
#include "LArray.h"
class AFX_CLASS_EXPORT T2RegistedTenantDB : private LArray {
public:
T2RegistedTenantDB();
virtual ~T2RegistedTenantDB();
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;
};
#endif
|