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:
|
2003-03-08 20:13:04 +00:00
|
|
|
Plugins();
|
|
|
|
|
2002-08-05 02:05:00 +00:00
|
|
|
void FindCommands(char*,bool);
|
2002-08-05 19:13:52 +00:00
|
|
|
bool IsPluginCommand(char*);
|
2002-12-21 09:14:28 +00:00
|
|
|
char* GetPluginDll(int, char**, int*);
|
2002-11-22 12:45:38 +00:00
|
|
|
void SetDllDataHandle(int, char*, int);
|
2002-08-05 02:05:00 +00:00
|
|
|
|
|
|
|
protected:
|
2002-11-14 19:43:14 +00:00
|
|
|
DefineList m_commands;
|
|
|
|
GrowBuf m_dataHandles;
|
2002-11-22 12:45:38 +00:00
|
|
|
GrowBuf m_uninstDataHandles;
|
2002-11-14 19:43:14 +00:00
|
|
|
int m_funcsCount;
|
2002-08-05 02:05:00 +00:00
|
|
|
|
|
|
|
void GetExports(char*,bool);
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
#endif
|