From dcded41299e215adbd5ab755e6ce1701e70087a4 Mon Sep 17 00:00:00 2001 From: lx-s Date: Wed, 31 Mar 2021 11:39:01 +0200 Subject: [PATCH] Updated Copyright. Added Log-class. --- Build/tools/chocolateyinstall.ps1 | 1 + Dist/bin/license.txt | 2 +- Dist/bin/liesmich.html | 2 +- Dist/bin/readme.html | 2 +- ScreensaverNotify/ScreensaverNotify.cpp | 2 +- ScreensaverNotify/ScreensaverNotify.vcxproj | 4 + .../ScreensaverNotify32.vcxproj | 4 + .../ScreensaverNotifierProxy.cpp | 2 +- ScreensaverProxy32/ScreensaverNotifierProxy.h | 2 +- ScreensaverProxy32/ScreensaverProxy.cpp | 2 +- ScreensaverProxy32/ScreensaverProxy32.vcxproj | 4 + WinMute/AboutDlg.cpp | 2 +- WinMute/Log.cpp | 83 +++++++++++++++++++ WinMute/Log.h | 50 +++++++++++ WinMute/MMNotificationClient.cpp | 2 +- WinMute/MMNotificationClient.h | 2 +- WinMute/QuietHoursDlg.cpp | 2 +- WinMute/ScreensaverNotifier.cpp | 2 +- WinMute/ScreensaverNotifier.h | 2 +- WinMute/Settings.cpp | 2 +- WinMute/Settings.h | 2 +- WinMute/StdAfx.cpp | 2 +- WinMute/StdAfx.h | 6 +- WinMute/TrayIcon.cpp | 2 +- WinMute/TrayIcon.h | 2 +- WinMute/Utility.cpp | 2 +- WinMute/VersionHelper.h | 2 +- WinMute/VistaAudio.cpp | 2 +- WinMute/VistaAudioSessionEvents.cpp | 2 +- WinMute/VistaAudioSessionEvents.h | 2 +- WinMute/WinAudio.h | 2 +- WinMute/WinMain.cpp | 2 +- WinMute/WinMute.cpp | 2 +- WinMute/WinMute.h | 2 +- WinMute/WinMute.vcxproj | 6 ++ WinMute/WinMute.vcxproj.filters | 9 ++ WinMute/res.rc | 4 +- 37 files changed, 195 insertions(+), 30 deletions(-) create mode 100644 Build/tools/chocolateyinstall.ps1 create mode 100644 WinMute/Log.cpp create mode 100644 WinMute/Log.h diff --git a/Build/tools/chocolateyinstall.ps1 b/Build/tools/chocolateyinstall.ps1 new file mode 100644 index 0000000..5f28270 --- /dev/null +++ b/Build/tools/chocolateyinstall.ps1 @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/Dist/bin/license.txt b/Dist/bin/license.txt index be1e5ef..30aa02a 100644 --- a/Dist/bin/license.txt +++ b/Dist/bin/license.txt @@ -1,5 +1,5 @@ WinMute - Copyright (C) 2020 Alexander Steinhoefer + Copyright (C) 2021 Alexander Steinhoefer ----------------------------------------------------------------------------- Redistribution and use in source and binary forms, with or without diff --git a/Dist/bin/liesmich.html b/Dist/bin/liesmich.html index 40ad8c5..e5a2cef 100644 --- a/Dist/bin/liesmich.html +++ b/Dist/bin/liesmich.html @@ -19,7 +19,7 @@

WinMute 1.6.0

- +

Über

WinMute kann Windows automatisch stumm schalten, sobald

diff --git a/Dist/bin/readme.html b/Dist/bin/readme.html index 5a7946e..144e712 100644 --- a/Dist/bin/readme.html +++ b/Dist/bin/readme.html @@ -19,7 +19,7 @@

WinMute 1.6.0

- +

About

WinMute can automatically mute your volume when

