2019-09-15 03:24:12 +08:00
|
|
|
#ifndef DLL_H
|
|
|
|
#define DLL_H
|
|
|
|
#include <iostream>
|
|
|
|
#include <windows.h>
|
2019-11-04 11:06:07 +08:00
|
|
|
#include "GenericMod.h"
|
2019-09-15 03:24:12 +08:00
|
|
|
|
|
|
|
class DLL
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
std::string fileName;
|
|
|
|
HMODULE handle;
|
|
|
|
|
2019-09-15 07:59:24 +08:00
|
|
|
FARPROC ModPreInitialize;
|
2019-09-15 03:24:12 +08:00
|
|
|
FARPROC ModMajorVersion;
|
|
|
|
FARPROC ModMinorVersion;
|
2019-11-04 11:06:07 +08:00
|
|
|
FARPROC MakeMod;
|
2019-09-15 03:24:12 +08:00
|
|
|
|
2019-11-04 11:06:07 +08:00
|
|
|
GenericMod* mod;
|
2019-09-15 03:24:12 +08:00
|
|
|
|
|
|
|
DLL(std::string fileName);
|
|
|
|
HMODULE Load();
|
|
|
|
virtual ~DLL();
|
|
|
|
|
|
|
|
protected:
|
|
|
|
|
|
|
|
private:
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // DLL_H
|