]> repos.lx-s.de Git - winmute.git/commitdiff
Updated copyright notice on all files
authorlx-s <lx-s@users.noreply.github.com>
Thu, 11 Aug 2016 09:22:43 +0000 (11:22 +0200)
committerlx-s <lx-s@users.noreply.github.com>
Thu, 11 Aug 2016 09:22:43 +0000 (11:22 +0200)
24 files changed:
Build/bin/liesmich.html
Build/bin/readme.html
ScreensaverNotify/ScreensaverNotify.cpp
ScreensaverNotify/ScreensaverNotify.h
WinMute/AboutDlg.cpp
WinMute/MMNotificationClient.cpp
WinMute/MMNotificationClient.h
WinMute/ScreensaverNotifier.cpp
WinMute/ScreensaverNotifier.h
WinMute/Settings.cpp
WinMute/Settings.h
WinMute/StdAfx.cpp
WinMute/StdAfx.h
WinMute/TrayIcon.cpp
WinMute/TrayIcon.h
WinMute/Utility.cpp
WinMute/VersionHelper.h
WinMute/VistaAudio.cpp
WinMute/VistaAudioSessionEvents.cpp
WinMute/VistaAudioSessionEvents.h
WinMute/WinAudio.h
WinMute/WinMain.cpp
WinMute/WinMute.cpp
WinMute/WinMute.h

index 52802f27ba890fb5b117cfff291cd9b3e0b87095..e499aab5138ad14dc0d2aa812309bdceff1de6a3 100644 (file)
    </style>
 </head>
 <body>
-   <h1>WinMute 1.4</h1>
+   <h1>WinMute 1.4.3</h1>
    <p class="copyright">&copy; Copyright 2014, Alexander Steinh&ouml;fer - <a href="http://www.lx-s.de">www.lx-s.de</a></p>
 
    <h2>About</h2>
-   <p>WinMute schaltet Windows stumm, sobald sie ihren PC sperren oder sich der Screensaver einschaltet.</p>
+   <p>WinMute schaltet Windows stumm, sobald sie ihren PC sperren oder sich der Bildschirmschoner einschaltet.</p>
 
    <p>
       Das ist vor allem in einer B&uuml;roumgebung n&uuml;tzlich, wenn Sie Ihren
index dd9a23ae86aa051604fc9b5a0123b6b4fd2d0113..618fbab55f23da6f371afbc8c62db41aa28183f4 100644 (file)
@@ -17,8 +17,8 @@
    </style>
 </head>
 <body>
-   <h1>WinMute 1.3</h1>
-   <p class="copyright">&copy; Copyright 2014, by Alexander Steinh&ouml;fer - <a href="http://www.lx-s.de">www.lx-s.de</a></p>
+   <h1>WinMute 1.4.3</h1>
+   <p class="copyright">&copy; Copyright 2016, by Alexander Steinh&ouml;fer - <a href="http://www.lx-s.de">www.lx-s.de</a></p>
 
    <h2>About</h2>
    <p>WinMute automatically mutes your PC volume if you lock your screen or the screensaver is running.</p>
@@ -34,7 +34,7 @@
    <ul>
       <li>Operating System
          <ul>
-            <li>Windows XP SP3 or newer</li>
+            <li>Windows Vista or newer</li>
          </ul>
       </li>
    </ul>
