From c0c336500955a23e344651e5412c9d9d441ef4ee Mon Sep 17 00:00:00 2001 From: Ash Wolf Date: Wed, 28 Jun 2023 22:22:32 +0100 Subject: first pass of T2DLL --- src/T2DLL/T2RegistedTenantIterator.h | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) (limited to 'src/T2DLL/T2RegistedTenantIterator.h') 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; }; -- cgit v1.2.3