diff options
author | sje <sje@4f64403b-2f21-0410-a795-97e2b3489a10> | 2007-03-19 01:28:47 +0000 |
---|---|---|
committer | sje <sje@4f64403b-2f21-0410-a795-97e2b3489a10> | 2007-03-19 01:28:47 +0000 |
commit | 9c6ffd1f25e7a5b23be5fbc719e29af54d75a5b7 (patch) | |
tree | 2608eb1931d906e80790e2e22df4285dc83c8a10 /ping/ping.cpp | |
parent | a788cc5902dda036c81b6e0ee25b742cf62d3a1b (diff) |
added GUID's
git-svn-id: https://server.scottellis.com.au/svn/mim_plugs@128 4f64403b-2f21-0410-a795-97e2b3489a10
Diffstat (limited to 'ping/ping.cpp')
-rw-r--r-- | ping/ping.cpp | 19 |
1 files changed, 14 insertions, 5 deletions
diff --git a/ping/ping.cpp b/ping/ping.cpp index c1cbfb5..90ebf36 100644 --- a/ping/ping.cpp +++ b/ping/ping.cpp @@ -10,17 +10,18 @@ HANDLE hFillListEvent = 0; bool use_raw_ping = true;
// plugin stuff
-PLUGININFO pluginInfo={
- sizeof(PLUGININFO),
+PLUGININFOEX pluginInfo={
+ sizeof(PLUGININFOEX),
"Ping Plugin",
- PLUGIN_MAKE_VERSION(0, 7, 0, 1),
+ PLUGIN_MAKE_VERSION(0, 8, 0, 0),
"Ping labelled IP addresses or domain names.",
"Scott Ellis",
"mail@scottellis.com.au",
"© 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
+ { 0x760ea901, 0xc0c2, 0x446c, { 0x80, 0x29, 0x94, 0xc3, 0xbc, 0x47, 0xc4, 0x5e } } // {760EA901-C0C2-446c-8029-94C3BC47C45E}
};
extern "C" BOOL WINAPI DllMain(HINSTANCE hinstDLL,DWORD fdwReason,LPVOID lpvReserved)
@@ -29,11 +30,19 @@ extern "C" BOOL WINAPI DllMain(HINSTANCE hinstDLL,DWORD fdwReason,LPVOID lpvRese return TRUE;
}
-extern "C" PING_API PLUGININFO* MirandaPluginInfo(DWORD mirandaVersion)
+extern "C" PING_API PLUGININFOEX* MirandaPluginInfoEx(DWORD mirandaVersion)
{
return &pluginInfo;
}
+static const MUUID interfaces[] = {MIID_PING, MIID_LAST};
+extern "C" __declspec(dllexport) const MUUID* MirandaPluginInterfaces(void)
+{
+ return interfaces;
+}
+
+
+
void CreatePluginServices() {
// general
CreateServiceFunction(PLUG "/Ping", PluginPing);
|