summaryrefslogtreecommitdiff
path: root/plugins/!NotAdopted/SmartAutoAway
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/!NotAdopted/SmartAutoAway')
-rw-r--r--plugins/!NotAdopted/SmartAutoAway/saa.cpp12
-rw-r--r--plugins/!NotAdopted/SmartAutoAway/saani.c12
2 files changed, 10 insertions, 14 deletions
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 <windows.h>
+#include <windows.h>
#include <newpluginapi.h>
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
}
-