From 5c6a48b2ff362a70416a6a00fda7d06e0f276f2d Mon Sep 17 00:00:00 2001 From: Ash Wolf Date: Sat, 1 Jul 2023 02:43:29 +0100 Subject: i am in hell --- src/T2DLL/T2HaveOutViewObject.h | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'src/T2DLL/T2HaveOutViewObject.h') diff --git a/src/T2DLL/T2HaveOutViewObject.h b/src/T2DLL/T2HaveOutViewObject.h index a035fa1..73081ed 100644 --- a/src/T2DLL/T2HaveOutViewObject.h +++ b/src/T2DLL/T2HaveOutViewObject.h @@ -2,7 +2,7 @@ #include "common.h" #include "T2DrawableObject.h" -class AFX_EXT_CLASS T2HaveOutViewObject : public T2DrawableObject { +class AFX_CLASS_EXPORT T2HaveOutViewObject : public T2DrawableObject { public: T2HaveOutViewObject(); virtual ~T2HaveOutViewObject(); @@ -15,8 +15,7 @@ public: T2ToolDef* GetToolDef() const; void SetToolDef(T2ToolDef*); int CalcMentenanceCost(T2TowerDoc*) const; - - unsigned int GetValiation() const { return mValiation; } + unsigned int GetValiation() const; T2ToolDef *mToolDef; int mRefCon; @@ -27,3 +26,7 @@ protected: virtual void SetUsed(BOOL inUsed); virtual void InitLoaded(); }; + +inline unsigned int T2HaveOutViewObject::GetValiation() const { + return mValiation; +} -- cgit v1.2.3