diff --git a/ScreensaverNotify/ScreensaverNotify.cpp b/ScreensaverNotify/ScreensaverNotify.cpp index 9c09475..9a1c91c 100644 --- a/ScreensaverNotify/ScreensaverNotify.cpp +++ b/ScreensaverNotify/ScreensaverNotify.cpp @@ -1,6 +1,6 @@ /* ScreensaverNotify DLL - Copyright (c) 2020, Alexander Steinhoefer + Copyright (c) 2021, Alexander Steinhoefer ----------------------------------------------------------------------------- Redistribution and use in source and binary forms, with or without diff --git a/ScreensaverNotify/ScreensaverNotify.vcxproj b/ScreensaverNotify/ScreensaverNotify.vcxproj index 8a8b1f5..ca3d3f5 100644 --- a/ScreensaverNotify/ScreensaverNotify.vcxproj +++ b/ScreensaverNotify/ScreensaverNotify.vcxproj @@ -123,6 +123,7 @@ true true Caret + stdcpp17 Windows @@ -140,6 +141,7 @@ true true Caret + stdcpp17 Windows @@ -160,6 +162,7 @@ true true Caret + stdcpp17 Windows @@ -185,6 +188,7 @@ true true Caret + stdcpp17 Windows diff --git a/ScreensaverNotify32/ScreensaverNotify32.vcxproj b/ScreensaverNotify32/ScreensaverNotify32.vcxproj index 5ea3435..05a2ac6 100644 --- a/ScreensaverNotify32/ScreensaverNotify32.vcxproj +++ b/ScreensaverNotify32/ScreensaverNotify32.vcxproj @@ -101,6 +101,7 @@ WINMUTEDLL_EXPORTS;WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) true Caret + stdcpp17 Console @@ -116,6 +117,7 @@ WINMUTEDLL_EXPORTS;WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions) true Caret + stdcpp17 Console @@ -134,6 +136,7 @@ WINMUTEDLL_EXPORTS;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) true Caret + stdcpp17 Console @@ -149,6 +152,7 @@ WINMUTEDLL_EXPORTS;NDEBUG;_CONSOLE;%(PreprocessorDefinitions) true Caret + stdcpp17 Console diff --git a/ScreensaverProxy32/ScreensaverNotifierProxy.cpp b/ScreensaverProxy32/ScreensaverNotifierProxy.cpp index 9393717..917aa5a 100644 --- a/ScreensaverProxy32/ScreensaverNotifierProxy.cpp +++ b/ScreensaverProxy32/ScreensaverNotifierProxy.cpp @@ -1,6 +1,6 @@ /* WinMute - Copyright (c) 2020, Alexander Steinhoefer + Copyright (c) 2021, Alexander Steinhoefer ----------------------------------------------------------------------------- Redistribution and use in source and binary forms, with or without diff --git a/ScreensaverProxy32/ScreensaverNotifierProxy.h b/ScreensaverProxy32/ScreensaverNotifierProxy.h index aca076c..e862c3f 100644 --- a/ScreensaverProxy32/ScreensaverNotifierProxy.h +++ b/ScreensaverProxy32/ScreensaverNotifierProxy.h @@ -1,6 +1,6 @@ /* WinMute - Copyright (c) 2020, Alexander Steinhoefer + Copyright (c) 2021, Alexander Steinhoefer ----------------------------------------------------------------------------- Redistribution and use in source and binary forms, with or without diff --git a/ScreensaverProxy32/ScreensaverProxy.cpp b/ScreensaverProxy32/ScreensaverProxy.cpp index a55206d..621bd4f 100644 --- a/ScreensaverProxy32/ScreensaverProxy.cpp +++ b/ScreensaverProxy32/ScreensaverProxy.cpp @@ -1,6 +1,6 @@ /* WinMute - Copyright (c) 2020, Alexander Steinhoefer + Copyright (c) 2021, Alexander Steinhoefer ----------------------------------------------------------------------------- Redistribution and use in source and binary forms, with or without diff --git a/ScreensaverProxy32/ScreensaverProxy32.vcxproj b/ScreensaverProxy32/ScreensaverProxy32.vcxproj index 1d86c28..cf96a5f 100644 --- a/ScreensaverProxy32/ScreensaverProxy32.vcxproj +++ b/ScreensaverProxy32/ScreensaverProxy32.vcxproj @@ -100,6 +100,7 @@ true WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) true + stdcpp17 Windows @@ -114,6 +115,7 @@ true WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions) true + stdcpp17 Windows @@ -128,6 +130,7 @@ true _DEBUG;_CONSOLE;%(PreprocessorDefinitions) true + stdcpp17 Windows @@ -142,6 +145,7 @@ true NDEBUG;_CONSOLE;%(PreprocessorDefinitions) true + stdcpp17 Windows diff --git a/WinMute/AboutDlg.cpp b/WinMute/AboutDlg.cpp index c4a4f7a..2d5c53d 100644 --- a/WinMute/AboutDlg.cpp +++ b/WinMute/AboutDlg.cpp @@ -1,6 +1,6 @@ /* WinMute - Copyright (c) 2020, Alexander Steinhoefer + Copyright (c) 2021, Alexander Steinhoefer ----------------------------------------------------------------------------- Redistribution and use in source and binary forms, with or without diff --git a/WinMute/Log.cpp b/WinMute/Log.cpp new file mode 100644 index 0000000..7251d08 --- /dev/null +++ b/WinMute/Log.cpp @@ -0,0 +1,83 @@ +/* + WinMute + Copyright (c) 2021, Alexander Steinhoefer + +----------------------------------------------------------------------------- +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + + * Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + * Neither the name of the author nor the names of its contributors may + be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE +LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +POSSIBILITY OF SUCH DAMAGE. +----------------------------------------------------------------------------- +*/ + +#pragma once + +#include "StdAfx.h" + +static bool OpenLogFile(std::ofstream &logFile) +{ + auto path = std::filesystem::temp_directory_path(); + path /= "WinMute.log"; + logFile.open(path.string(), std::ios::out|std::ios::app|std::ios::binary); + return logFile.is_open(); +} + +Log& Log::GetInstance() +{ + static Log log; + return log; +} + +Log::Log(): + initialized_(false) +{ + if (OpenLogFile(logFile_)) { + initialized_ = true; + } +} + +Log::~Log() +{ + if (initialized_) { + logFile_.close(); + } +} + +void Log::Write(std::string msg) +{ + if (!initialized_) { + return; + } + auto now = std::chrono::system_clock::now(); + auto in_time_t = std::chrono::system_clock::to_time_t(now); + struct tm tm; + + std::stringstream ss; + localtime_s(&tm, &in_time_t); + ss << "[" << std::put_time(&tm, "%Y-%m-%d %X") << "] "; + ss << msg; + ss << "\n"; + + logFile_.write(ss.str().c_str(), ss.str().length()); +} diff --git a/WinMute/Log.h b/WinMute/Log.h new file mode 100644 index 0000000..6988a22 --- /dev/null +++ b/WinMute/Log.h @@ -0,0 +1,50 @@ +/* + WinMute + Copyright (c) 2021, Alexander Steinhoefer + +----------------------------------------------------------------------------- +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + + * Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + * Neither the name of the author nor the names of its contributors may + be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE +LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +POSSIBILITY OF SUCH DAMAGE. +----------------------------------------------------------------------------- +*/ + +#pragma once + +#include "StdAfx.h" + +class Log { +public: + Log& GetInstance(); + void Write(std::string msg); +private: + Log(); + ~Log(); + Log(const Log&) = delete; + Log& operator=(const Log&) = delete; + + bool initialized_; + std::ofstream logFile_; +}; diff --git a/WinMute/MMNotificationClient.cpp b/WinMute/MMNotificationClient.cpp index 8dc099d..bb59ac5 100644 --- a/WinMute/MMNotificationClient.cpp +++ b/WinMute/MMNotificationClient.cpp @@ -1,6 +1,6 @@ /* WinMute - Copyright (c) 2020, Alexander Steinhoefer + Copyright (c) 2021, Alexander Steinhoefer ----------------------------------------------------------------------------- Redistribution and use in source and binary forms, with or without diff --git a/WinMute/MMNotificationClient.h b/WinMute/MMNotificationClient.h index 70aaa2a..c502627 100644 --- a/WinMute/MMNotificationClient.h +++ b/WinMute/MMNotificationClient.h @@ -1,6 +1,6 @@ /* WinMute - Copyright (c) 2020, Alexander Steinhoefer + Copyright (c) 2021, Alexander Steinhoefer ----------------------------------------------------------------------------- Redistribution and use in source and binary forms, with or without diff --git a/WinMute/QuietHoursDlg.cpp b/WinMute/QuietHoursDlg.cpp index 0368a24..32284f2 100644 --- a/WinMute/QuietHoursDlg.cpp +++ b/WinMute/QuietHoursDlg.cpp @@ -1,6 +1,6 @@ /* WinMute - Copyright (c) 2020, Alexander Steinhoefer + Copyright (c) 2021, Alexander Steinhoefer ----------------------------------------------------------------------------- Redistribution and use in source and binary forms, with or without diff --git a/WinMute/ScreensaverNotifier.cpp b/WinMute/ScreensaverNotifier.cpp index fb26980..c41e59b 100644 --- a/WinMute/ScreensaverNotifier.cpp +++ b/WinMute/ScreensaverNotifier.cpp @@ -1,6 +1,6 @@ /* WinMute - Copyright (c) 2020, Alexander Steinhoefer + Copyright (c) 2021, Alexander Steinhoefer ----------------------------------------------------------------------------- Redistribution and use in source and binary forms, with or without diff --git a/WinMute/ScreensaverNotifier.h b/WinMute/ScreensaverNotifier.h index b9cb093..7c9a359 100644 --- a/WinMute/ScreensaverNotifier.h +++ b/WinMute/ScreensaverNotifier.h @@ -1,6 +1,6 @@ /* WinMute - Copyright (c) 2020, Alexander Steinhoefer + Copyright (c) 2021, Alexander Steinhoefer ----------------------------------------------------------------------------- Redistribution and use in source and binary forms, with or without diff --git a/WinMute/Settings.cpp b/WinMute/Settings.cpp index 22bda63..314cc8d 100644 --- a/WinMute/Settings.cpp +++ b/WinMute/Settings.cpp @@ -1,6 +1,6 @@ /* WinMute - Copyright (c) 2020, Alexander Steinhoefer + Copyright (c) 2021, Alexander Steinhoefer ----------------------------------------------------------------------------- Redistribution and use in source and binary forms, with or without diff --git a/WinMute/Settings.h b/WinMute/Settings.h index 2a96321..c27ee37 100644 --- a/WinMute/Settings.h +++ b/WinMute/Settings.h @@ -1,6 +1,6 @@ /* WinMute - Copyright (c) 2020, Alexander Steinhoefer + Copyright (c) 2021, Alexander Steinhoefer ----------------------------------------------------------------------------- Redistribution and use in source and binary forms, with or without diff --git a/WinMute/StdAfx.cpp b/WinMute/StdAfx.cpp index 1b10bcf..ea86dd7 100644 --- a/WinMute/StdAfx.cpp +++ b/WinMute/StdAfx.cpp @@ -1,5 +1,5 @@ /* WinMute - Copyright (c) 2020, Alexander Steinhoefer + Copyright (c) 2021, Alexander Steinhoefer ----------------------------------------------------------------------------- Redistribution and use in source and binary forms, with or without diff --git a/WinMute/StdAfx.h b/WinMute/StdAfx.h index f25beca..a899a21 100644 --- a/WinMute/StdAfx.h +++ b/WinMute/StdAfx.h @@ -1,6 +1,6 @@ /* WinMute - Copyright (c) 2020, Alexander Steinhoefer + Copyright (c) 2021, Alexander Steinhoefer ----------------------------------------------------------------------------- Redistribution and use in source and binary forms, with or without @@ -54,6 +54,9 @@ POSSIBILITY OF SUCH DAMAGE. #include #include #include +#include +#include +#include #include #include @@ -67,6 +70,7 @@ POSSIBILITY OF SUCH DAMAGE. #include "ScreensaverNotifier.h" #include "Settings.h" +#include "Log.h" #include "TrayIcon.h" #include "WinMute.h" #include "VersionHelper.h" diff --git a/WinMute/TrayIcon.cpp b/WinMute/TrayIcon.cpp index 9b9d025..6f5b612 100644 --- a/WinMute/TrayIcon.cpp +++ b/WinMute/TrayIcon.cpp @@ -1,6 +1,6 @@ /* WinMute - Copyright (c) 2020, Alexander Steinhoefer + Copyright (c) 2021, Alexander Steinhoefer ----------------------------------------------------------------------------- Redistribution and use in source and binary forms, with or without diff --git a/WinMute/TrayIcon.h b/WinMute/TrayIcon.h index b563598..bdb9a8c 100644 --- a/WinMute/TrayIcon.h +++ b/WinMute/TrayIcon.h @@ -1,6 +1,6 @@ /* WinMute - Copyright (c) 2020, Alexander Steinhoefer + Copyright (c) 2021, Alexander Steinhoefer ----------------------------------------------------------------------------- Redistribution and use in source and binary forms, with or without diff --git a/WinMute/Utility.cpp b/WinMute/Utility.cpp index 1176ed4..65df993 100644 --- a/WinMute/Utility.cpp +++ b/WinMute/Utility.cpp @@ -1,6 +1,6 @@ /* WinMute - Copyright (c) 2020, Alexander Steinhoefer + Copyright (c) 2021, Alexander Steinhoefer ----------------------------------------------------------------------------- Redistribution and use in source and binary forms, with or without diff --git a/WinMute/VersionHelper.h b/WinMute/VersionHelper.h index 64ba8c3..416c919 100644 --- a/WinMute/VersionHelper.h +++ b/WinMute/VersionHelper.h @@ -1,6 +1,6 @@ /* WinMute - Copyright (c) 2020, Alexander Steinhoefer + Copyright (c) 2021, Alexander Steinhoefer ----------------------------------------------------------------------------- Redistribution and use in source and binary forms, with or without diff --git a/WinMute/VistaAudio.cpp b/WinMute/VistaAudio.cpp index 9fb5335..7ca1907 100644 --- a/WinMute/VistaAudio.cpp +++ b/WinMute/VistaAudio.cpp @@ -1,6 +1,6 @@ /* WinMute - Copyright (c) 2020, Alexander Steinhoefer + Copyright (c) 2021, Alexander Steinhoefer ----------------------------------------------------------------------------- Redistribution and use in source and binary forms, with or without diff --git a/WinMute/VistaAudioSessionEvents.cpp b/WinMute/VistaAudioSessionEvents.cpp index c824ba2..9772e51 100644 --- a/WinMute/VistaAudioSessionEvents.cpp +++ b/WinMute/VistaAudioSessionEvents.cpp @@ -1,6 +1,6 @@ /* WinMute - Copyright (c) 2020, Alexander Steinhoefer + Copyright (c) 2021, Alexander Steinhoefer ----------------------------------------------------------------------------- Redistribution and use in source and binary forms, with or without diff --git a/WinMute/VistaAudioSessionEvents.h b/WinMute/VistaAudioSessionEvents.h index 22e510d..621316e 100644 --- a/WinMute/VistaAudioSessionEvents.h +++ b/WinMute/VistaAudioSessionEvents.h @@ -1,6 +1,6 @@ /* WinMute - Copyright (c) 2020, Alexander Steinhoefer + Copyright (c) 2021, Alexander Steinhoefer ----------------------------------------------------------------------------- Redistribution and use in source and binary forms, with or without diff --git a/WinMute/WinAudio.h b/WinMute/WinAudio.h index c9efc4d..5e83dc0 100644 --- a/WinMute/WinAudio.h +++ b/WinMute/WinAudio.h @@ -1,6 +1,6 @@ /* WinMute - Copyright (c) 2020, Alexander Steinhoefer + Copyright (c) 2021, Alexander Steinhoefer ----------------------------------------------------------------------------- Redistribution and use in source and binary forms, with or without diff --git a/WinMute/WinMain.cpp b/WinMute/WinMain.cpp index 94535d0..0d04a90 100644 --- a/WinMute/WinMain.cpp +++ b/WinMute/WinMain.cpp @@ -1,6 +1,6 @@ /* WinMute - Copyright (c) 2020, Alexander Steinhoefer + Copyright (c) 2021, Alexander Steinhoefer ----------------------------------------------------------------------------- Redistribution and use in source and binary forms, with or without diff --git a/WinMute/WinMute.cpp b/WinMute/WinMute.cpp index 46a9ea2..4464f7c 100644 --- a/WinMute/WinMute.cpp +++ b/WinMute/WinMute.cpp @@ -1,6 +1,6 @@ /* WinMute - Copyright (c) 2020, Alexander Steinhoefer + Copyright (c) 2021, Alexander Steinhoefer ----------------------------------------------------------------------------- Redistribution and use in source and binary forms, with or without diff --git a/WinMute/WinMute.h b/WinMute/WinMute.h index a292f61..71b4362 100644 --- a/WinMute/WinMute.h +++ b/WinMute/WinMute.h @@ -1,6 +1,6 @@ /* WinMute - Copyright (c) 2020, Alexander Steinhoefer + Copyright (c) 2021, Alexander Steinhoefer ----------------------------------------------------------------------------- Redistribution and use in source and binary forms, with or without diff --git a/WinMute/WinMute.vcxproj b/WinMute/WinMute.vcxproj index a2c96a3..23b7c2e 100644 --- a/WinMute/WinMute.vcxproj +++ b/WinMute/WinMute.vcxproj @@ -129,6 +129,7 @@ true true Caret + stdcpp17 strsafe.lib;comctl32.lib;WtsApi32.lib;Winmm.lib;%(AdditionalDependencies) @@ -151,6 +152,7 @@ true Caret true + stdcpp17 strsafe.lib;comctl32.lib;WtsApi32.lib;Winmm.lib;%(AdditionalDependencies) @@ -176,6 +178,7 @@ Caret Guard + stdcpp17 strsafe.lib;comctl32.lib;WtsApi32.lib;Winmm.lib;%(AdditionalDependencies) @@ -207,6 +210,7 @@ true true Guard + stdcpp17 strsafe.lib;comctl32.lib;WtsApi32.lib;Winmm.lib;%(AdditionalDependencies) @@ -222,6 +226,7 @@ + @@ -240,6 +245,7 @@ + diff --git a/WinMute/WinMute.vcxproj.filters b/WinMute/WinMute.vcxproj.filters index a34564c..9cc447f 100644 --- a/WinMute/WinMute.vcxproj.filters +++ b/WinMute/WinMute.vcxproj.filters @@ -24,6 +24,9 @@ {f9c118fc-0a72-4278-a710-841604aeb3e3} + + {dc591c83-7135-4757-b9cb-54405dbc8d86} + @@ -62,6 +65,9 @@ Source Files\UI + + Source Files\Log + @@ -94,6 +100,9 @@ Source Files\Settings + + Source Files\Log + diff --git a/WinMute/res.rc b/WinMute/res.rc index d3fff5a..773539d 100644 --- a/WinMute/res.rc +++ b/WinMute/res.rc @@ -169,7 +169,7 @@ BEGIN VALUE "FileDescription", "WinMute" VALUE "FileVersion", "1.6.0.0" VALUE "InternalName", "WinMute" - VALUE "LegalCopyright", "Copyright (c) 2020, Alexander Steinhöfer" + VALUE "LegalCopyright", "Copyright (c) 2021, Alexander Steinhöfer" VALUE "OriginalFilename", "WinMute.exe" VALUE "ProductName", "WinMute" VALUE "ProductVersion", "1.6.0.0" @@ -180,7 +180,7 @@ BEGIN VALUE "FileDescription", "WinMute" VALUE "FileVersion", "1.6.0.0" VALUE "InternalName", "WinMute" - VALUE "LegalCopyright", "Copyright (c) 2020, Alexander Steinhöfer" + VALUE "LegalCopyright", "Copyright (c) 2021, Alexander Steinhöfer" VALUE "OriginalFilename", "WinMute.exe" VALUE "ProductName", "WinMute" VALUE "ProductVersion", "1.6.0.0" -- 2.43.0