Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpc-hc/sanear.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dll/src/sanear-dll/TrayWindow.h')
-rw-r--r--dll/src/sanear-dll/TrayWindow.h44
1 files changed, 0 insertions, 44 deletions
diff --git a/dll/src/sanear-dll/TrayWindow.h b/dll/src/sanear-dll/TrayWindow.h
deleted file mode 100644
index 99be3d4..0000000
--- a/dll/src/sanear-dll/TrayWindow.h
+++ /dev/null
@@ -1,44 +0,0 @@
-#pragma once
-
-#include "../../../src/Interfaces.h"
-
-namespace SaneAudioRenderer
-{
- class TrayWindow final
- {
- public:
-
- TrayWindow();
- ~TrayWindow();
- TrayWindow(const TrayWindow&) = delete;
- TrayWindow& operator=(const TrayWindow&) = delete;
-
- HRESULT Init(ISettings* pSettings);
-
- DWORD ThreadProc();
- LRESULT WindowProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam);
-
- private:
-
- void Destroy();
-
- void AddIcon();
- void RemoveIcon();
-
- void AddMenu();
- void RemoveMenu();
-
- void OnTrayNotify(WPARAM wParam, LPARAM lParam);
- void OnCommand(WPARAM wParam, LPARAM lParam);
-
- UINT m_taskbarCreatedMessage = 0;
- NOTIFYICONDATA m_nid;
-
- ISettingsPtr m_settings;
- HANDLE m_hThread = NULL;
- HWND m_hWindow = NULL;
- HMENU m_hMenu = NULL;
- std::promise<bool> m_windowCreated;
- std::vector<std::pair<std::wstring, std::wstring>> m_devices;
- };
-}