From 0c6642ed3a2dbcd54456f61706606fa3371b70ba Mon Sep 17 00:00:00 2001 From: Vasily Melenchuk Date: Sat, 27 Apr 2024 14:23:12 +0200 Subject: 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 --- vcl/inc/win/salframe.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'vcl/inc/win') 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 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 ); -- cgit