summaryrefslogtreecommitdiff
path: root/src/T2DLL/T2RegistedTenantIterator.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/T2DLL/T2RegistedTenantIterator.h')
-rw-r--r--src/T2DLL/T2RegistedTenantIterator.h14
1 files changed, 9 insertions, 5 deletions
diff --git a/src/T2DLL/T2RegistedTenantIterator.h b/src/T2DLL/T2RegistedTenantIterator.h
index 7f4a58a..61c06fb 100644
--- a/src/T2DLL/T2RegistedTenantIterator.h
+++ b/src/T2DLL/T2RegistedTenantIterator.h
@@ -1,12 +1,16 @@
#pragma once
#include "common.h"
-class T2RegistedTenantIterator {
+class AFX_EXT_CLASS T2RegistedTenantIterator {
public:
- T2RegistedTenantIterator(const T2RegistedTenantDB*, unsigned int, const T2RouteNavigator*, POINT);
+ T2RegistedTenantIterator(const T2RegistedTenantDB* db, unsigned int registID, const T2RouteNavigator* routeNavigator, POINT point);
~T2RegistedTenantIterator();
- int Next(T2Tenant*&);
- int NextJob(T2Tenant*&);
+ BOOL Next(T2Tenant*& pTenant);
+ BOOL NextJob(T2Tenant*& pTenant);
- T2RegistedTenantIterator& operator=(const T2RegistedTenantIterator&) {}
+protected:
+ T2EquipPtrList *mEquipPtrList;
+ const T2RouteNavigator *mRouteNavigator;
+ POINT mPoint;
+ int mIndex;
};