From b15ca763899cf22d5da3f4c75e1b5f37435118f9 Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Sat, 1 Aug 2015 16:42:01 +0000 Subject: StartupSilence: common project git-svn-id: http://svn.miranda-ng.org/main/trunk@14781 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/StartupSilence/StartupSilence.vcxproj | 28 +++ .../StartupSilence/StartupSilence.vcxproj.filters | 4 + plugins/StartupSilence/StartupSilence_10.vcxproj | 207 -------------------- .../StartupSilence_10.vcxproj.filters | 43 ----- plugins/StartupSilence/StartupSilence_12.vcxproj | 209 --------------------- .../StartupSilence_12.vcxproj.filters | 43 ----- plugins/StartupSilence/StartupSilence_14.vcxproj | 209 --------------------- .../StartupSilence_14.vcxproj.filters | 43 ----- plugins/StartupSilence/src/StartupSilence.h | 77 -------- plugins/StartupSilence/src/main.cpp | 2 +- plugins/StartupSilence/src/stdafx.cpp | 18 -- plugins/StartupSilence/src/stdafx.cxx | 18 ++ plugins/StartupSilence/src/stdafx.h | 77 ++++++++ 20 files changed, 135 insertions(+), 857 deletions(-) create mode 100644 plugins/StartupSilence/StartupSilence.vcxproj create mode 100644 plugins/StartupSilence/StartupSilence.vcxproj.filters delete mode 100644 plugins/StartupSilence/StartupSilence_10.vcxproj delete mode 100644 plugins/StartupSilence/StartupSilence_10.vcxproj.filters delete mode 100644 plugins/StartupSilence/StartupSilence_12.vcxproj delete mode 100644 plugins/StartupSilence/StartupSilence_12.vcxproj.filters delete mode 100644 plugins/StartupSilence/StartupSilence_14.vcxproj delete mode 100644 plugins/StartupSilence/StartupSilence_14.vcxproj.filters delete mode 100644 plugins/StartupSilence/src/StartupSilence.h delete mode 100644 plugins/StartupSilence/src/stdafx.cpp create mode 100644 plugins/StartupSilence/src/stdafx.cxx create mode 100644 plugins/StartupSilence/src/stdafx.h diff --git a/bin10/mir_dev.sln b/bin10/mir_dev.sln index 187ca6bb89..b99c9ae915 100644 --- a/bin10/mir_dev.sln +++ b/bin10/mir_dev.sln @@ -383,7 +383,7 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "WinterSpeak", "..\plugins\W EndProject Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "VKontakte", "..\protocols\VKontakte\vk.vcxproj", "{BF6E1942-7E42-4564-9DF5-FD0A00D71173}" EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "StartupSilence", "..\plugins\StartupSilence\StartupSilence_10.vcxproj", "{7B072B7F-E2AA-4935-AAF5-5BEF99665AD3}" +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "StartupSilence", "..\plugins\StartupSilence\StartupSilence.vcxproj", "{7B072B7F-E2AA-4935-AAF5-5BEF99665AD3}" EndProject Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "MirandaG15", "..\plugins\MirandaG15\MirandaG15.vcxproj", "{8ACA3C8B-BDFA-47B2-8578-069555BA05B3}" EndProject diff --git a/bin10/mir_full.sln b/bin10/mir_full.sln index 1325b8d9c1..3577f87d45 100644 --- a/bin10/mir_full.sln +++ b/bin10/mir_full.sln @@ -390,7 +390,7 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "WinterSpeak", "..\plugins\W EndProject Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "VKontakte", "..\protocols\VKontakte\vk.vcxproj", "{BF6E1942-7E42-4564-9DF5-FD0A00D71173}" EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "StartupSilence", "..\plugins\StartupSilence\StartupSilence_10.vcxproj", "{7B072B7F-E2AA-4935-AAF5-5BEF99665AD3}" +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "StartupSilence", "..\plugins\StartupSilence\StartupSilence.vcxproj", "{7B072B7F-E2AA-4935-AAF5-5BEF99665AD3}" EndProject Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "MirandaG15", "..\plugins\MirandaG15\MirandaG15.vcxproj", "{8ACA3C8B-BDFA-47B2-8578-069555BA05B3}" EndProject diff --git a/bin10/mir_full_pro.sln b/bin10/mir_full_pro.sln index f1633bc021..bf1560ea72 100644 --- a/bin10/mir_full_pro.sln +++ b/bin10/mir_full_pro.sln @@ -424,7 +424,7 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "WinterSpeak", "..\plugins\W EndProject Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "VKontakte", "..\protocols\VKontakte\vk.vcxproj", "{BF6E1942-7E42-4564-9DF5-FD0A00D71173}" EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "StartupSilence", "..\plugins\StartupSilence\StartupSilence_10.vcxproj", "{7B072B7F-E2AA-4935-AAF5-5BEF99665AD3}" +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "StartupSilence", "..\plugins\StartupSilence\StartupSilence.vcxproj", "{7B072B7F-E2AA-4935-AAF5-5BEF99665AD3}" EndProject Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "MirandaG15", "..\plugins\MirandaG15\MirandaG15.vcxproj", "{8ACA3C8B-BDFA-47B2-8578-069555BA05B3}" EndProject diff --git a/bin12/mir_dev.sln b/bin12/mir_dev.sln index 2ec2d77a26..699aa75938 100644 --- a/bin12/mir_dev.sln +++ b/bin12/mir_dev.sln @@ -390,7 +390,7 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "WinterSpeak", "..\plugins\W EndProject Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "VKontakte", "..\protocols\VKontakte\vk.vcxproj", "{BF6E1942-7E42-4564-9DF5-FD0A00D71173}" EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "StartupSilence", "..\plugins\StartupSilence\StartupSilence_12.vcxproj", "{7B072B7F-E2AA-4935-AAF5-5BEF99665AD3}" +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "StartupSilence", "..\plugins\StartupSilence\StartupSilence.vcxproj", "{7B072B7F-E2AA-4935-AAF5-5BEF99665AD3}" EndProject Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "MirandaG15", "..\plugins\MirandaG15\MirandaG15.vcxproj", "{8ACA3C8B-BDFA-47B2-8578-069555BA05B3}" EndProject diff --git a/bin12/mir_full.sln b/bin12/mir_full.sln index a2ab51baac..13de485dd1 100644 --- a/bin12/mir_full.sln +++ b/bin12/mir_full.sln @@ -392,7 +392,7 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "WinterSpeak", "..\plugins\W EndProject Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "VKontakte", "..\protocols\VKontakte\vk.vcxproj", "{BF6E1942-7E42-4564-9DF5-FD0A00D71173}" EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "StartupSilence", "..\plugins\StartupSilence\StartupSilence_12.vcxproj", "{7B072B7F-E2AA-4935-AAF5-5BEF99665AD3}" +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "StartupSilence", "..\plugins\StartupSilence\StartupSilence.vcxproj", "{7B072B7F-E2AA-4935-AAF5-5BEF99665AD3}" EndProject Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "MirandaG15", "..\plugins\MirandaG15\MirandaG15.vcxproj", "{8ACA3C8B-BDFA-47B2-8578-069555BA05B3}" EndProject diff --git a/bin14/mir_dev.sln b/bin14/mir_dev.sln index 45a27c05e1..9bc2e5bd4f 100644 --- a/bin14/mir_dev.sln +++ b/bin14/mir_dev.sln @@ -390,7 +390,7 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "WinterSpeak", "..\plugins\W EndProject Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "VKontakte", "..\protocols\VKontakte\vk.vcxproj", "{BF6E1942-7E42-4564-9DF5-FD0A00D71173}" EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "StartupSilence", "..\plugins\StartupSilence\StartupSilence_14.vcxproj", "{7B072B7F-E2AA-4935-AAF5-5BEF99665AD3}" +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "StartupSilence", "..\plugins\StartupSilence\StartupSilence.vcxproj", "{7B072B7F-E2AA-4935-AAF5-5BEF99665AD3}" EndProject Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "MirandaG15", "..\plugins\MirandaG15\MirandaG15.vcxproj", "{8ACA3C8B-BDFA-47B2-8578-069555BA05B3}" EndProject diff --git a/bin14/mir_full.sln b/bin14/mir_full.sln index f30491e7b1..8edfff69e3 100644 --- a/bin14/mir_full.sln +++ b/bin14/mir_full.sln @@ -392,7 +392,7 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "WinterSpeak", "..\plugins\W EndProject Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "VKontakte", "..\protocols\VKontakte\vk.vcxproj", "{BF6E1942-7E42-4564-9DF5-FD0A00D71173}" EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "StartupSilence", "..\plugins\StartupSilence\StartupSilence_14.vcxproj", "{7B072B7F-E2AA-4935-AAF5-5BEF99665AD3}" +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "StartupSilence", "..\plugins\StartupSilence\StartupSilence.vcxproj", "{7B072B7F-E2AA-4935-AAF5-5BEF99665AD3}" EndProject Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "MirandaG15", "..\plugins\MirandaG15\MirandaG15.vcxproj", "{8ACA3C8B-BDFA-47B2-8578-069555BA05B3}" EndProject diff --git a/plugins/StartupSilence/StartupSilence.vcxproj b/plugins/StartupSilence/StartupSilence.vcxproj new file mode 100644 index 0000000000..997c641a5a --- /dev/null +++ b/plugins/StartupSilence/StartupSilence.vcxproj @@ -0,0 +1,28 @@ + + + + + Debug + Win32 + + + Debug + x64 + + + Release + Win32 + + + Release + x64 + + + + StartupSilence + {7B072B7F-E2AA-4935-AAF5-5BEF99665AD3} + + + + + \ No newline at end of file diff --git a/plugins/StartupSilence/StartupSilence.vcxproj.filters b/plugins/StartupSilence/StartupSilence.vcxproj.filters new file mode 100644 index 0000000000..de5ad9f66c --- /dev/null +++ b/plugins/StartupSilence/StartupSilence.vcxproj.filters @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/plugins/StartupSilence/StartupSilence_10.vcxproj b/plugins/StartupSilence/StartupSilence_10.vcxproj deleted file mode 100644 index 285f2c9748..0000000000 --- a/plugins/StartupSilence/StartupSilence_10.vcxproj +++ /dev/null @@ -1,207 +0,0 @@ - - - - - Debug - Win32 - - - Debug - x64 - - - Release - Win32 - - - Release - x64 - - - - StartupSilence - {7B072B7F-E2AA-4935-AAF5-5BEF99665AD3} - - - - 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 - - - - MultiThreadedDebugDLL - false - Disabled - Level3 - true - EditAndContinue - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - _DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - EnableFastChecks - Use - StartupSilence.h - - - _DEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - true - true - Windows - $(IntDir)$(TargetName).lib - $(ProfileDir)..\..\bin10\lib - false - Ws2_32.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - - - - - MultiThreadedDebugDLL - false - Disabled - Level3 - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - WIN64;_DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - EnableFastChecks - Use - StartupSilence.h - - - _DEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - true - true - Windows - $(IntDir)$(TargetName).lib - $(ProfileDir)..\..\bin10\lib - false - Ws2_32.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - - - - - OnlyExplicitInline - true - true - Full - Level3 - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - Size - false - ProgramDatabase - Use - StartupSilence.h - - - NDEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - true - Windows - $(IntDir)$(TargetName).lib - $(ProfileDir)..\..\bin10\lib - true - true - true - false - /PDBALTPATH:%_PDB% %(AdditionalOptions) - Ws2_32.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - - - - - OnlyExplicitInline - true - true - Full - Level3 - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - WIN64;NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - Size - false - Use - StartupSilence.h - - - NDEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - true - Windows - $(IntDir)$(TargetName).lib - $(ProfileDir)..\..\bin10\lib - true - true - true - false - /PDBALTPATH:%_PDB% %(AdditionalOptions) - Ws2_32.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - - - - - - Create - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/plugins/StartupSilence/StartupSilence_10.vcxproj.filters b/plugins/StartupSilence/StartupSilence_10.vcxproj.filters deleted file mode 100644 index e70ae7f2a5..0000000000 --- a/plugins/StartupSilence/StartupSilence_10.vcxproj.filters +++ /dev/null @@ -1,43 +0,0 @@ - - - - - {ea5f1692-4e76-48cc-aac0-f46b04270245} - cpp - - - {d97369d8-bed4-484e-b8c6-f49bc26a0c9b} - h - - - {9de07257-97b5-4aa0-bf76-7f68c087d2db} - - - - - Header Files - - - Header Files - - - Header Files - - - - - Source Files - - - Source Files - - - - - Resource Files - - - Resource Files - - - \ No newline at end of file diff --git a/plugins/StartupSilence/StartupSilence_12.vcxproj b/plugins/StartupSilence/StartupSilence_12.vcxproj deleted file mode 100644 index 201ebeb63c..0000000000 --- a/plugins/StartupSilence/StartupSilence_12.vcxproj +++ /dev/null @@ -1,209 +0,0 @@ - - - - - Debug - Win32 - - - Debug - x64 - - - Release - Win32 - - - Release - x64 - - - - StartupSilence - {7B072B7F-E2AA-4935-AAF5-5BEF99665AD3} - - - - 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 - - - - MultiThreadedDebugDLL - false - Disabled - Level3 - true - ProgramDatabase - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - _DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - EnableFastChecks - Use - StartupSilence.h - - - _DEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - true - true - Windows - $(IntDir)$(TargetName).lib - $(ProfileDir)..\..\bin12\lib - false - Ws2_32.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - false - - - - - MultiThreadedDebugDLL - false - Disabled - Level3 - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - WIN64;_DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - EnableFastChecks - Use - StartupSilence.h - - - _DEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - true - true - Windows - $(IntDir)$(TargetName).lib - $(ProfileDir)..\..\bin12\lib - false - Ws2_32.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - - - - - OnlyExplicitInline - true - true - Full - Level3 - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - Size - false - Use - StartupSilence.h - - - NDEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - true - Windows - $(IntDir)$(TargetName).lib - $(ProfileDir)..\..\bin12\lib - true - true - true - false - Ws2_32.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - - - - - OnlyExplicitInline - true - true - Full - Level3 - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - WIN64;NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - Size - false - Use - StartupSilence.h - - - NDEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - true - Windows - $(IntDir)$(TargetName).lib - $(ProfileDir)..\..\bin12\lib - true - true - true - false - Ws2_32.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - - - - - - Create - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/plugins/StartupSilence/StartupSilence_12.vcxproj.filters b/plugins/StartupSilence/StartupSilence_12.vcxproj.filters deleted file mode 100644 index e70ae7f2a5..0000000000 --- a/plugins/StartupSilence/StartupSilence_12.vcxproj.filters +++ /dev/null @@ -1,43 +0,0 @@ - - - - - {ea5f1692-4e76-48cc-aac0-f46b04270245} - cpp - - - {d97369d8-bed4-484e-b8c6-f49bc26a0c9b} - h - - - {9de07257-97b5-4aa0-bf76-7f68c087d2db} - - - - - Header Files - - - Header Files - - - Header Files - - - - - Source Files - - - Source Files - - - - - Resource Files - - - Resource Files - - - \ No newline at end of file diff --git a/plugins/StartupSilence/StartupSilence_14.vcxproj b/plugins/StartupSilence/StartupSilence_14.vcxproj deleted file mode 100644 index 0112042473..0000000000 --- a/plugins/StartupSilence/StartupSilence_14.vcxproj +++ /dev/null @@ -1,209 +0,0 @@ - - - - - Debug - Win32 - - - Debug - x64 - - - Release - Win32 - - - Release - x64 - - - - StartupSilence - {7B072B7F-E2AA-4935-AAF5-5BEF99665AD3} - - - - 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 - - - - MultiThreadedDebugDLL - false - Disabled - Level3 - true - ProgramDatabase - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - _DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - EnableFastChecks - Use - StartupSilence.h - - - _DEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - true - true - Windows - $(IntDir)$(TargetName).lib - $(ProfileDir)..\..\bin14\lib - false - Ws2_32.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - false - - - - - MultiThreadedDebugDLL - false - Disabled - Level3 - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - WIN64;_DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - EnableFastChecks - Use - StartupSilence.h - - - _DEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - true - true - Windows - $(IntDir)$(TargetName).lib - $(ProfileDir)..\..\bin14\lib - false - Ws2_32.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - - - - - OnlyExplicitInline - true - true - Full - Level3 - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - Size - false - Use - StartupSilence.h - - - NDEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - true - Windows - $(IntDir)$(TargetName).lib - $(ProfileDir)..\..\bin14\lib - true - true - true - false - Ws2_32.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - - - - - OnlyExplicitInline - true - true - Full - Level3 - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - WIN64;NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - Size - false - Use - StartupSilence.h - - - NDEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - true - Windows - $(IntDir)$(TargetName).lib - $(ProfileDir)..\..\bin14\lib - true - true - true - false - Ws2_32.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - - - - - - Create - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/plugins/StartupSilence/StartupSilence_14.vcxproj.filters b/plugins/StartupSilence/StartupSilence_14.vcxproj.filters deleted file mode 100644 index e70ae7f2a5..0000000000 --- a/plugins/StartupSilence/StartupSilence_14.vcxproj.filters +++ /dev/null @@ -1,43 +0,0 @@ - - - - - {ea5f1692-4e76-48cc-aac0-f46b04270245} - cpp - - - {d97369d8-bed4-484e-b8c6-f49bc26a0c9b} - h - - - {9de07257-97b5-4aa0-bf76-7f68c087d2db} - - - - - Header Files - - - Header Files - - - Header Files - - - - - Source Files - - - Source Files - - - - - Resource Files - - - Resource Files - - - \ No newline at end of file diff --git a/plugins/StartupSilence/src/StartupSilence.h b/plugins/StartupSilence/src/StartupSilence.h deleted file mode 100644 index f7c0c3043a..0000000000 --- a/plugins/StartupSilence/src/StartupSilence.h +++ /dev/null @@ -1,77 +0,0 @@ -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include "win2k.h" - -#include - -#include "version.h" -#include "resource.h" - -static INT_PTR AdvSt(); -static INT_PTR InitMenu(); -void InitSettings(); -void LoadSettings(); -void DefSettings(); -void IsMenu(); -void UpdateMenu(); -void UpdateTTB(); - -INT_PTR SturtupSilenceEnabled(WPARAM wParam, LPARAM lParam); -INT_PTR SilenceConnection(WPARAM wParam, LPARAM lParam); - -#define MODULE_NAME "StartupSilence" - -#define SS_SERVICE_NAME "StartupSilence/ToggleEnabled" - -//StartupSilence/SilenceConnection -//external service for mute sound and popups according to plugin settings -//wParam = 2 - SilenceConnection is on -//wParam = 0 - SilenceConnection is off -//lParam = 0 - not in use -#define SS_SILENCE_CONNECTION "StartupSilence/SilenceConnection" - -#define POPUPONOFF "Popup/EnableDisableMenuCommand" - -#define MENU_NAME LPGEN("Silence at startup") -#define DISABLE_SILENCE LPGEN("Toggle Silence OFF") -#define ENABLE_SILENCE LPGEN("Toggle Silence ON") -#define DISABLE_SILENCETTB LPGEN("Toggle Silence OFF TTB") -#define ENABLE_SILENCETTB LPGEN("Toggle Silence ON TTB") -#define ALL_ENABLED TranslateT("Sounds and popups are enabled") -#define ALL_ENABLED_FLT LPGEN("Filtered mode ON") -#define ALL_DISABLED TranslateT("Sounds and popups are disabled temporarily") -#define ALL_DISABLED_FLT TranslateT("Sounds and popups are disabled temporarily.\nmRadio or Weather popups, etc. are allowed.") -#define S_MODE_CHANGEDON TranslateT("Silent Startup mode changed to ON") -#define S_MODE_CHANGEDOFF TranslateT("Silent Startup mode changed to OFF") -#define SS_IS_ON Translate("Silence At Startup is ON") -#define SS_IS_OFF Translate("Silence At Startup is OFF") -#define TTBNAME Translate("Toggle Silence At Startup") -#define NOTICE TranslateT(MENU_NAME) -#define NEEDTTBMOD TranslateT("You have to install \"TopToolBar\" to use this option.") -#define NEEDPOPUP TranslateT("You have to install \"YAPP\" or \"Popup+\" to use this option.") - -static IconItem iconList[] = { - {MENU_NAME, MENU_NAME, IDI_SSICON}, - {ALL_ENABLED_FLT, ALL_ENABLED_FLT, IDI_SSFILTEREDON}, - {DISABLE_SILENCE, DISABLE_SILENCE, IDI_SSDISABLE}, - {ENABLE_SILENCE, ENABLE_SILENCE, IDI_SSENABLE} -}; - -static IconItem iconttbList[] = { - {DISABLE_SILENCETTB, DISABLE_SILENCETTB, IDI_SSDISABLETTB}, - {ENABLE_SILENCETTB, ENABLE_SILENCETTB, IDI_SSENABLETTB} -}; diff --git a/plugins/StartupSilence/src/main.cpp b/plugins/StartupSilence/src/main.cpp index 948c642712..ccdef4917c 100644 --- a/plugins/StartupSilence/src/main.cpp +++ b/plugins/StartupSilence/src/main.cpp @@ -22,7 +22,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. //HELPME: need new icons for TTB bottons -#include "StartupSilence.h" +#include "stdafx.h" HINSTANCE hInst; int hLangpack; diff --git a/plugins/StartupSilence/src/stdafx.cpp b/plugins/StartupSilence/src/stdafx.cpp deleted file mode 100644 index f64a5b0758..0000000000 --- a/plugins/StartupSilence/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 "StartupSilence.h" \ No newline at end of file diff --git a/plugins/StartupSilence/src/stdafx.cxx b/plugins/StartupSilence/src/stdafx.cxx new file mode 100644 index 0000000000..6fb37564b7 --- /dev/null +++ b/plugins/StartupSilence/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/StartupSilence/src/stdafx.h b/plugins/StartupSilence/src/stdafx.h new file mode 100644 index 0000000000..f7c0c3043a --- /dev/null +++ b/plugins/StartupSilence/src/stdafx.h @@ -0,0 +1,77 @@ +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include "win2k.h" + +#include + +#include "version.h" +#include "resource.h" + +static INT_PTR AdvSt(); +static INT_PTR InitMenu(); +void InitSettings(); +void LoadSettings(); +void DefSettings(); +void IsMenu(); +void UpdateMenu(); +void UpdateTTB(); + +INT_PTR SturtupSilenceEnabled(WPARAM wParam, LPARAM lParam); +INT_PTR SilenceConnection(WPARAM wParam, LPARAM lParam); + +#define MODULE_NAME "StartupSilence" + +#define SS_SERVICE_NAME "StartupSilence/ToggleEnabled" + +//StartupSilence/SilenceConnection +//external service for mute sound and popups according to plugin settings +//wParam = 2 - SilenceConnection is on +//wParam = 0 - SilenceConnection is off +//lParam = 0 - not in use +#define SS_SILENCE_CONNECTION "StartupSilence/SilenceConnection" + +#define POPUPONOFF "Popup/EnableDisableMenuCommand" + +#define MENU_NAME LPGEN("Silence at startup") +#define DISABLE_SILENCE LPGEN("Toggle Silence OFF") +#define ENABLE_SILENCE LPGEN("Toggle Silence ON") +#define DISABLE_SILENCETTB LPGEN("Toggle Silence OFF TTB") +#define ENABLE_SILENCETTB LPGEN("Toggle Silence ON TTB") +#define ALL_ENABLED TranslateT("Sounds and popups are enabled") +#define ALL_ENABLED_FLT LPGEN("Filtered mode ON") +#define ALL_DISABLED TranslateT("Sounds and popups are disabled temporarily") +#define ALL_DISABLED_FLT TranslateT("Sounds and popups are disabled temporarily.\nmRadio or Weather popups, etc. are allowed.") +#define S_MODE_CHANGEDON TranslateT("Silent Startup mode changed to ON") +#define S_MODE_CHANGEDOFF TranslateT("Silent Startup mode changed to OFF") +#define SS_IS_ON Translate("Silence At Startup is ON") +#define SS_IS_OFF Translate("Silence At Startup is OFF") +#define TTBNAME Translate("Toggle Silence At Startup") +#define NOTICE TranslateT(MENU_NAME) +#define NEEDTTBMOD TranslateT("You have to install \"TopToolBar\" to use this option.") +#define NEEDPOPUP TranslateT("You have to install \"YAPP\" or \"Popup+\" to use this option.") + +static IconItem iconList[] = { + {MENU_NAME, MENU_NAME, IDI_SSICON}, + {ALL_ENABLED_FLT, ALL_ENABLED_FLT, IDI_SSFILTEREDON}, + {DISABLE_SILENCE, DISABLE_SILENCE, IDI_SSDISABLE}, + {ENABLE_SILENCE, ENABLE_SILENCE, IDI_SSENABLE} +}; + +static IconItem iconttbList[] = { + {DISABLE_SILENCETTB, DISABLE_SILENCETTB, IDI_SSDISABLETTB}, + {ENABLE_SILENCETTB, ENABLE_SILENCETTB, IDI_SSENABLETTB} +}; -- cgit v1.2.3