index 4d4a839a24d6531e1c69e2deb36356d539176544..bb4b82b78cdbc787013619218f20d8955a46d24b 100644 (file)
@@ -1,6 +1,6 @@
 /*
  ScreensaverNotify DLL
-           Copyright (c) 2014 Alexander Steinhoefer
+           Copyright (C) 2016, Alexander Steinhoefer
 
 -----------------------------------------------------------------------------
 Redistribution and use in source and binary forms, with or without
@@ -14,7 +14,7 @@ modification, are permitted provided that the following conditions are met:
       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 
+      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"
index 90477d7a775c8c8cef5fc32c15e2dc95331e9299..8b89a25e4087c2ac90cae6dc1fd2e10600e7abd2 100644 (file)
@@ -1,6 +1,6 @@
 /*
  ScreensaverNotify DLL
-           Copyright (c) 2014 Alexander Steinhoefer
+           Copyright (C) 2016, Alexander Steinhoefer
 
 -----------------------------------------------------------------------------
 Redistribution and use in source and binary forms, with or without
@@ -14,7 +14,7 @@ modification, are permitted provided that the following conditions are met:
       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 
+      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"
index a7ca22b32105dd2d78b2accd6a245bf1dca66f65..4e221fda05c3baab816609fcb127244329e2e3ca 100644 (file)
@@ -1,6 +1,6 @@
 /*
  WinMute
-           Copyright (c) 2014 Alexander Steinhoefer
+           Copyright (C) 2016, Alexander Steinhoefer
 
 -----------------------------------------------------------------------------
 Redistribution and use in source and binary forms, with or without
@@ -14,7 +14,7 @@ modification, are permitted provided that the following conditions are met:
       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 
+      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"
index a95874a3df0f2718319cd90e51c2691ea290451c..fbaaf223c6da2a6b82ba8987286c52a89a2c98d9 100644 (file)
@@ -1,6 +1,6 @@
 /*
  WinMute
-           Copyright (c) 2014 Alexander Steinhoefer
+           Copyright (C) 2016, Alexander Steinhoefer
 
 -----------------------------------------------------------------------------
 Redistribution and use in source and binary forms, with or without
@@ -14,7 +14,7 @@ modification, are permitted provided that the following conditions are met:
       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 
+      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"
@@ -30,28 +30,28 @@ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 POSSIBILITY OF SUCH DAMAGE.
 -----------------------------------------------------------------------------
 */
-  
+
 #include "StdAfx.h"
 #include "WinAudio.h"
 #include "MMNotificationClient.h"
 
 class WinAudio;
- 
+
 MMNotificationClient::MMNotificationClient(WinAudio* notifyParent) :
    ref_(1), pEnumerator_(NULL), notifyParent_(notifyParent)
 {
 }
-  
+
 MMNotificationClient::~MMNotificationClient()
 {
    SafeRelease(&pEnumerator_);
 }
-  
+
 ULONG STDMETHODCALLTYPE MMNotificationClient::AddRef()
 {
    return InterlockedIncrement(&ref_);
 }
-  
+
 ULONG STDMETHODCALLTYPE MMNotificationClient::Release()
 {
    ULONG ref = InterlockedDecrement(&ref_);
@@ -60,7 +60,7 @@ ULONG STDMETHODCALLTYPE MMNotificationClient::Release()
    }
    return ref;
 }
-  
+
 HRESULT STDMETHODCALLTYPE MMNotificationClient::QueryInterface(
                                                             REFIID riid,
                                                             VOID **ppvInterface)
@@ -78,7 +78,7 @@ HRESULT STDMETHODCALLTYPE MMNotificationClient::QueryInterface(
    return S_OK;
 }
 
-  
+
 HRESULT STDMETHODCALLTYPE MMNotificationClient::OnDefaultDeviceChanged(
                                                      EDataFlow,
                                                      ERole,
@@ -89,12 +89,12 @@ HRESULT STDMETHODCALLTYPE MMNotificationClient::OnDefaultDeviceChanged(
    }
    return S_OK;
 }
-  
+
 HRESULT STDMETHODCALLTYPE MMNotificationClient::OnDeviceAdded(LPCWSTR)
 {
    return S_OK;
 }
-  
+
 HRESULT STDMETHODCALLTYPE MMNotificationClient::OnDeviceRemoved(LPCWSTR)
 {
    if (notifyParent_) {
@@ -102,18 +102,17 @@ HRESULT STDMETHODCALLTYPE MMNotificationClient::OnDeviceRemoved(LPCWSTR)
    }
    return S_OK;
 }
-  
+
 HRESULT STDMETHODCALLTYPE MMNotificationClient::OnDeviceStateChanged(LPCWSTR,
                                                                      DWORD)
 {
    return S_OK;
 }
-  
+
 HRESULT STDMETHODCALLTYPE MMNotificationClient::OnPropertyValueChanged(
                                                               LPCWSTR,
                                                               const PROPERTYKEY)
 {
    return S_OK;
 }
