diff options
author | Vasily Melenchuk <vasily.melenchuk@cib.de> | 2024-04-27 14:23:12 +0200 |
---|---|---|
committer | Thorsten Behrens <thorsten.behrens@allotropia.de> | 2024-07-17 21:05:15 +0200 |
commit | 0c6642ed3a2dbcd54456f61706606fa3371b70ba (patch) | |
tree | 398c709fa556dac7c8e321abbfaa2f87f5129ee2 /vcl/inc/win | |
parent | a7327e95cee60d59bdec1b62e144179efa9f2eb8 (diff) |
vcl: support for Windows ITaskbarList3 interface
And a demo implementation for these features as a taskbar window
will become red once LO is displaying any error message.
Change-Id: Ifc04026c699059da2e457de2c69e7363e756109c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/166740
Tested-by: Jenkins
Reviewed-by: Thorsten Behrens <thorsten.behrens@allotropia.de>
Diffstat (limited to 'vcl/inc/win')
-rw-r--r-- | vcl/inc/win/salframe.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/vcl/inc/win/salframe.h b/vcl/inc/win/salframe.h index b9ddea89476a..e2f41822be0a 100644 --- a/vcl/inc/win/salframe.h +++ b/vcl/inc/win/salframe.h @@ -29,10 +29,12 @@ #include <svsys.h> class WinSalGraphics; +struct ITaskbarList3; class WinSalFrame final: public SalFrame { vcl::WindowState m_eState; + ITaskbarList3* m_pTaskbarList3; public: HWND mhWnd; // Window handle @@ -146,6 +148,9 @@ public: constexpr vcl::WindowState state() const { return m_eState; } void UpdateFrameState(); constexpr bool isFullScreen() const { return bool(m_eState & vcl::WindowState::FullScreen); } + + virtual void SetTaskBarProgress(int nCurrentProgress) override; + virtual void SetTaskBarState(VclTaskBarStates eTaskBarState) override; }; void ImplSalGetWorkArea( HWND hWnd, RECT *pRect, const RECT *pParentRect ); |