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_protocol/pingproto.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_protocol/pingproto.cpp')
-rw-r--r-- | ping_protocol/pingproto.cpp | 18 |
1 files changed, 13 insertions, 5 deletions
diff --git a/ping_protocol/pingproto.cpp b/ping_protocol/pingproto.cpp index 9412233..eb98e4e 100644 --- a/ping_protocol/pingproto.cpp +++ b/ping_protocol/pingproto.cpp @@ -136,17 +136,18 @@ int GetStatus(WPARAM wParam,LPARAM lParam) }
// plugin stuff
-PLUGININFO pluginInfo={
- sizeof(PLUGININFO),
+PLUGININFOEX pluginInfo={
+ sizeof(PLUGININFOEX),
"Ping Protocol",
- PLUGIN_MAKE_VERSION(0, 4, 0, 0),
+ PLUGIN_MAKE_VERSION(0, 5, 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
+ { 0x9eb87960, 0x61ab, 0x4625, { 0x94, 0xc7, 0xa0, 0xee, 0xd, 0x9, 0x38, 0x85 } } // {9EB87960-61AB-4625-94C7-A0EE0D093885}
};
extern "C" BOOL WINAPI DllMain(HINSTANCE hinstDLL,DWORD fdwReason,LPVOID lpvReserved)
@@ -155,11 +156,18 @@ extern "C" BOOL WINAPI DllMain(HINSTANCE hinstDLL,DWORD fdwReason,LPVOID lpvRese return TRUE;
}
-extern "C" PINGPROTO_API PLUGININFO* MirandaPluginInfo(DWORD mirandaVersion)
+extern "C" PINGPROTO_API PLUGININFOEX* MirandaPluginInfoEx(DWORD mirandaVersion)
{
return &pluginInfo;
}
+static const MUUID interfaces[] = {MIID_PROTOCOL, MIID_PING, MIID_LAST};
+extern "C" __declspec(dllexport) const MUUID* MirandaPluginInterfaces(void)
+{
+ return interfaces;
+}
+
+
int ContactDeleted(WPARAM wParam, LPARAM lParam) {
if ( CallService(MS_PROTO_ISPROTOONCONTACT, wParam, (LPARAM)PROTO) ) {
CallService(MS_PROTO_REMOVEFROMCONTACT, wParam, (LPARAM)PROTO);
|