diff options
author | Ash Wolf <ninji@wuffs.org> | 2023-07-01 02:43:29 +0100 |
---|---|---|
committer | Ash Wolf <ninji@wuffs.org> | 2023-07-01 02:43:29 +0100 |
commit | 5c6a48b2ff362a70416a6a00fda7d06e0f276f2d (patch) | |
tree | 62cf542c68d91aa6f7a4e3bfa9eddca4ab352970 /src/T2DLL/T2SubPlugin.h | |
parent | c0c336500955a23e344651e5412c9d9d441ef4ee (diff) | |
download | t2win-5c6a48b2ff362a70416a6a00fda7d06e0f276f2d.tar.gz t2win-5c6a48b2ff362a70416a6a00fda7d06e0f276f2d.zip |
i am in hell
Diffstat (limited to '')
-rw-r--r-- | src/T2DLL/T2SubPlugin.h | 21 |
1 files changed, 12 insertions, 9 deletions
diff --git a/src/T2DLL/T2SubPlugin.h b/src/T2DLL/T2SubPlugin.h index 2865c92..4f89ccb 100644 --- a/src/T2DLL/T2SubPlugin.h +++ b/src/T2DLL/T2SubPlugin.h @@ -2,26 +2,29 @@ #include "common.h" #include "CResourcePlugin.h" -class AFX_EXT_CLASS T2SubPlugin : public CResourcePlugin { +class AFX_CLASS_EXPORT T2SubPlugin : public CResourcePlugin { public: T2SubPlugin(DWORD type, T2PluginSpecifier& specifier); virtual ~T2SubPlugin(); virtual DWORD GetPluginStyle() { return 'SPlg'; } + + BOOL IsTieup() { return mTieup != NULL; } + BOOL IsTieupFinish(); + + unsigned int GetOpenTime() const { return mOpenTime; } + void SetOpenTime(unsigned int t) { mOpenTime = t; } + unsigned int GetCloseTime() const { return mCloseTime; } + void SetCloseTime(unsigned int t) { mCloseTime = t; } + virtual void GetTitle(CString& outStr); virtual int GetBindTime() { return 1; } virtual void GlobalData(T2GlobalData*) {} - virtual unsigned long LoadSelf() { return 0; } - BOOL IsTieupFinish(); - BOOL IsTieup() { return mTieup != NULL; } - - unsigned int GetOpenTime() const { return mOpenTime; } - void SetOpenTime(unsigned int t) { mOpenTime = t; } - unsigned int GetCloseTime() const { return mCloseTime; } - void SetCloseTime(unsigned int t) { mCloseTime = t; } int DupCustomerTableDefRes() { return mDupCustomerTableDefRes; } T2ImageObj* GetImageObj() { return mImageObj; } + virtual unsigned long LoadSelf() { return 0; } + protected: virtual void LoadRsrcFromStream(CResFile& resFile); |