From 2293e8300f4c7f75161b0fbda8adde10d1d64f1a Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Fri, 24 Jul 2015 08:59:53 +0000 Subject: historysweeperlight: common project git-svn-id: http://svn.miranda-ng.org/main/trunk@14666 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- .../historysweeperlight.vcxproj | 28 +++ .../historysweeperlight.vcxproj.filters | 4 + .../historysweeperlight_10.vcxproj | 206 -------------------- .../historysweeperlight_10.vcxproj.filters | 50 ----- .../historysweeperlight_12.vcxproj | 209 --------------------- .../historysweeperlight_12.vcxproj.filters | 50 ----- .../historysweeperlight_14.vcxproj | 209 --------------------- .../historysweeperlight_14.vcxproj.filters | 50 ----- .../src/historysweeperlight.cpp | 2 +- .../HistorySweeperLight/src/historysweeperlight.h | 65 ------- plugins/HistorySweeperLight/src/main.cpp | 2 +- plugins/HistorySweeperLight/src/options.cpp | 2 +- plugins/HistorySweeperLight/src/stdafx.cpp | 18 -- plugins/HistorySweeperLight/src/stdafx.cxx | 18 ++ plugins/HistorySweeperLight/src/stdafx.h | 65 +++++++ 15 files changed, 118 insertions(+), 860 deletions(-) create mode 100644 plugins/HistorySweeperLight/historysweeperlight.vcxproj create mode 100644 plugins/HistorySweeperLight/historysweeperlight.vcxproj.filters delete mode 100644 plugins/HistorySweeperLight/historysweeperlight_10.vcxproj delete mode 100644 plugins/HistorySweeperLight/historysweeperlight_10.vcxproj.filters delete mode 100644 plugins/HistorySweeperLight/historysweeperlight_12.vcxproj delete mode 100644 plugins/HistorySweeperLight/historysweeperlight_12.vcxproj.filters delete mode 100644 plugins/HistorySweeperLight/historysweeperlight_14.vcxproj delete mode 100644 plugins/HistorySweeperLight/historysweeperlight_14.vcxproj.filters delete mode 100644 plugins/HistorySweeperLight/src/historysweeperlight.h delete mode 100644 plugins/HistorySweeperLight/src/stdafx.cpp create mode 100644 plugins/HistorySweeperLight/src/stdafx.cxx create mode 100644 plugins/HistorySweeperLight/src/stdafx.h (limited to 'plugins/HistorySweeperLight') diff --git a/plugins/HistorySweeperLight/historysweeperlight.vcxproj b/plugins/HistorySweeperLight/historysweeperlight.vcxproj new file mode 100644 index 0000000000..9b738c0ca0 --- /dev/null +++ b/plugins/HistorySweeperLight/historysweeperlight.vcxproj @@ -0,0 +1,28 @@ + + + + + Debug + Win32 + + + Debug + x64 + + + Release + Win32 + + + Release + x64 + + + + HistorySweeperLight + {9DE1F0B0-B9D1-4681-82E7-13CC3E047445} + + + + + \ No newline at end of file diff --git a/plugins/HistorySweeperLight/historysweeperlight.vcxproj.filters b/plugins/HistorySweeperLight/historysweeperlight.vcxproj.filters new file mode 100644 index 0000000000..de5ad9f66c --- /dev/null +++ b/plugins/HistorySweeperLight/historysweeperlight.vcxproj.filters @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/plugins/HistorySweeperLight/historysweeperlight_10.vcxproj b/plugins/HistorySweeperLight/historysweeperlight_10.vcxproj deleted file mode 100644 index 543fc11b5e..0000000000 --- a/plugins/HistorySweeperLight/historysweeperlight_10.vcxproj +++ /dev/null @@ -1,206 +0,0 @@ - - - - - Debug - Win32 - - - Debug - x64 - - - Release - Win32 - - - Release - x64 - - - - HistorySweeperLight - {9DE1F0B0-B9D1-4681-82E7-13CC3E047445} - - - - DynamicLibrary - Unicode - true - - - DynamicLibrary - Unicode - true - - - DynamicLibrary - Unicode - - - DynamicLibrary - Unicode - - - - - - - - - - - - - - - - - - - <_ProjectFileVersion>10.0.40219.1 - $(SolutionDir)$(Configuration)\Plugins\ - $(SolutionDir)$(Configuration)64\Plugins\ - $(SolutionDir)$(Configuration)\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)\Plugins\ - $(SolutionDir)$(Configuration)64\Plugins\ - $(SolutionDir)$(Configuration)\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\ - true - - - - Disabled - _DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - true - EnableFastChecks - MultiThreadedDebugDLL - Level3 - EditAndContinue - ..\..\include;%(AdditionalIncludeDirectories) - false - Use - historysweeperlight.h - - - comctl32.lib;%(AdditionalDependencies) - true - Windows - $(IntDir)$(TargetName).lib - false - $(ProfileDir)..\..\bin10\lib - - - ..\..\include\msapi - _DEBUG;%(PreprocessorDefinitions) - - - - - Disabled - _DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - EnableFastChecks - MultiThreadedDebugDLL - Level3 - ..\..\include;%(AdditionalIncludeDirectories) - false - Use - historysweeperlight.h - - - comctl32.lib;%(AdditionalDependencies) - true - Windows - $(IntDir)$(TargetName).lib - false - $(ProfileDir)..\..\bin10\lib - - - ..\..\include\msapi - _DEBUG;%(PreprocessorDefinitions) - - - - - Full - OnlyExplicitInline - false - Size - NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - true - true - Level3 - ..\..\include;%(AdditionalIncludeDirectories) - false - Use - historysweeperlight.h - - - comctl32.lib;%(AdditionalDependencies) - true - Windows - true - true - $(IntDir)$(TargetName).lib - false - $(ProfileDir)..\..\bin10\lib - /PDBALTPATH:%_PDB% - - - ..\..\include\msapi - NDEBUG;%(PreprocessorDefinitions) - - - - - Full - OnlyExplicitInline - false - Size - NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - true - true - Level3 - ..\..\include;%(AdditionalIncludeDirectories) - false - Use - historysweeperlight.h - - - comctl32.lib;%(AdditionalDependencies) - true - Windows - true - true - $(IntDir)$(TargetName).lib - false - $(ProfileDir)..\..\bin10\lib - /PDBALTPATH:%_PDB% - - - ..\..\include\msapi - NDEBUG;%(PreprocessorDefinitions) - - - - - - - - Create - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/plugins/HistorySweeperLight/historysweeperlight_10.vcxproj.filters b/plugins/HistorySweeperLight/historysweeperlight_10.vcxproj.filters deleted file mode 100644 index 5eeca0a6cf..0000000000 --- a/plugins/HistorySweeperLight/historysweeperlight_10.vcxproj.filters +++ /dev/null @@ -1,50 +0,0 @@ - - - - - {4FC737F1-C7A5-4376-A066-2A32D752A2FF} - cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx - - - {93995380-89BD-4b04-88EB-625FBE52EBFB} - h;hpp;hxx;hm;inl;inc;xsd - - - {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} - rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav - - - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - - - Header Files - - - Header Files - - - Header Files - - - - - Resource Files - - - Resource Files - - - \ No newline at end of file diff --git a/plugins/HistorySweeperLight/historysweeperlight_12.vcxproj b/plugins/HistorySweeperLight/historysweeperlight_12.vcxproj deleted file mode 100644 index 21beae1e11..0000000000 --- a/plugins/HistorySweeperLight/historysweeperlight_12.vcxproj +++ /dev/null @@ -1,209 +0,0 @@ - - - - - Debug - Win32 - - - Debug - x64 - - - Release - Win32 - - - Release - x64 - - - - HistorySweeperLight - {9DE1F0B0-B9D1-4681-82E7-13CC3E047445} - - - - DynamicLibrary - Unicode - true - v120_xp - - - DynamicLibrary - Unicode - true - v120_xp - - - DynamicLibrary - Unicode - v120_xp - - - DynamicLibrary - Unicode - v120_xp - - - - - - - - - - - - - - - - - - - <_ProjectFileVersion>10.0.40219.1 - $(SolutionDir)$(Configuration)\Plugins\ - $(SolutionDir)$(Configuration)64\Plugins\ - $(SolutionDir)$(Configuration)\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)\Plugins\ - $(SolutionDir)$(Configuration)64\Plugins\ - $(SolutionDir)$(Configuration)\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\ - true - - - - Disabled - _DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - true - EnableFastChecks - MultiThreadedDebugDLL - Level3 - EditAndContinue - ..\..\include;%(AdditionalIncludeDirectories) - false - Use - historysweeperlight.h - - - comctl32.lib;%(AdditionalDependencies) - true - Windows - $(IntDir)$(TargetName).lib - false - $(ProfileDir)..\..\bin12\lib - false - - - ..\..\include\msapi - _DEBUG;%(PreprocessorDefinitions) - - - - - Disabled - _DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - EnableFastChecks - MultiThreadedDebugDLL - Level3 - ..\..\include;%(AdditionalIncludeDirectories) - false - Use - historysweeperlight.h - - - comctl32.lib;%(AdditionalDependencies) - true - Windows - $(IntDir)$(TargetName).lib - false - $(ProfileDir)..\..\bin12\lib - - - ..\..\include\msapi - _DEBUG;%(PreprocessorDefinitions) - - - - - Full - OnlyExplicitInline - false - Size - NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - true - true - Level3 - ..\..\include;%(AdditionalIncludeDirectories) - false - Use - historysweeperlight.h - - - comctl32.lib;%(AdditionalDependencies) - true - Windows - true - true - $(IntDir)$(TargetName).lib - false - $(ProfileDir)..\..\bin12\lib - - - ..\..\include\msapi - NDEBUG;%(PreprocessorDefinitions) - - - - - Full - OnlyExplicitInline - false - Size - NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - true - true - Level3 - ..\..\include;%(AdditionalIncludeDirectories) - false - Use - historysweeperlight.h - - - comctl32.lib;%(AdditionalDependencies) - true - Windows - true - true - $(IntDir)$(TargetName).lib - false - $(ProfileDir)..\..\bin12\lib - - - ..\..\include\msapi - NDEBUG;%(PreprocessorDefinitions) - - - - - - - - Create - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/plugins/HistorySweeperLight/historysweeperlight_12.vcxproj.filters b/plugins/HistorySweeperLight/historysweeperlight_12.vcxproj.filters deleted file mode 100644 index 5eeca0a6cf..0000000000 --- a/plugins/HistorySweeperLight/historysweeperlight_12.vcxproj.filters +++ /dev/null @@ -1,50 +0,0 @@ - - - - - {4FC737F1-C7A5-4376-A066-2A32D752A2FF} - cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx - - - {93995380-89BD-4b04-88EB-625FBE52EBFB} - h;hpp;hxx;hm;inl;inc;xsd - - - {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} - rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav - - - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - - - Header Files - - - Header Files - - - Header Files - - - - - Resource Files - - - Resource Files - - - \ No newline at end of file diff --git a/plugins/HistorySweeperLight/historysweeperlight_14.vcxproj b/plugins/HistorySweeperLight/historysweeperlight_14.vcxproj deleted file mode 100644 index dc2fc7ce99..0000000000 --- a/plugins/HistorySweeperLight/historysweeperlight_14.vcxproj +++ /dev/null @@ -1,209 +0,0 @@ - - - - - Debug - Win32 - - - Debug - x64 - - - Release - Win32 - - - Release - x64 - - - - HistorySweeperLight - {9DE1F0B0-B9D1-4681-82E7-13CC3E047445} - - - - DynamicLibrary - Unicode - true - v140_xp - - - DynamicLibrary - Unicode - true - v140_xp - - - DynamicLibrary - Unicode - v140_xp - - - DynamicLibrary - Unicode - v140_xp - - - - - - - - - - - - - - - - - - - <_ProjectFileVersion>10.0.40219.1 - $(SolutionDir)$(Configuration)\Plugins\ - $(SolutionDir)$(Configuration)64\Plugins\ - $(SolutionDir)$(Configuration)\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)\Plugins\ - $(SolutionDir)$(Configuration)64\Plugins\ - $(SolutionDir)$(Configuration)\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\ - true - - - - Disabled - _DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - true - EnableFastChecks - MultiThreadedDebugDLL - Level3 - EditAndContinue - ..\..\include;%(AdditionalIncludeDirectories) - false - Use - historysweeperlight.h - - - comctl32.lib;%(AdditionalDependencies) - true - Windows - $(IntDir)$(TargetName).lib - false - $(ProfileDir)..\..\bin14\lib - false - - - ..\..\include\msapi - _DEBUG;%(PreprocessorDefinitions) - - - - - Disabled - _DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - EnableFastChecks - MultiThreadedDebugDLL - Level3 - ..\..\include;%(AdditionalIncludeDirectories) - false - Use - historysweeperlight.h - - - comctl32.lib;%(AdditionalDependencies) - true - Windows - $(IntDir)$(TargetName).lib - false - $(ProfileDir)..\..\bin14\lib - - - ..\..\include\msapi - _DEBUG;%(PreprocessorDefinitions) - - - - - Full - OnlyExplicitInline - false - Size - NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - true - true - Level3 - ..\..\include;%(AdditionalIncludeDirectories) - false - Use - historysweeperlight.h - - - comctl32.lib;%(AdditionalDependencies) - true - Windows - true - true - $(IntDir)$(TargetName).lib - false - $(ProfileDir)..\..\bin14\lib - - - ..\..\include\msapi - NDEBUG;%(PreprocessorDefinitions) - - - - - Full - OnlyExplicitInline - false - Size - NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - true - true - Level3 - ..\..\include;%(AdditionalIncludeDirectories) - false - Use - historysweeperlight.h - - - comctl32.lib;%(AdditionalDependencies) - true - Windows - true - true - $(IntDir)$(TargetName).lib - false - $(ProfileDir)..\..\bin14\lib - - - ..\..\include\msapi - NDEBUG;%(PreprocessorDefinitions) - - - - - - - - Create - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/plugins/HistorySweeperLight/historysweeperlight_14.vcxproj.filters b/plugins/HistorySweeperLight/historysweeperlight_14.vcxproj.filters deleted file mode 100644 index 5eeca0a6cf..0000000000 --- a/plugins/HistorySweeperLight/historysweeperlight_14.vcxproj.filters +++ /dev/null @@ -1,50 +0,0 @@ - - - - - {4FC737F1-C7A5-4376-A066-2A32D752A2FF} - cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx - - - {93995380-89BD-4b04-88EB-625FBE52EBFB} - h;hpp;hxx;hm;inl;inc;xsd - - - {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} - rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav - - - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - - - Header Files - - - Header Files - - - Header Files - - - - - Resource Files - - - Resource Files - - - \ No newline at end of file diff --git a/plugins/HistorySweeperLight/src/historysweeperlight.cpp b/plugins/HistorySweeperLight/src/historysweeperlight.cpp index d42546fa51..09b860078c 100644 --- a/plugins/HistorySweeperLight/src/historysweeperlight.cpp +++ b/plugins/HistorySweeperLight/src/historysweeperlight.cpp @@ -19,7 +19,7 @@ along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -#include "historysweeperlight.h" +#include "stdafx.h" typedef struct { diff --git a/plugins/HistorySweeperLight/src/historysweeperlight.h b/plugins/HistorySweeperLight/src/historysweeperlight.h deleted file mode 100644 index 1821ebdee5..0000000000 --- a/plugins/HistorySweeperLight/src/historysweeperlight.h +++ /dev/null @@ -1,65 +0,0 @@ -/* -Miranda IM History Sweeper Light plugin -Copyright (C) 2002-2003 Sergey V. Gershovich -Copyright (C) 2006-2009 Boris Krasnovskiy -Copyright (C) 2010, 2011 tico-tico - -This program is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public License -as published by the Free Software Foundation; either version 2 -of the License, or (at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -*/ -#ifndef __HISTORYSWEEPERLIGHT_H__ -#define __HISTORYSWEEPERLIGHT_H__ - -#if !defined( _WIN64 ) - #define _USE_32BIT_TIME_T -#endif - -#include -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#include "resource.h" -#include "version.h" - -// Plugin name -#define ModuleName "History Sweeper Light" - -// main.c -extern HINSTANCE hInst; -extern LIST g_hWindows; - -// options.c -extern char* time_stamp_strings[]; -extern char* keep_strings[]; -int HSOptInitialise(WPARAM wParam, LPARAM lParam); -void InitIcons(void); -void ReleaseIconEx(const char* name); -HICON LoadIconEx(const char* name); -HANDLE GetIconHandle(const char* name); - -// historysweeper.c -void ShutdownAction(void); -int OnWindowEvent(WPARAM wParam, LPARAM lParam); -void SetSrmmIcon(MCONTACT hContact); - -#endif diff --git a/plugins/HistorySweeperLight/src/main.cpp b/plugins/HistorySweeperLight/src/main.cpp index 5533f35eda..79436b8212 100644 --- a/plugins/HistorySweeperLight/src/main.cpp +++ b/plugins/HistorySweeperLight/src/main.cpp @@ -19,7 +19,7 @@ along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -#include "historysweeperlight.h" +#include "stdafx.h" HINSTANCE hInst; diff --git a/plugins/HistorySweeperLight/src/options.cpp b/plugins/HistorySweeperLight/src/options.cpp index 92746b37e4..b1196b68b0 100644 --- a/plugins/HistorySweeperLight/src/options.cpp +++ b/plugins/HistorySweeperLight/src/options.cpp @@ -19,7 +19,7 @@ along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -#include "historysweeperlight.h" +#include "stdafx.h" // Time Stamps strings char* time_stamp_strings[] = diff --git a/plugins/HistorySweeperLight/src/stdafx.cpp b/plugins/HistorySweeperLight/src/stdafx.cpp deleted file mode 100644 index 29a7fe8c7b..0000000000 --- a/plugins/HistorySweeperLight/src/stdafx.cpp +++ /dev/null @@ -1,18 +0,0 @@ -/* -Copyright (C) 2012-15 Miranda NG project (http://miranda-ng.org) - -This program is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public License -as published by the Free Software Foundation version 2 -of the License. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program. If not, see . -*/ - -#include "historysweeperlight.h" \ No newline at end of file diff --git a/plugins/HistorySweeperLight/src/stdafx.cxx b/plugins/HistorySweeperLight/src/stdafx.cxx new file mode 100644 index 0000000000..6fb37564b7 --- /dev/null +++ b/plugins/HistorySweeperLight/src/stdafx.cxx @@ -0,0 +1,18 @@ +/* +Copyright (C) 2012-15 Miranda NG project (http://miranda-ng.org) + +This program is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public License +as published by the Free Software Foundation version 2 +of the License. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ + +#include "stdafx.h" \ No newline at end of file diff --git a/plugins/HistorySweeperLight/src/stdafx.h b/plugins/HistorySweeperLight/src/stdafx.h new file mode 100644 index 0000000000..1821ebdee5 --- /dev/null +++ b/plugins/HistorySweeperLight/src/stdafx.h @@ -0,0 +1,65 @@ +/* +Miranda IM History Sweeper Light plugin +Copyright (C) 2002-2003 Sergey V. Gershovich +Copyright (C) 2006-2009 Boris Krasnovskiy +Copyright (C) 2010, 2011 tico-tico + +This program is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public License +as published by the Free Software Foundation; either version 2 +of the License, or (at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program; if not, write to the Free Software +Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +*/ +#ifndef __HISTORYSWEEPERLIGHT_H__ +#define __HISTORYSWEEPERLIGHT_H__ + +#if !defined( _WIN64 ) + #define _USE_32BIT_TIME_T +#endif + +#include +#include + +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#include "resource.h" +#include "version.h" + +// Plugin name +#define ModuleName "History Sweeper Light" + +// main.c +extern HINSTANCE hInst; +extern LIST g_hWindows; + +// options.c +extern char* time_stamp_strings[]; +extern char* keep_strings[]; +int HSOptInitialise(WPARAM wParam, LPARAM lParam); +void InitIcons(void); +void ReleaseIconEx(const char* name); +HICON LoadIconEx(const char* name); +HANDLE GetIconHandle(const char* name); + +// historysweeper.c +void ShutdownAction(void); +int OnWindowEvent(WPARAM wParam, LPARAM lParam); +void SetSrmmIcon(MCONTACT hContact); + +#endif -- cgit v1.2.3