From 9a086691c6229c4efd5e906a17d3a6d4cfd975f8 Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Sun, 26 Jul 2015 06:53:50 +0000 Subject: neweventnotify: common project git-svn-id: http://svn.miranda-ng.org/main/trunk@14706 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- bin10/mir_dev.sln | 2 +- bin10/mir_full.sln | 2 +- bin10/mir_full_pro.sln | 2 +- bin12/mir_dev.sln | 2 +- bin12/mir_full.sln | 2 +- bin14/mir_dev.sln | 2 +- bin14/mir_full.sln | 2 +- plugins/NewEventNotify/neweventnotify.vcxproj | 28 +++ .../NewEventNotify/neweventnotify.vcxproj.filters | 4 + plugins/NewEventNotify/neweventnotify_10.vcxproj | 211 ------------------- .../neweventnotify_10.vcxproj.filters | 61 ------ plugins/NewEventNotify/neweventnotify_12.vcxproj | 210 ------------------- .../neweventnotify_12.vcxproj.filters | 53 ----- plugins/NewEventNotify/neweventnotify_14.vcxproj | 210 ------------------- .../neweventnotify_14.vcxproj.filters | 53 ----- plugins/NewEventNotify/src/main.cpp | 2 +- plugins/NewEventNotify/src/menuitem.cpp | 2 +- plugins/NewEventNotify/src/neweventnotify.h | 227 --------------------- plugins/NewEventNotify/src/options.cpp | 2 +- plugins/NewEventNotify/src/popup.cpp | 2 +- plugins/NewEventNotify/src/stdafx.cpp | 18 -- plugins/NewEventNotify/src/stdafx.cxx | 18 ++ plugins/NewEventNotify/src/stdafx.h | 226 ++++++++++++++++++++ 23 files changed, 287 insertions(+), 1054 deletions(-) create mode 100644 plugins/NewEventNotify/neweventnotify.vcxproj create mode 100644 plugins/NewEventNotify/neweventnotify.vcxproj.filters delete mode 100644 plugins/NewEventNotify/neweventnotify_10.vcxproj delete mode 100644 plugins/NewEventNotify/neweventnotify_10.vcxproj.filters delete mode 100644 plugins/NewEventNotify/neweventnotify_12.vcxproj delete mode 100644 plugins/NewEventNotify/neweventnotify_12.vcxproj.filters delete mode 100644 plugins/NewEventNotify/neweventnotify_14.vcxproj delete mode 100644 plugins/NewEventNotify/neweventnotify_14.vcxproj.filters delete mode 100644 plugins/NewEventNotify/src/neweventnotify.h delete mode 100644 plugins/NewEventNotify/src/stdafx.cpp create mode 100644 plugins/NewEventNotify/src/stdafx.cxx create mode 100644 plugins/NewEventNotify/src/stdafx.h diff --git a/bin10/mir_dev.sln b/bin10/mir_dev.sln index da55270a7a..b0b306d64c 100644 --- a/bin10/mir_dev.sln +++ b/bin10/mir_dev.sln @@ -172,7 +172,7 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Libgcrypt", "..\plugins\Mir EndProject Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "EkHtml", "..\plugins\MirOTR\ekhtml\ekhtml_10.vcxproj", "{2C050CAF-D8AA-468A-B1A7-89F3BE99D3C8}" EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "NewEventNotify", "..\plugins\NewEventNotify\neweventnotify_10.vcxproj", "{2E0A2793-94C3-82E7-2AB0-FD421816CFBF}" +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "NewEventNotify", "..\plugins\NewEventNotify\neweventnotify.vcxproj", "{2E0A2793-94C3-82E7-2AB0-FD421816CFBF}" EndProject Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "FileAsMessage", "..\plugins\FileAsMessage\fileecho_10.vcxproj", "{D7A3B8D0-425A-2286-8E2F-2C0BF1EE5C2E}" EndProject diff --git a/bin10/mir_full.sln b/bin10/mir_full.sln index dfde732962..f3a0f67b57 100644 --- a/bin10/mir_full.sln +++ b/bin10/mir_full.sln @@ -172,7 +172,7 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libotr", "..\plugins\MirOTR EndProject Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "MirOTR", "..\plugins\MirOTR\MirOTR_10.vcxproj", "{53F841E8-284F-4545-9176-B131896E43F8}" EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "NewEventNotify", "..\plugins\NewEventNotify\neweventnotify_10.vcxproj", "{2E0A2793-94C3-82E7-2AB0-FD421816CFBF}" +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "NewEventNotify", "..\plugins\NewEventNotify\neweventnotify.vcxproj", "{2E0A2793-94C3-82E7-2AB0-FD421816CFBF}" EndProject Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "FileAsMessage", "..\plugins\FileAsMessage\fileecho_10.vcxproj", "{D7A3B8D0-425A-2286-8E2F-2C0BF1EE5C2E}" EndProject diff --git a/bin10/mir_full_pro.sln b/bin10/mir_full_pro.sln index 43d595ce5b..7362f4d040 100644 --- a/bin10/mir_full_pro.sln +++ b/bin10/mir_full_pro.sln @@ -172,7 +172,7 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libotr", "..\plugins\MirOTR EndProject Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "MirOTR", "..\plugins\MirOTR\MirOTR_10.vcxproj", "{53F841E8-284F-4545-9176-B131896E43F8}" EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "NewEventNotify", "..\plugins\NewEventNotify\neweventnotify_10.vcxproj", "{2E0A2793-94C3-82E7-2AB0-FD421816CFBF}" +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "NewEventNotify", "..\plugins\NewEventNotify\neweventnotify.vcxproj", "{2E0A2793-94C3-82E7-2AB0-FD421816CFBF}" EndProject Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "FileAsMessage", "..\plugins\FileAsMessage\fileecho_10.vcxproj", "{D7A3B8D0-425A-2286-8E2F-2C0BF1EE5C2E}" EndProject diff --git a/bin12/mir_dev.sln b/bin12/mir_dev.sln index 28bb15e26c..90f1b6e2b5 100644 --- a/bin12/mir_dev.sln +++ b/bin12/mir_dev.sln @@ -174,7 +174,7 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Libgcrypt", "..\plugins\Mir EndProject Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "EkHtml", "..\plugins\MirOTR\ekhtml\ekhtml_12.vcxproj", "{2C050CAF-D8AA-468A-B1A7-89F3BE99D3C8}" EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "NewEventNotify", "..\plugins\NewEventNotify\neweventnotify_12.vcxproj", "{2E0A2793-94C3-82E7-2AB0-FD421816CFBF}" +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "NewEventNotify", "..\plugins\NewEventNotify\neweventnotify.vcxproj", "{2E0A2793-94C3-82E7-2AB0-FD421816CFBF}" EndProject Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "FileAsMessage", "..\plugins\FileAsMessage\fileecho_12.vcxproj", "{D7A3B8D0-425A-2286-8E2F-2C0BF1EE5C2E}" EndProject diff --git a/bin12/mir_full.sln b/bin12/mir_full.sln index 1158c172b6..75d749c34f 100644 --- a/bin12/mir_full.sln +++ b/bin12/mir_full.sln @@ -174,7 +174,7 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libotr", "..\plugins\MirOTR EndProject Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "MirOTR", "..\plugins\MirOTR\MirOTR_12.vcxproj", "{53F841E8-284F-4545-9176-B131896E43F8}" EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "NewEventNotify", "..\plugins\NewEventNotify\neweventnotify_12.vcxproj", "{2E0A2793-94C3-82E7-2AB0-FD421816CFBF}" +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "NewEventNotify", "..\plugins\NewEventNotify\neweventnotify.vcxproj", "{2E0A2793-94C3-82E7-2AB0-FD421816CFBF}" EndProject Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "FileAsMessage", "..\plugins\FileAsMessage\fileecho_12.vcxproj", "{D7A3B8D0-425A-2286-8E2F-2C0BF1EE5C2E}" EndProject diff --git a/bin14/mir_dev.sln b/bin14/mir_dev.sln index a8642ea530..872e16f838 100644 --- a/bin14/mir_dev.sln +++ b/bin14/mir_dev.sln @@ -174,7 +174,7 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Libgcrypt", "..\plugins\Mir EndProject Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "EkHtml", "..\plugins\MirOTR\ekhtml\ekhtml_14.vcxproj", "{2C050CAF-D8AA-468A-B1A7-89F3BE99D3C8}" EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "NewEventNotify", "..\plugins\NewEventNotify\neweventnotify_14.vcxproj", "{2E0A2793-94C3-82E7-2AB0-FD421816CFBF}" +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "NewEventNotify", "..\plugins\NewEventNotify\neweventnotify.vcxproj", "{2E0A2793-94C3-82E7-2AB0-FD421816CFBF}" EndProject Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "FileAsMessage", "..\plugins\FileAsMessage\fileecho_14.vcxproj", "{D7A3B8D0-425A-2286-8E2F-2C0BF1EE5C2E}" EndProject diff --git a/bin14/mir_full.sln b/bin14/mir_full.sln index b1e20b810f..a048acd22b 100644 --- a/bin14/mir_full.sln +++ b/bin14/mir_full.sln @@ -174,7 +174,7 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libotr", "..\plugins\MirOTR EndProject Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "MirOTR", "..\plugins\MirOTR\MirOTR_14.vcxproj", "{53F841E8-284F-4545-9176-B131896E43F8}" EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "NewEventNotify", "..\plugins\NewEventNotify\neweventnotify_14.vcxproj", "{2E0A2793-94C3-82E7-2AB0-FD421816CFBF}" +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "NewEventNotify", "..\plugins\NewEventNotify\neweventnotify.vcxproj", "{2E0A2793-94C3-82E7-2AB0-FD421816CFBF}" EndProject Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "FileAsMessage", "..\plugins\FileAsMessage\fileecho_14.vcxproj", "{D7A3B8D0-425A-2286-8E2F-2C0BF1EE5C2E}" EndProject diff --git a/plugins/NewEventNotify/neweventnotify.vcxproj b/plugins/NewEventNotify/neweventnotify.vcxproj new file mode 100644 index 0000000000..5a0abe6f23 --- /dev/null +++ b/plugins/NewEventNotify/neweventnotify.vcxproj @@ -0,0 +1,28 @@ + + + + + Debug + Win32 + + + Debug + x64 + + + Release + Win32 + + + Release + x64 + + + + NewEventNotify + {2E0A2793-94C3-82E7-2AB0-FD421816CFBF} + + + + + \ No newline at end of file diff --git a/plugins/NewEventNotify/neweventnotify.vcxproj.filters b/plugins/NewEventNotify/neweventnotify.vcxproj.filters new file mode 100644 index 0000000000..de5ad9f66c --- /dev/null +++ b/plugins/NewEventNotify/neweventnotify.vcxproj.filters @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/plugins/NewEventNotify/neweventnotify_10.vcxproj b/plugins/NewEventNotify/neweventnotify_10.vcxproj deleted file mode 100644 index 6bfdf0ebd3..0000000000 --- a/plugins/NewEventNotify/neweventnotify_10.vcxproj +++ /dev/null @@ -1,211 +0,0 @@ - - - - - Debug - Win32 - - - Debug - x64 - - - Release - Win32 - - - Release - x64 - - - - NewEventNotify - {2E0A2793-94C3-82E7-2AB0-FD421816CFBF} - - - - DynamicLibrary - Unicode - true - - - DynamicLibrary - Unicode - true - - - DynamicLibrary - Unicode - - - DynamicLibrary - Unicode - - - - - - - - - - - - - - - - - - - <_ProjectFileVersion>10.0.30319.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 - - - - MultiThreadedDebugDLL - false - Disabled - Level3 - true - EditAndContinue - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - _DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - EnableFastChecks - false - Use - neweventnotify.h - - - _DEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - true - true - Windows - $(IntDir)$(TargetName).lib - false - $(ProfileDir)..\..\bin10\lib - - - - - MultiThreadedDebugDLL - false - Disabled - Level3 - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - _DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - EnableFastChecks - false - Use - neweventnotify.h - - - _DEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - true - true - Windows - $(IntDir)$(TargetName).lib - false - $(ProfileDir)..\..\bin10\lib - - - - - OnlyExplicitInline - true - true - Full - Level3 - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - Size - false - Use - neweventnotify.h - - - NDEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - true - true - Windows - $(IntDir)$(TargetName).lib - true - true - false - $(ProfileDir)..\..\bin10\lib - /PDBALTPATH:%_PDB% - - - - - OnlyExplicitInline - true - true - Full - Level3 - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - Size - false - Use - neweventnotify.h - - - NDEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - true - true - Windows - $(IntDir)$(TargetName).lib - true - true - false - $(ProfileDir)..\..\bin10\lib - /PDBALTPATH:%_PDB% - - - - - - - - - Create - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/plugins/NewEventNotify/neweventnotify_10.vcxproj.filters b/plugins/NewEventNotify/neweventnotify_10.vcxproj.filters deleted file mode 100644 index 13b8486777..0000000000 --- a/plugins/NewEventNotify/neweventnotify_10.vcxproj.filters +++ /dev/null @@ -1,61 +0,0 @@ - - - - - {9ef49dc7-0734-4983-885c-80a6a3486d38} - cpp;c;cxx;rc;def;r;odl;idl;hpj;bat - - - {5000bf0b-4ec4-4cd8-888f-ddbe3547d4ce} - h;hpp;hxx;hm;inl - - - {c05ab58e-cc3b-43f7-a29e-3612a41ff815} - ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe - - - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - - - Header Files - - - Header Files - - - Header Files - - - - - Resource Files - - - Resource Files - - - - - Resource Files - - - Resource Files - - - \ No newline at end of file diff --git a/plugins/NewEventNotify/neweventnotify_12.vcxproj b/plugins/NewEventNotify/neweventnotify_12.vcxproj deleted file mode 100644 index d0ebf39e62..0000000000 --- a/plugins/NewEventNotify/neweventnotify_12.vcxproj +++ /dev/null @@ -1,210 +0,0 @@ - - - - - Debug - Win32 - - - Debug - x64 - - - Release - Win32 - - - Release - x64 - - - - NewEventNotify - {2E0A2793-94C3-82E7-2AB0-FD421816CFBF} - - - - DynamicLibrary - Unicode - true - v120_xp - - - DynamicLibrary - Unicode - true - v120_xp - - - DynamicLibrary - Unicode - v120_xp - - - DynamicLibrary - Unicode - v120_xp - - - - - - - - - - - - - - - - - - - <_ProjectFileVersion>10.0.30319.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 - - - - MultiThreadedDebugDLL - false - Disabled - Level3 - true - EditAndContinue - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - _DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - EnableFastChecks - false - Use - neweventnotify.h - - - _DEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - true - true - Windows - $(IntDir)$(TargetName).lib - false - $(ProfileDir)..\..\bin12\lib - false - - - - - MultiThreadedDebugDLL - false - Disabled - Level3 - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - _DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - EnableFastChecks - false - Use - neweventnotify.h - - - _DEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - true - true - Windows - $(IntDir)$(TargetName).lib - false - $(ProfileDir)..\..\bin12\lib - - - - - OnlyExplicitInline - true - true - Full - Level3 - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - Size - false - Use - neweventnotify.h - - - NDEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - true - true - Windows - $(IntDir)$(TargetName).lib - true - true - false - $(ProfileDir)..\..\bin12\lib - - - - - OnlyExplicitInline - true - true - Full - Level3 - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - Size - false - Use - neweventnotify.h - - - NDEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - true - true - Windows - $(IntDir)$(TargetName).lib - true - true - false - $(ProfileDir)..\..\bin12\lib - - - - - - - - - Create - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/plugins/NewEventNotify/neweventnotify_12.vcxproj.filters b/plugins/NewEventNotify/neweventnotify_12.vcxproj.filters deleted file mode 100644 index 6c7552515c..0000000000 --- a/plugins/NewEventNotify/neweventnotify_12.vcxproj.filters +++ /dev/null @@ -1,53 +0,0 @@ - - - - - {9ef49dc7-0734-4983-885c-80a6a3486d38} - cpp;c;cxx;rc;def;r;odl;idl;hpj;bat - - - {5000bf0b-4ec4-4cd8-888f-ddbe3547d4ce} - h;hpp;hxx;hm;inl - - - {c05ab58e-cc3b-43f7-a29e-3612a41ff815} - ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe - - - - - Source Files - - - 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/NewEventNotify/neweventnotify_14.vcxproj b/plugins/NewEventNotify/neweventnotify_14.vcxproj deleted file mode 100644 index 061fc8eb8d..0000000000 --- a/plugins/NewEventNotify/neweventnotify_14.vcxproj +++ /dev/null @@ -1,210 +0,0 @@ - - - - - Debug - Win32 - - - Debug - x64 - - - Release - Win32 - - - Release - x64 - - - - NewEventNotify - {2E0A2793-94C3-82E7-2AB0-FD421816CFBF} - - - - DynamicLibrary - Unicode - true - v140_xp - - - DynamicLibrary - Unicode - true - v140_xp - - - DynamicLibrary - Unicode - v140_xp - - - DynamicLibrary - Unicode - v140_xp - - - - - - - - - - - - - - - - - - - <_ProjectFileVersion>10.0.30319.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 - - - - MultiThreadedDebugDLL - false - Disabled - Level3 - true - EditAndContinue - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - _DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - EnableFastChecks - false - Use - neweventnotify.h - - - _DEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - true - true - Windows - $(IntDir)$(TargetName).lib - false - $(ProfileDir)..\..\bin14\lib - false - - - - - MultiThreadedDebugDLL - false - Disabled - Level3 - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - _DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - EnableFastChecks - false - Use - neweventnotify.h - - - _DEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - true - true - Windows - $(IntDir)$(TargetName).lib - false - $(ProfileDir)..\..\bin14\lib - - - - - OnlyExplicitInline - true - true - Full - Level3 - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - Size - false - Use - neweventnotify.h - - - NDEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - true - true - Windows - $(IntDir)$(TargetName).lib - true - true - false - $(ProfileDir)..\..\bin14\lib - - - - - OnlyExplicitInline - true - true - Full - Level3 - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - Size - false - Use - neweventnotify.h - - - NDEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - true - true - Windows - $(IntDir)$(TargetName).lib - true - true - false - $(ProfileDir)..\..\bin14\lib - - - - - - - - - Create - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/plugins/NewEventNotify/neweventnotify_14.vcxproj.filters b/plugins/NewEventNotify/neweventnotify_14.vcxproj.filters deleted file mode 100644 index 6c7552515c..0000000000 --- a/plugins/NewEventNotify/neweventnotify_14.vcxproj.filters +++ /dev/null @@ -1,53 +0,0 @@ - - - - - {9ef49dc7-0734-4983-885c-80a6a3486d38} - cpp;c;cxx;rc;def;r;odl;idl;hpj;bat - - - {5000bf0b-4ec4-4cd8-888f-ddbe3547d4ce} - h;hpp;hxx;hm;inl - - - {c05ab58e-cc3b-43f7-a29e-3612a41ff815} - ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe - - - - - Source Files - - - 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/NewEventNotify/src/main.cpp b/plugins/NewEventNotify/src/main.cpp index 086a51f325..68adecd2aa 100644 --- a/plugins/NewEventNotify/src/main.cpp +++ b/plugins/NewEventNotify/src/main.cpp @@ -22,7 +22,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -#include "neweventnotify.h" +#include "stdafx.h" int g_IsSrmmWindowAPI = 0; extern PLUGIN_DATA* PopupList[20]; diff --git a/plugins/NewEventNotify/src/menuitem.cpp b/plugins/NewEventNotify/src/menuitem.cpp index 1db8e070c0..0098b1335f 100644 --- a/plugins/NewEventNotify/src/menuitem.cpp +++ b/plugins/NewEventNotify/src/menuitem.cpp @@ -22,7 +22,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -#include "neweventnotify.h" +#include "stdafx.h" HGENMENU hMenuitemNotify; BOOL bNotify; diff --git a/plugins/NewEventNotify/src/neweventnotify.h b/plugins/NewEventNotify/src/neweventnotify.h deleted file mode 100644 index 1d73bb6d6c..0000000000 --- a/plugins/NewEventNotify/src/neweventnotify.h +++ /dev/null @@ -1,227 +0,0 @@ -/* - Name: NewEventNotify - Plugin for Miranda IM - File: neweventnotify.h - Main Header File - Version: 0.2.2.2 - Description: Notifies you about some events - Author: icebreaker, - Date: 18.07.02 13:59 / Update: 16.09.02 17:45 - Copyright: (C) 2002 Starzinger Michael - - 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 -*/ - -//--------------------------- -//---Includes -#define _CRT_SECURE_NO_WARNINGS -#define _CRT_NONSTDC_NO_DEPRECATE - -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#include - -#include "resource.h" -#include "Version.h" - -//VERY_PUBLIC Begin ... will be moved to m_neweventnotify.h -#define MS_NEN_MENUNOTIFY "NewEventNotify/MenuitemNotifyCommand" -//VERY_PUBLIC End - -//--------------------------- -//---Definitions - -#define MODULE "NewEventNotify" -#define MAX_POPUPS 20 - -#define DEFAULT_COLBACK RGB(255,255,128) -#define DEFAULT_COLTEXT RGB(0,0,0) -#define DEFAULT_MASKNOTIFY (MASK_MESSAGE|MASK_URL|MASK_FILE|MASK_OTHER) -#define DEFAULT_MASKACTL (MASK_OPEN|MASK_REMOVE|MASK_DISMISS) -#define DEFAULT_MASKACTR (MASK_REMOVE|MASK_DISMISS) -#define DEFAULT_MASKACTE (MASK_DISMISS) -#define DEFAULT_DELAY -1 - -#define MASK_MESSAGE 0x0001 -#define MASK_URL 0x0002 -#define MASK_FILE 0x0004 -#define MASK_OTHER 0x0008 - -#define MASK_DISMISS 0x0001 -#define MASK_OPEN 0x0002 -#define MASK_REMOVE 0x0004 - -#define SETTING_LIFETIME_MIN 1 -#define SETTING_LIFETIME_MAX 60 -#define SETTING_LIFETIME_DEFAULT 20 - -#define MAX_DATASIZE 24 - -#ifndef WM_MOUSEWHEEL - #define WM_MOUSEWHEEL 0x020A -#endif -#define TIMER_TO_ACTION 50685 - -//Entries in the database, don't translate -#define OPT_DISABLE "Disabled" -#define OPT_PREVIEW "Preview" -#define OPT_MENUITEM "MenuItem" -#define OPT_COLDEFAULT_MESSAGE "DefaultColorMsg" -#define OPT_COLBACK_MESSAGE "ColorBackMsg" -#define OPT_COLTEXT_MESSAGE "ColorTextMsg" -#define OPT_COLDEFAULT_URL "DefaultColorUrl" -#define OPT_COLBACK_URL "ColorBackUrl" -#define OPT_COLTEXT_URL "ColorTextUrl" -#define OPT_COLDEFAULT_FILE "DefaultColorFile" -#define OPT_COLBACK_FILE "ColorBackFile" -#define OPT_COLTEXT_FILE "ColorTextFile" -#define OPT_COLDEFAULT_OTHERS "DefaultColorOthers" -#define OPT_COLBACK_OTHERS "ColorBackOthers" -#define OPT_COLTEXT_OTHERS "ColorTextOthers" -#define OPT_MASKNOTIFY "Notify" -#define OPT_MASKACTL "ActionLeft" -#define OPT_MASKACTR "ActionRight" -#define OPT_MASKACTTE "ActionTimeExpires" -#define OPT_MSGWINDOWCHECK "WindowCheck" -#define OPT_MSGREPLYWINDOW "ReplyWindow" -#define OPT_MERGEPOPUP "MergePopup" -#define OPT_DELAY_MESSAGE "DelayMessage" -#define OPT_DELAY_URL "DelayUrl" -#define OPT_DELAY_FILE "DelayFile" -#define OPT_DELAY_OTHERS "DelayOthers" -#define OPT_SHOW_DATE "ShowDate" -#define OPT_SHOW_TIME "ShowTime" -#define OPT_SHOW_HEADERS "ShowHeaders" -#define OPT_NUMBER_MSG "NumberMsg" -#define OPT_SHOW_ON "ShowOldOrNew" -#define OPT_HIDESEND "HideSend" -#define OPT_NORSS "NoRSSAnnounces" -#define OPT_READCHECK "ReadCheck" -//--------------------------- -//---Translateable Strings - -#define POPUP_COMMENT_MESSAGE LPGEN("Message") -#define POPUP_COMMENT_URL LPGEN("URL") -#define POPUP_COMMENT_FILE LPGEN("File") -#define POPUP_COMMENT_CONTACTS LPGEN("Contacts") -#define POPUP_COMMENT_ADDED LPGEN("You were added!") -#define POPUP_COMMENT_AUTH LPGEN("Requests your authorization") -#define POPUP_COMMENT_WEBPAGER LPGEN("ICQ Web pager") -#define POPUP_COMMENT_EMAILEXP LPGEN("ICQ Email express") - -#define ICQEVENTTYPE_SMSCONFIRMATION 3001 -#define POPUP_COMMENT_SMS LPGEN("SMS Message") -#define POPUP_COMMENT_SMSCONFIRMATION LPGEN("SMS Confirmation") - -#define POPUP_COMMENT_OTHER LPGEN("Unknown Event") - -#define MENUITEM_NAME LPGEN("Notify of new events") - -#define MENUITEM_ENABLE LPGEN("Enable new event notification") -#define MENUITEM_DISABLE LPGEN("Disable new event notification") - -//--------------------------- -//---Structures - -struct PLUGIN_OPTIONS -{ - HINSTANCE hInst; - BOOL bDisable; - BOOL bPreview; - BOOL bMenuitem; - BOOL bDefaultColorMsg; - BOOL bDefaultColorUrl; - BOOL bDefaultColorFile; - BOOL bDefaultColorOthers; - COLORREF colBackMsg; - COLORREF colTextMsg; - COLORREF colBackUrl; - COLORREF colTextUrl; - COLORREF colBackFile; - COLORREF colTextFile; - COLORREF colBackOthers; - COLORREF colTextOthers; - UINT maskNotify; - UINT maskActL; - UINT maskActR; - UINT maskActTE; - BOOL bMsgWindowCheck; - BOOL bMsgReplyWindow; - int iDelayMsg; - int iDelayUrl; - int iDelayFile; - int iDelayOthers; - int iDelayDefault; - BOOL bMergePopup; - BOOL bShowDate; - BOOL bShowTime; - BOOL bShowHeaders; - BYTE iNumberMsg; - BOOL bShowON; - BOOL bHideSend; - BOOL bNoRSS; - BOOL bReadCheck; -}; - -struct EVENT_DATA_EX -{ - MEVENT hEvent; - int number; - struct EVENT_DATA_EX* next; - struct EVENT_DATA_EX* prev; -}; - -struct PLUGIN_DATA -{ - UINT eventType; - MCONTACT hContact; - PLUGIN_OPTIONS* pluginOptions; - HWND hWnd; - struct EVENT_DATA_EX* firstEventData; - struct EVENT_DATA_EX* firstShowEventData; - struct EVENT_DATA_EX* lastEventData; - long countEvent; - long iSeconds; - int iLock; -}; - -//--------------------------- -//---External Procedure Definitions - -int PopupShow(PLUGIN_OPTIONS* pluginOptions, MCONTACT hContact, MEVENT hEvent, UINT eventType); -int PopupUpdate(MCONTACT hContact, MEVENT hEvent); -int PopupPreview(PLUGIN_OPTIONS* pluginOptions); -int PopupAct(HWND hWnd, UINT mask, PLUGIN_DATA* pdata); -int OptionsInit(PLUGIN_OPTIONS* pluginOptions); -int OptionsAdd(HINSTANCE hInst, WPARAM addInfo); -int Opt_DisableNEN(BOOL Status); -int MenuitemInit(BOOL bStatus); -int MenuitemUpdate(BOOL bStatus); -int NumberPopupData(MCONTACT hContact, int eventType); -int CheckMsgWnd(MCONTACT hContact); - -extern HINSTANCE hInst; diff --git a/plugins/NewEventNotify/src/options.cpp b/plugins/NewEventNotify/src/options.cpp index 8395553414..c944c10ab2 100644 --- a/plugins/NewEventNotify/src/options.cpp +++ b/plugins/NewEventNotify/src/options.cpp @@ -22,7 +22,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -#include "neweventnotify.h" +#include "stdafx.h" PLUGIN_OPTIONS* options; BOOL bWmNotify; diff --git a/plugins/NewEventNotify/src/popup.cpp b/plugins/NewEventNotify/src/popup.cpp index d3dfa415f7..0dad1d5e4e 100644 --- a/plugins/NewEventNotify/src/popup.cpp +++ b/plugins/NewEventNotify/src/popup.cpp @@ -22,7 +22,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -#include "neweventnotify.h" +#include "stdafx.h" extern int g_IsServiceAvail; diff --git a/plugins/NewEventNotify/src/stdafx.cpp b/plugins/NewEventNotify/src/stdafx.cpp deleted file mode 100644 index 6d5ea3d6de..0000000000 --- a/plugins/NewEventNotify/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 "neweventnotify.h" \ No newline at end of file diff --git a/plugins/NewEventNotify/src/stdafx.cxx b/plugins/NewEventNotify/src/stdafx.cxx new file mode 100644 index 0000000000..6fb37564b7 --- /dev/null +++ b/plugins/NewEventNotify/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/NewEventNotify/src/stdafx.h b/plugins/NewEventNotify/src/stdafx.h new file mode 100644 index 0000000000..9b1e1dcd74 --- /dev/null +++ b/plugins/NewEventNotify/src/stdafx.h @@ -0,0 +1,226 @@ +/* + Name: NewEventNotify - Plugin for Miranda IM + File: neweventnotify.h - Main Header File + Version: 0.2.2.2 + Description: Notifies you about some events + Author: icebreaker, + Date: 18.07.02 13:59 / Update: 16.09.02 17:45 + Copyright: (C) 2002 Starzinger Michael + + 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 +*/ + +//--------------------------- +//---Includes +#define _CRT_NONSTDC_NO_DEPRECATE + +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#include + +#include "resource.h" +#include "Version.h" + +//VERY_PUBLIC Begin ... will be moved to m_neweventnotify.h +#define MS_NEN_MENUNOTIFY "NewEventNotify/MenuitemNotifyCommand" +//VERY_PUBLIC End + +//--------------------------- +//---Definitions + +#define MODULE "NewEventNotify" +#define MAX_POPUPS 20 + +#define DEFAULT_COLBACK RGB(255,255,128) +#define DEFAULT_COLTEXT RGB(0,0,0) +#define DEFAULT_MASKNOTIFY (MASK_MESSAGE|MASK_URL|MASK_FILE|MASK_OTHER) +#define DEFAULT_MASKACTL (MASK_OPEN|MASK_REMOVE|MASK_DISMISS) +#define DEFAULT_MASKACTR (MASK_REMOVE|MASK_DISMISS) +#define DEFAULT_MASKACTE (MASK_DISMISS) +#define DEFAULT_DELAY -1 + +#define MASK_MESSAGE 0x0001 +#define MASK_URL 0x0002 +#define MASK_FILE 0x0004 +#define MASK_OTHER 0x0008 + +#define MASK_DISMISS 0x0001 +#define MASK_OPEN 0x0002 +#define MASK_REMOVE 0x0004 + +#define SETTING_LIFETIME_MIN 1 +#define SETTING_LIFETIME_MAX 60 +#define SETTING_LIFETIME_DEFAULT 20 + +#define MAX_DATASIZE 24 + +#ifndef WM_MOUSEWHEEL + #define WM_MOUSEWHEEL 0x020A +#endif +#define TIMER_TO_ACTION 50685 + +//Entries in the database, don't translate +#define OPT_DISABLE "Disabled" +#define OPT_PREVIEW "Preview" +#define OPT_MENUITEM "MenuItem" +#define OPT_COLDEFAULT_MESSAGE "DefaultColorMsg" +#define OPT_COLBACK_MESSAGE "ColorBackMsg" +#define OPT_COLTEXT_MESSAGE "ColorTextMsg" +#define OPT_COLDEFAULT_URL "DefaultColorUrl" +#define OPT_COLBACK_URL "ColorBackUrl" +#define OPT_COLTEXT_URL "ColorTextUrl" +#define OPT_COLDEFAULT_FILE "DefaultColorFile" +#define OPT_COLBACK_FILE "ColorBackFile" +#define OPT_COLTEXT_FILE "ColorTextFile" +#define OPT_COLDEFAULT_OTHERS "DefaultColorOthers" +#define OPT_COLBACK_OTHERS "ColorBackOthers" +#define OPT_COLTEXT_OTHERS "ColorTextOthers" +#define OPT_MASKNOTIFY "Notify" +#define OPT_MASKACTL "ActionLeft" +#define OPT_MASKACTR "ActionRight" +#define OPT_MASKACTTE "ActionTimeExpires" +#define OPT_MSGWINDOWCHECK "WindowCheck" +#define OPT_MSGREPLYWINDOW "ReplyWindow" +#define OPT_MERGEPOPUP "MergePopup" +#define OPT_DELAY_MESSAGE "DelayMessage" +#define OPT_DELAY_URL "DelayUrl" +#define OPT_DELAY_FILE "DelayFile" +#define OPT_DELAY_OTHERS "DelayOthers" +#define OPT_SHOW_DATE "ShowDate" +#define OPT_SHOW_TIME "ShowTime" +#define OPT_SHOW_HEADERS "ShowHeaders" +#define OPT_NUMBER_MSG "NumberMsg" +#define OPT_SHOW_ON "ShowOldOrNew" +#define OPT_HIDESEND "HideSend" +#define OPT_NORSS "NoRSSAnnounces" +#define OPT_READCHECK "ReadCheck" +//--------------------------- +//---Translateable Strings + +#define POPUP_COMMENT_MESSAGE LPGEN("Message") +#define POPUP_COMMENT_URL LPGEN("URL") +#define POPUP_COMMENT_FILE LPGEN("File") +#define POPUP_COMMENT_CONTACTS LPGEN("Contacts") +#define POPUP_COMMENT_ADDED LPGEN("You were added!") +#define POPUP_COMMENT_AUTH LPGEN("Requests your authorization") +#define POPUP_COMMENT_WEBPAGER LPGEN("ICQ Web pager") +#define POPUP_COMMENT_EMAILEXP LPGEN("ICQ Email express") + +#define ICQEVENTTYPE_SMSCONFIRMATION 3001 +#define POPUP_COMMENT_SMS LPGEN("SMS Message") +#define POPUP_COMMENT_SMSCONFIRMATION LPGEN("SMS Confirmation") + +#define POPUP_COMMENT_OTHER LPGEN("Unknown Event") + +#define MENUITEM_NAME LPGEN("Notify of new events") + +#define MENUITEM_ENABLE LPGEN("Enable new event notification") +#define MENUITEM_DISABLE LPGEN("Disable new event notification") + +//--------------------------- +//---Structures + +struct PLUGIN_OPTIONS +{ + HINSTANCE hInst; + BOOL bDisable; + BOOL bPreview; + BOOL bMenuitem; + BOOL bDefaultColorMsg; + BOOL bDefaultColorUrl; + BOOL bDefaultColorFile; + BOOL bDefaultColorOthers; + COLORREF colBackMsg; + COLORREF colTextMsg; + COLORREF colBackUrl; + COLORREF colTextUrl; + COLORREF colBackFile; + COLORREF colTextFile; + COLORREF colBackOthers; + COLORREF colTextOthers; + UINT maskNotify; + UINT maskActL; + UINT maskActR; + UINT maskActTE; + BOOL bMsgWindowCheck; + BOOL bMsgReplyWindow; + int iDelayMsg; + int iDelayUrl; + int iDelayFile; + int iDelayOthers; + int iDelayDefault; + BOOL bMergePopup; + BOOL bShowDate; + BOOL bShowTime; + BOOL bShowHeaders; + BYTE iNumberMsg; + BOOL bShowON; + BOOL bHideSend; + BOOL bNoRSS; + BOOL bReadCheck; +}; + +struct EVENT_DATA_EX +{ + MEVENT hEvent; + int number; + struct EVENT_DATA_EX* next; + struct EVENT_DATA_EX* prev; +}; + +struct PLUGIN_DATA +{ + UINT eventType; + MCONTACT hContact; + PLUGIN_OPTIONS* pluginOptions; + HWND hWnd; + struct EVENT_DATA_EX* firstEventData; + struct EVENT_DATA_EX* firstShowEventData; + struct EVENT_DATA_EX* lastEventData; + long countEvent; + long iSeconds; + int iLock; +}; + +//--------------------------- +//---External Procedure Definitions + +int PopupShow(PLUGIN_OPTIONS* pluginOptions, MCONTACT hContact, MEVENT hEvent, UINT eventType); +int PopupUpdate(MCONTACT hContact, MEVENT hEvent); +int PopupPreview(PLUGIN_OPTIONS* pluginOptions); +int PopupAct(HWND hWnd, UINT mask, PLUGIN_DATA* pdata); +int OptionsInit(PLUGIN_OPTIONS* pluginOptions); +int OptionsAdd(HINSTANCE hInst, WPARAM addInfo); +int Opt_DisableNEN(BOOL Status); +int MenuitemInit(BOOL bStatus); +int MenuitemUpdate(BOOL bStatus); +int NumberPopupData(MCONTACT hContact, int eventType); +int CheckMsgWnd(MCONTACT hContact); + +extern HINSTANCE hInst; -- cgit v1.2.3