- 
-  
\ No newline at end of file
+
index 53c46ef715ad88419147feafa18d0d2695f8cc4c..9ed4a2df71e3a39dfe9c9d9c76f0cdbf0415cd1f 100644 (file)
@@ -1,6 +1,6 @@
 /*
  WinMute
-           Copyright (c) 2014 Alexander Steinhoefer
+           Copyright (C) 2016, Alexander Steinhoefer
 
 -----------------------------------------------------------------------------
 Redistribution and use in source and binary forms, with or without
@@ -14,7 +14,7 @@ modification, are permitted provided that the following conditions are met:
       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 
+      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"
@@ -30,7 +30,7 @@ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 POSSIBILITY OF SUCH DAMAGE.
 -----------------------------------------------------------------------------
 */
-  
+
 #include "StdAfx.h"
 #include <Mmdeviceapi.h>
 
@@ -40,7 +40,7 @@ class MMNotificationClient : public IMMNotificationClient {
 public:
    MMNotificationClient(WinAudio* notifyParent);
    ~MMNotificationClient();
-  
+
    ULONG STDMETHODCALLTYPE AddRef();
    ULONG STDMETHODCALLTYPE Release();
    HRESULT STDMETHODCALLTYPE QueryInterface(REFIID riid, VOID **ppvInterface);
index 5bfa77d84e04d1feb2a8478e27fe28b882775641..3bb821b2bccb9687a1c837718de067c88a74e8f8 100644 (file)
@@ -1,6 +1,6 @@
 /*
  WinMute
-           Copyright (c) 2014 Alexander Steinhoefer
+           Copyright (C) 2016, Alexander Steinhoefer
 
 -----------------------------------------------------------------------------
 Redistribution and use in source and binary forms, with or without
@@ -14,7 +14,7 @@ modification, are permitted provided that the following conditions are met:
       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 
+      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"
@@ -156,7 +156,7 @@ bool ScreensaverNotifier::RegisterWindowClass()
    wc.hInstance = hglobInstance;
    wc.lpfnWndProc = ScrsvrWndProc;
    wc.lpszClassName = SCRSVER_NOTIFY_WND_CLASS;
-   
+
    if (!RegisterClass(&wc)) {
       PrintWindowsError(_T("RegisterClass"));
       return false;
index 0a37f96aeb1e92023b5521b4609475f5364bf2f7..57593401df2329d8c1c5a86baf8ab7f18c50c052 100644 (file)
@@ -1,6 +1,6 @@
 /*
  WinMute
-           Copyright (c) 2014 Alexander Steinhoefer
+           Copyright (C) 2016, Alexander Steinhoefer
 
 -----------------------------------------------------------------------------
 Redistribution and use in source and binary forms, with or without
@@ -14,7 +14,7 @@ modification, are permitted provided that the following conditions are met:
       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 
+      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"
index 6ccdfd48101d757cb9c3cea22786f51614d2e022..1cb34393e0263e9ea16833f76f1ca81d9790baa0 100644 (file)
@@ -1,6 +1,6 @@
 /*
  WinMute
-           Copyright (c) 2014 Alexander Steinhoefer
+           Copyright (C) 2016, Alexander Steinhoefer
 
 -----------------------------------------------------------------------------
 Redistribution and use in source and binary forms, with or without
@@ -14,7 +14,7 @@ modification, are permitted provided that the following conditions are met:
       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 
+      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"
@@ -110,7 +110,7 @@ DWORD Settings::QueryValue(SettingsKey key, DWORD defValue)
       PrintWindowsError(_T("RegCreateKeyEx"), regError);
       return defValue;
    }
-   
+
    return value;
 }
 
@@ -122,7 +122,7 @@ bool Settings::SetValue(SettingsKey key, DWORD value)
    DWORD regError = RegSetValueEx(hRegSettingsKey_,
                                   keyStr,
                                   0,
-                                  REG_DWORD, 
+                                  REG_DWORD,
                                   reinterpret_cast<BYTE*>(&value),
                                   sizeof(DWORD));
    if (regError != ERROR_SUCCESS) {
index 3471797e8cb90ccc5030fd83348bdb0128f9d00c..3234f2dfffa2f57679f575d2d6fa8b13c0e46d9c 100644 (file)
@@ -1,6 +1,6 @@
 /*
  WinMute
-           Copyright (c) 2014 Alexander Steinhoefer
+           Copyright (C) 2016, Alexander Steinhoefer
 
 -----------------------------------------------------------------------------
 Redistribution and use in source and binary forms, with or without
@@ -14,7 +14,7 @@ modification, are permitted provided that the following conditions are met:
       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 
+      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"
index c27e33ad786f3c3ceaa9c9b701d037d4c90cb504..304c00ce69be6a7608a018e4d5728fa638c98810 100644 (file)
@@ -1,5 +1,5 @@
 /* WinMute
-           Copyright (c) 2014 Alexander Steinhoefer
+           Copyright (C) 2016, Alexander Steinhoefer
 
 -----------------------------------------------------------------------------
 Redistribution and use in source and binary forms, with or without
@@ -13,7 +13,7 @@ modification, are permitted provided that the following conditions are met:
       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 
+      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"
index 0d967246fe0d30b6d6ae6e3d091cba807d3f03fb..d56f1a4226ec67f5eaebb663a0b6a8b9f223536e 100644 (file)
@@ -1,6 +1,6 @@
 /*
  WinMute
-           Copyright (c) 2014 Alexander Steinhoefer
+           Copyright (C) 2016, Alexander Steinhoefer
 
 -----------------------------------------------------------------------------
 Redistribution and use in source and binary forms, with or without
@@ -14,7 +14,7 @@ modification, are permitted provided that the following conditions are met:
       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 
+      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"
@@ -88,4 +88,4 @@ inline void SafeRelease(Interface** ppInterfaceToRelease)
 // Utility
 void PrintWindowsError(LPTSTR lpszFunction, DWORD lastError = -1);
 
-const LPCTSTR PROGRAM_NAME = _T("WinMute");
+static const LPCTSTR PROGRAM_NAME = _T("WinMute");
index 156b67ae83e4a512688f0c577d3cdf3457073730..0875fd6cd809208b1dfe56bf1a33173b90dcb692 100644 (file)
@@ -1,6 +1,6 @@
 /*
  WinMute
-           Copyright (c) 2014 Alexander Steinhoefer
+           Copyright (C) 2016, Alexander Steinhoefer
 
 -----------------------------------------------------------------------------
 Redistribution and use in source and binary forms, with or without
index 6d5ab24cf0349e28a51eacb24dcf01785dedaa4e..0513e9f06c40c129a063b2f192443c7e9b395b1b 100644 (file)
@@ -1,6 +1,6 @@
 /*
  WinMute
-           Copyright (c) 2014 Alexander Steinhoefer
+           Copyright (C) 2016, Alexander Steinhoefer
 
 -----------------------------------------------------------------------------
 Redistribution and use in source and binary forms, with or without
@@ -14,7 +14,7 @@ modification, are permitted provided that the following conditions are met:
       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 
+      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"
index 197f5eaf387b2558cea5e782f5fdc8f07d4d317a..c2972eb911596496268923bbfa2dfdefb438a347 100644 (file)
@@ -1,6 +1,6 @@
 /*
  WinMute
-           Copyright (c) 2014 Alexander Steinhoefer
+           Copyright (C) 2016, Alexander Steinhoefer
 
 -----------------------------------------------------------------------------
 Redistribution and use in source and binary forms, with or without
index 38c8edb9a2a80b95a19ffab3d1c1aed37f75cf70..8d209136c14f77a8c56aa4f72875548e1dc953d0 100644 (file)
@@ -1,6 +1,6 @@
 /*
  WinMute
-           Copyright (c) 2014 Alexander Steinhoefer
+           Copyright (C) 2016, Alexander Steinhoefer
 
 -----------------------------------------------------------------------------
 Redistribution and use in source and binary forms, with or without
@@ -14,7 +14,7 @@ modification, are permitted provided that the following conditions are met:
       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 
+      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"
index 4cf6c4a1793ef7913a0c5406421ad42681a102c7..020f9ea4007511306c94d51a973fdd65557608b6 100644 (file)
@@ -1,6 +1,6 @@
 /*
  WinMute
-           Copyright (c) 2014 Alexander Steinhoefer
+           Copyright (C) 2016, Alexander Steinhoefer
 
 -----------------------------------------------------------------------------
 Redistribution and use in source and binary forms, with or without
index 795352e6ea5dce97d163bc44eec5f01f99d02bfa..e35dc223297c711e16e238d972cd642dd6fd0ae1 100644 (file)
@@ -1,6 +1,6 @@
 /*
  WinMute
-           Copyright (c) 2014 Alexander Steinhoefer
+           Copyright (C) 2016, Alexander Steinhoefer
 
 -----------------------------------------------------------------------------
 Redistribution and use in source and binary forms, with or without
@@ -14,7 +14,7 @@ modification, are permitted provided that the following conditions are met:
       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 
+      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"
@@ -122,7 +122,7 @@ HRESULT STDMETHODCALLTYPE VistaAudioSessionEvents::OnStateChanged(
 }
 
 /* See
- * http://blogs.msdn.com/b/larryosterman/archive/2007/10/31/what-happens-when-audio-rendering-fails.aspx 
+ * http://blogs.msdn.com/b/larryosterman/archive/2007/10/31/what-happens-when-audio-rendering-fails.aspx
  * for detailed information about each of these entries */
 HRESULT STDMETHODCALLTYPE VistaAudioSessionEvents::OnSessionDisconnected(
                                   AudioSessionDisconnectReason disconnectReason)
index f6719d412c98bac38c0ac367784f571e90c0325e..4647d08385eb094a3d8351ce24bd2d56e5792315 100644 (file)
@@ -1,6 +1,6 @@
 /*
  WinMute
-           Copyright (c) 2014 Alexander Steinhoefer
+           Copyright (C) 2016, Alexander Steinhoefer
 
 -----------------------------------------------------------------------------
 Redistribution and use in source and binary forms, with or without
@@ -14,7 +14,7 @@ modification, are permitted provided that the following conditions are met:
       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 
+      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"
index 9266b982b5f9bdf325fca53f2fc7c84c158880b3..680fdc50bb28b5b4a62c741bd4dd59ca66b6d3d5 100644 (file)
@@ -1,6 +1,6 @@
 /*
  WinMute
-           Copyright (c) 2014 Alexander Steinhoefer
+           Copyright (C) 2016, Alexander Steinhoefer
 
 -----------------------------------------------------------------------------
 Redistribution and use in source and binary forms, with or without
index f95cdf0bfeb7f71998910fecdb7d68a0a779c9e7..46525e9b3b7f9b7b2db5572f3ced995887447e23 100644 (file)
@@ -1,6 +1,6 @@
 /*
  WinMute
-           Copyright (c) 2014 Alexander Steinhoefer
+           Copyright (C) 2016, Alexander Steinhoefer
 
 -----------------------------------------------------------------------------
 Redistribution and use in source and binary forms, with or without
@@ -40,7 +40,7 @@ int WINAPI wWinMain(_In_ HINSTANCE hInstance,
                    _In_ PWSTR,
                    _In_ int)
 {
-   HANDLE hMutex = CreateMutex(nullptr, TRUE, _T("BinaryStudiosWinMute"));
+   HANDLE hMutex = CreateMutex(nullptr, TRUE, _T("LxSystemsWinMute"));
    if (hMutex == NULL) {
       return FALSE;
    }
index f87736006eaa67effac55410495e2117966a9845..ddd7fb7a21f29cee7edf06af478b49c74d81496a 100644 (file)
@@ -1,6 +1,6 @@
 /*
  WinMute
-           Copyright (c) 2014 Alexander Steinhoefer
+           Copyright (C) 2016, Alexander Steinhoefer
 
 -----------------------------------------------------------------------------
 Redistribution and use in source and binary forms, with or without
index 476941eb187c40a0e5e2c6681d19c0ed788eea22..c44b0278328d8d93ca632f779cb1e999bf9a0aa9 100644 (file)
@@ -1,6 +1,6 @@
 /*
  WinMute
-           Copyright (c) 2014 Alexander Steinhoefer
+           Copyright (C) 2016, Alexander Steinhoefer
 
 -----------------------------------------------------------------------------
 Redistribution and use in source and binary forms, with or without
@@ -45,9 +45,7 @@ public:
    bool Init();
    void Close();
 
-   HWND GetWnd();
-
-   // for internal use
+  // for internal use
    LRESULT CALLBACK WindowProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam);
 private:
    HWND hWnd_;
@@ -71,9 +69,8 @@ private:
    void Unload();
 
    void CheckOrUncheckMenu(UINT item, bool* setting);
-   
 
    // Disable copying
-   WinMute(const WinMute&);
-   WinMute& operator=(const WinMute&);
+   WinMute(const WinMute&) = delete;
+   WinMute& operator=(const WinMute&) = delete;
 };