// PellesC n'arrive pas à lire le fichier d'include officiel
// Alors ici se trouvent les infos vitales pour créer le plugin.

#define KMEL_PLUGIN_VER_MAJOR 0x0200
#define KMEL_PLUGIN_VER_MINOR 0x0004
#define KMEL_PLUGIN_VER KMEL_PLUGIN_VER_MAJOR | KMEL_PLUGIN_VER_MINOR

#define KMELEON_PLUGIN __declspec(dllexport)

typedef struct kmeleonPlugin {
	// Filled in by the plugin
	int version;
	char *description;
   	long  (*DoMessage)(const char *to, const char *from, const char *subject, long data1, long data2);
  	// Filled in by k-meleon
	HINSTANCE hParentInstance;
	HINSTANCE hDllInstance;
	long (*SendMessage)(const char *to, const char *from, const char *subject, long data1, long data2);
	char *dllname;
	BOOL loaded;
} kmeleonPlugin;
