diff options
author | Ash Wolf <ninji@wuffs.org> | 2023-06-28 22:22:32 +0100 |
---|---|---|
committer | Ash Wolf <ninji@wuffs.org> | 2023-06-28 22:22:32 +0100 |
commit | c0c336500955a23e344651e5412c9d9d441ef4ee (patch) | |
tree | 790769c748db307cf3314f6e896e2f61c68561a2 /src/T2DLL/CLink.h | |
parent | 37e364b2c6cc7487a1c888d256a73e5337bb7189 (diff) | |
download | t2win-c0c336500955a23e344651e5412c9d9d441ef4ee.tar.gz t2win-c0c336500955a23e344651e5412c9d9d441ef4ee.zip |
first pass of T2DLL
Diffstat (limited to '')
-rw-r--r-- | src/T2DLL/CLink.h | 7 |
1 files changed, 4 insertions, 3 deletions
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(); |