From 20d28e80a5c861a9d5f449ea911ab75b4f37ad0d Mon Sep 17 00:00:00 2001 From: Jef Date: Tue, 24 Sep 2024 14:54:57 +0200 Subject: Initial community commit --- Src/Wasabi/api/util/systray.h | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 Src/Wasabi/api/util/systray.h (limited to 'Src/Wasabi/api/util/systray.h') diff --git a/Src/Wasabi/api/util/systray.h b/Src/Wasabi/api/util/systray.h new file mode 100644 index 00000000..3e4f6d93 --- /dev/null +++ b/Src/Wasabi/api/util/systray.h @@ -0,0 +1,23 @@ +#ifndef __SYSTRAY_H +#define __SYSTRAY_H + +#include + +class Systray +{ +public: + Systray(HWND wnd, int uid, int msg, HICON smallicon); + ~Systray(); + void setTip(const wchar_t *tip); +private: + bool addIcon(); + bool deleteIcon(); + bool setTip(); + int id, message; + HWND hwnd; + HICON icon; + StringW tip; +}; + + +#endif -- cgit