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/T2SubPlugin.h | |
parent | 37e364b2c6cc7487a1c888d256a73e5337bb7189 (diff) | |
download | t2win-c0c336500955a23e344651e5412c9d9d441ef4ee.tar.gz t2win-c0c336500955a23e344651e5412c9d9d441ef4ee.zip |
first pass of T2DLL
Diffstat (limited to '')
-rw-r--r-- | src/T2DLL/T2SubPlugin.h | 10 |
1 files changed, 5 insertions, 5 deletions
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; }; |