2002-08-05 02:05:00 +00:00
|
|
|
|
|
|
|
|
2002-08-05 19:13:52 +00:00
|
|
|
#ifndef __X18_PLUGINS_H
|
|
|
|
#define __X18_PLUGINS_H
|
2002-08-05 02:05:00 +00:00
|
|
|
|
|
|
|
|
|
|
|
#include <windows.h>
|
|
|
|
#include <stdio.h>
|
|
|
|
#include "strlist.h"
|
|
|
|
#include <vector>
|
|
|
|
|
|
|
|
|
2002-08-05 19:13:52 +00:00
|
|
|
class Plugins
|
2002-08-05 02:05:00 +00:00
|
|
|
{
|
|
|
|
public:
|
|
|
|
void FindCommands(char*,bool);
|
2002-08-05 19:13:52 +00:00
|
|
|
bool IsPluginCommand(char*);
|
|
|
|
char* GetPluginDll(char*);
|
2002-08-05 02:05:00 +00:00
|
|
|
int GetDllDataHandle(char*);
|
|
|
|
void StoreDllDataHandle(char*,int);
|
|
|
|
|
|
|
|
protected:
|
|
|
|
DefineList m_commands;
|
|
|
|
std::vector<int> m_dataHandles;
|
|
|
|
|
|
|
|
void GetExports(char*,bool);
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
#endif
|