From 81cb552e5a96b888c48502feadcc514b5d8069d3 Mon Sep 17 00:00:00 2001 From: sje Date: Tue, 10 Jul 2007 15:47:41 +0000 Subject: use undocumented 'buddy message 200' (which official client ignores) for miranda & myspace plugin version info implement adding a 'sent message' so you can see when you send a zap git-svn-id: https://server.scottellis.com.au/svn/mim_plugs@270 4f64403b-2f21-0410-a795-97e2b3489a10 --- MySpace/MySpace.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'MySpace/MySpace.cpp') diff --git a/MySpace/MySpace.cpp b/MySpace/MySpace.cpp index 921d616..ec43337 100644 --- a/MySpace/MySpace.cpp +++ b/MySpace/MySpace.cpp @@ -22,6 +22,8 @@ char MODULE[256]; MM_INTERFACE mmi; +char mir_ver[256]; + PLUGININFOEX pluginInfo={ sizeof(PLUGININFOEX), __PLUGIN_NAME, @@ -133,6 +135,10 @@ extern "C" __declspec (dllexport) int Load(PLUGINLINK *link) { CharUpperA(MODULE); } + char temp[256]; + CallService(MS_SYSTEM_GETVERSIONTEXT, 256, (LPARAM)temp); + mir_snprintf(mir_ver, 256, "Miranda IM %s (MySpace %d.%d.%d.%d)", temp, __FILEVERSION_STRING); + if(ServiceExists(MS_DB_SETSETTINGRESIDENT)) { // 0.6+ char buff[256]; mir_snprintf(buff, 256, "%s/%s", MODULE, "Status"); -- cgit v1.2.3