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/T2SubPlugin.h | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) (limited to 'src/T2DLL/T2SubPlugin.h') 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); -- cgit v1.2.3