blob: 4f89ccba261c9256ad143667a76561e9ca9e03e5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
#pragma once
#include "common.h"
#include "CResourcePlugin.h"
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*) {}
int DupCustomerTableDefRes() { return mDupCustomerTableDefRes; }
T2ImageObj* GetImageObj() { return mImageObj; }
virtual unsigned long LoadSelf() { return 0; }
protected:
virtual void LoadRsrcFromStream(CResFile& resFile);
int m6C; // unknown
char mTitle[64];
CTime *mTieup;
int mDupCustomerTableDefRes;
unsigned int mOpenTime;
unsigned int mCloseTime;
T2BitImage *mImage;
T2ImageObj *mImageObj;
};
|