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/CLink.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/T2DLL/CLink.h') diff --git a/src/T2DLL/CLink.h b/src/T2DLL/CLink.h index 3e8988b..abb7ca5 100644 --- a/src/T2DLL/CLink.h +++ b/src/T2DLL/CLink.h @@ -1,7 +1,7 @@ #pragma once #include "common.h" -class DLL_EXPORT CLink { +class AFX_EXT_CLASS CLink { public: CLink(); CLink(CLink* prev); @@ -16,14 +16,15 @@ public: void SetNext(CLink* l) { mNext = l; } void SetPrev(CLink* l) { mPrev = l; } -private: +protected: CLink *mNext; CLink *mPrev; friend class CLinkIterator; + friend class T2PeopleLinkIterator; }; -class DLL_EXPORT CLinkIterator { +class AFX_EXT_CLASS CLinkIterator { public: CLinkIterator(CLink* start); virtual ~CLinkIterator(); -- cgit v1.2.3