#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