diff options
Diffstat (limited to 'vcl/inc')
-rw-r--r-- | vcl/inc/salframe.hxx | 3 | ||||
-rw-r--r-- | vcl/inc/win/salframe.h | 5 |
2 files changed, 8 insertions, 0 deletions
diff --git a/vcl/inc/salframe.hxx b/vcl/inc/salframe.hxx index bce015ee4f73..ab2ce4d0430f 100644 --- a/vcl/inc/salframe.hxx +++ b/vcl/inc/salframe.hxx @@ -316,6 +316,9 @@ public: // in nOffset, nChars. static Selection CalcDeleteSurroundingSelection(std::u16string_view rSurroundingText, sal_Int32 nCursorIndex, int nOffset, int nChars); + + virtual void SetTaskBarProgress(int /*nCurrentProgress*/) {} + virtual void SetTaskBarState(VclTaskBarStates /*eTaskBarState*/) {} }; #ifdef _WIN32 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 ); |