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-09 22:12:10 +00:00
|
|
|
void StoreInstDLL(char*);
|
|
|
|
void StoreUninstDLL(char*);
|
|
|
|
char* GetInstDLL(int);
|
|
|
|
char* GetUninstDLL(int);
|
2002-08-05 02:05:00 +00:00
|
|
|
|
|
|
|
protected:
|
2002-08-09 22:12:10 +00:00
|
|
|
DefineList m_commands;
|
|
|
|
std::vector<char*> m_storedDLLs;
|
|
|
|
std::vector<char*> m_installDLLs;
|
|
|
|
std::vector<char*> m_uninstallDLLs;
|
2002-08-05 02:05:00 +00:00
|
|
|
|
|
|
|
void GetExports(char*,bool);
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
#endif
|