summaryrefslogtreecommitdiff
path: root/clist_classic_sje/init.c
diff options
context:
space:
mode:
Diffstat (limited to 'clist_classic_sje/init.c')
-rw-r--r--clist_classic_sje/init.c31
1 files changed, 20 insertions, 11 deletions
diff --git a/clist_classic_sje/init.c b/clist_classic_sje/init.c
index b9a26c2..25b331b 100644
--- a/clist_classic_sje/init.c
+++ b/clist_classic_sje/init.c
@@ -63,31 +63,40 @@ BOOL WINAPI DllMain(HINSTANCE hInstDLL, DWORD dwReason, LPVOID reserved)
/////////////////////////////////////////////////////////////////////////////////////////
// returns the plugin information
-PLUGININFO pluginInfo = {
- sizeof(PLUGININFO),
- #if defined( _UNICODE )
- "Classic contact list [sje mod] (Unicode)",
- #else
- "Classic contact list [sje mod]",
- #endif
- PLUGIN_MAKE_VERSION(0, 2, 4, 1),
-
+PLUGININFOEX pluginInfo = {
+ sizeof(PLUGININFOEX),
+ "Classic contact list [sje mod]",
+ PLUGIN_MAKE_VERSION(0, 3, 0, 0),
"Display contacts, event notifications, protocol status",
"Miranda IM project",
"mail@scottellis.com.au",
"Copyright 2000-2006 Miranda IM project, 2006 Scott Ellis",
"http://www.scottellis.com.au",
UNICODE_AWARE,
- DEFMOD_CLISTALL
+ DEFMOD_CLISTALL,
+ #if defined( _UNICODE )
+ //{0x240a91dc, 0x9464, 0x457a, { 0x97, 0x87, 0xff, 0x1e, 0xa8, 0x8e, 0x77, 0xe3 }} //{240A91DC-9464-457a-9787-FF1EA88E77E3}
+ { 0x345c2f5b, 0x3fd3, 0x4cae, { 0xa9, 0xc0, 0xa, 0x1f, 0x5, 0x38, 0xa3, 0xb1 } } // {345C2F5B-3FD3-4cae-A9C0-0A1F0538A3B1}
+ #else
+ //{0x552cf71a, 0x249f, 0x4650, { 0xbb, 0x2b, 0x7c, 0xdb, 0x1f, 0xe7, 0xd1, 0x78 }} //{552CF71A-249F-4650-BB2B-7CDB1FE7D178}
+ { 0x789c7d9b, 0x45b4, 0x4768, { 0x9c, 0xfc, 0x50, 0x10, 0x25, 0x2c, 0x21, 0xa4 } } // {789C7D9B-45B4-4768-9CFC-5010252C21A4}
+ #endif
};
-__declspec(dllexport) PLUGININFO *MirandaPluginInfo(DWORD mirandaVersion)
+__declspec(dllexport) PLUGININFOEX *MirandaPluginInfoEx(DWORD mirandaVersion)
{
if (mirandaVersion < PLUGIN_MAKE_VERSION(0, 4, 3, 0))
return NULL;
return &pluginInfo;
}
+
+static const MUUID interfaces[] = {MIID_CLIST, MIID_LAST};
+__declspec(dllexport) const MUUID * MirandaPluginInterfaces(void)
+{
+ return interfaces;
+}
+
/////////////////////////////////////////////////////////////////////////////////////////
// called when all modules got loaded