summaryrefslogtreecommitdiff
path: root/iax
diff options
context:
space:
mode:
Diffstat (limited to 'iax')
-rw-r--r--iax/dllmain.cpp15
-rw-r--r--iax/private.h4
2 files changed, 13 insertions, 6 deletions
diff --git a/iax/dllmain.cpp b/iax/dllmain.cpp
index 86866c3..5e10508 100644
--- a/iax/dllmain.cpp
+++ b/iax/dllmain.cpp
@@ -15,8 +15,8 @@ HINSTANCE hInst;
PLUGINLINK *pluginLink;
// plugin stuff
-PLUGININFO pluginInfo={
- sizeof(PLUGININFO),
+PLUGININFOEX pluginInfo={
+ sizeof(PLUGININFOEX),
MODULE,
PLUGIN_MAKE_VERSION(VER_MAJOR, VER_MINOR, VER_RELEASE, VER_BUILD),
DESC_STRING,
@@ -25,7 +25,8 @@ PLUGININFO pluginInfo={
"© 2005 Scott Ellis",
"http://www.scottellis.com.au/",
0, //not transient
- 0 //doesn't replace anything built-in
+ 0, //doesn't replace anything built-in
+ { 0x65e1a7f4, 0x1408, 0x4462, { 0xb8, 0xfd, 0x9d, 0xab, 0xb8, 0x37, 0x1f, 0x81 } } // {65E1A7F4-1408-4462-B8FD-9DABB8371F81}
};
extern "C" BOOL APIENTRY DllMain(HINSTANCE hinstDLL,DWORD fdwReason,LPVOID lpvReserved) {
@@ -33,10 +34,16 @@ extern "C" BOOL APIENTRY DllMain(HINSTANCE hinstDLL,DWORD fdwReason,LPVOID lpvRe
return TRUE;
}
-extern "C" __declspec (dllexport) PLUGININFO* __cdecl MirandaPluginInfo(DWORD mirandaVersion) {
+extern "C" __declspec (dllexport) PLUGININFOEX* __cdecl MirandaPluginInfoEx(DWORD mirandaVersion) {
return &pluginInfo;
}
+static const MUUID interfaces[] = {MIID_PROTOCOL, MIID_LAST};
+__declspec(dllexport) const MUUID* MirandaPluginInterfaces(void)
+{
+ return interfaces;
+}
+
int ModulesLoaded(WPARAM wParam, LPARAM lParam) {
if(ServiceExists(MS_UPDATE_REGISTER)) {
// register with updater
diff --git a/iax/private.h b/iax/private.h
index 84ad034..fe727c9 100644
--- a/iax/private.h
+++ b/iax/private.h
@@ -3,8 +3,8 @@
/* VERSION DEFINITIONS */
#define VER_MAJOR 0
-#define VER_MINOR 0
-#define VER_RELEASE 3
+#define VER_MINOR 1
+#define VER_RELEASE 0
#define VER_BUILD 0
#define __STRINGIZE(x) #x