blob: 048e2c6f46ff8ff3042ced829cea4c1313f544fc (
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
|
#ifndef T2DLL_T2ADVERTISEPLUGIN_H
#define T2DLL_T2ADVERTISEPLUGIN_H
#include "../common.h"
#include "T2SubPlugin.h"
class AFX_CLASS_EXPORT T2AdvertisePlugin : public T2SubPlugin {
public:
T2AdvertisePlugin(DWORD type, T2PluginSpecifier& specifier);
virtual ~T2AdvertisePlugin();
void UnfoldPluginSelf();
unsigned int GetSubType();
unsigned int GetDay();
int GetMoney();
void GetPath(CString& outStr);
virtual unsigned long LoadSelf();
unsigned int GetRsrcType() { return 'AdPl'; }
protected:
virtual void LoadRsrcFromStream(CResFile& resFile);
DWORD mSubType;
unsigned short mCC;
unsigned int mD0;
unsigned int mDay;
int mMoney;
CString mPath;
};
#endif
|