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/T2SubPlugin.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/T2DLL/T2SubPlugin.h') diff --git a/src/T2DLL/T2SubPlugin.h b/src/T2DLL/T2SubPlugin.h index 9b6a809..2865c92 100644 --- a/src/T2DLL/T2SubPlugin.h +++ b/src/T2DLL/T2SubPlugin.h @@ -2,18 +2,18 @@ #include "common.h" #include "CResourcePlugin.h" -class T2SubPlugin : public CResourcePlugin { +class AFX_EXT_CLASS T2SubPlugin : public CResourcePlugin { public: T2SubPlugin(DWORD type, T2PluginSpecifier& specifier); virtual ~T2SubPlugin(); - virtual unsigned long GetPluginStyle() { return 'SPlg'; } + virtual DWORD GetPluginStyle() { return 'SPlg'; } virtual void GetTitle(CString& outStr); virtual int GetBindTime() { return 1; } virtual void GlobalData(T2GlobalData*) {} virtual unsigned long LoadSelf() { return 0; } - int IsTieupFinish(); - int IsTieup() { return mTieup != NULL; } + BOOL IsTieupFinish(); + BOOL IsTieup() { return mTieup != NULL; } unsigned int GetOpenTime() const { return mOpenTime; } void SetOpenTime(unsigned int t) { mOpenTime = t; } @@ -31,6 +31,6 @@ protected: int mDupCustomerTableDefRes; unsigned int mOpenTime; unsigned int mCloseTime; - T2BitImage *mBitImage; + T2BitImage *mImage; T2ImageObj *mImageObj; }; -- cgit v1.2.3