From d2946eb5bb3692806bb67e6e8a8d981f0e599850 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 2 Aug 2012 21:21:45 +0000 Subject: removal of the rest of __DATE__ and __TIME__ git-svn-id: http://svn.miranda-ng.org/main/trunk@1332 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/!NotAdopted/SmartAutoAway/saa.cpp | 12 +++++------- plugins/!NotAdopted/SmartAutoAway/saani.c | 12 +++++------- 2 files changed, 10 insertions(+), 14 deletions(-) (limited to 'plugins/!NotAdopted/SmartAutoAway') diff --git a/plugins/!NotAdopted/SmartAutoAway/saa.cpp b/plugins/!NotAdopted/SmartAutoAway/saa.cpp index a36e5b5981..0bcc701c0d 100644 --- a/plugins/!NotAdopted/SmartAutoAway/saa.cpp +++ b/plugins/!NotAdopted/SmartAutoAway/saa.cpp @@ -2,8 +2,8 @@ Miranda IM: the free IM client for Microsoft* Windows* -Copyright 2000-2006 Miranda ICQ/IM project, -all portions of this codebase are copyrighted to the people +Copyright 2000-2006 Miranda ICQ/IM project, +all portions of this codebase are copyrighted to the people listed in contributors.txt. This program is free software; you can redistribute it and/or @@ -81,7 +81,7 @@ extern "C" __declspec(dllexport) PLUGININFOEX *MirandaPluginInfo(DWORD mirandaVe mirandaVersion&0xFF ); }; - sprintf(description,"%s\r\n[Build %s %s]",description, __DATE__,__TIME__); + pluginInfo.description = description; if ( mirandaVersion < PLUGIN_MAKE_VERSION( 0,7,0,17 )) pluginInfo.cbSize = sizeof( PLUGININFO ); return &pluginInfo; @@ -92,7 +92,7 @@ extern "C" __declspec(dllexport) PLUGININFOEX * MirandaPluginInfoEx(DWORD mirand isNewMiranda=true; return MirandaPluginInfo(mirandaVersion); } - + extern "C" __declspec(dllexport) const MUUID interfaces[] = {MIID_AUTOAWAY, MIID_IDLE, MIID_LAST}; extern "C" __declspec(dllexport) const MUUID * MirandaPluginInterfaces(void) { @@ -104,7 +104,7 @@ extern "C" int __declspec(dllexport) Load(PLUGINLINK * link) pluginLink = link; LoadAutoAwayModule(); hUxTheme = GetModuleHandle(_T("uxtheme.dll")); - if(hUxTheme) + if(hUxTheme) enableThemeDialogTexture = (BOOL (WINAPI *)(HANDLE, DWORD))GetProcAddress(hUxTheme, "EnableThemeDialogTexture"); return 0; } @@ -126,5 +126,3 @@ extern "C" int __declspec(dllexport) Unload(void) return 1; //if 1 we dont want to shutdown because we have hooked ME_SYSTEM_SHUTDOWN } - - diff --git a/plugins/!NotAdopted/SmartAutoAway/saani.c b/plugins/!NotAdopted/SmartAutoAway/saani.c index 088a60e22e..605a3fab54 100644 --- a/plugins/!NotAdopted/SmartAutoAway/saani.c +++ b/plugins/!NotAdopted/SmartAutoAway/saani.c @@ -2,8 +2,8 @@ Miranda IM: the free IM client for Microsoft* Windows* -Copyright 2000-2006 Miranda ICQ/IM project, -all portions of this codebase are copyrighted to the people +Copyright 2000-2006 Miranda ICQ/IM project, +all portions of this codebase are copyrighted to the people listed in contributors.txt. This program is free software; you can redistribute it and/or @@ -24,7 +24,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. //#ifdef VCL_VC60 #include "AggressiveOptimize.h" //#endif -#include +#include #include PLUGININFOEX pluginInfo = { @@ -55,9 +55,8 @@ __declspec(dllexport) PLUGININFOEX *MirandaPluginInfo(DWORD mirandaVersion) mirandaVersion&0xFF ); } - sprintf(description,"%s\r\n[Build %s %s]",description, __DATE__,__TIME__); pluginInfo.description = description; - return &pluginInfo; + return &pluginInfo; } __declspec(dllexport) PLUGININFOEX * MirandaPluginInfoEx(DWORD mirandaVersion) { @@ -65,7 +64,7 @@ __declspec(dllexport) PLUGININFOEX * MirandaPluginInfoEx(DWORD mirandaVersion) pluginInfo.cbSize = sizeof( PLUGININFOEX ); return MirandaPluginInfo(mirandaVersion); } - + extern "C" __declspec(dllexport) const MUUID interfaces[] = {MIID_IDLE, MIID_LAST}; __declspec(dllexport) const MUUID * MirandaPluginInterfaces(void) { @@ -82,4 +81,3 @@ int __declspec(dllexport) Unload(void) // AutoAwayShutdown(0,0); return 0; //if 1 we dont want to shutdown because we have hooked ME_SYSTEM_SHUTDOWN } - -- cgit v1.2.3