22 #ifndef BACKEND_WIN32_TASKBAR_H 23 #define BACKEND_WIN32_TASKBAR_H 25 #if defined(WIN32) && defined(USE_TASKBAR) 27 #include "common/str.h" 28 #include "common/taskbar.h" 30 class SdlWindow_Win32;
33 class Win32TaskbarManager final :
public Common::TaskbarManager {
35 Win32TaskbarManager(SdlWindow_Win32 *window);
36 virtual ~Win32TaskbarManager();
39 void setProgressValue(
int completed,
int total)
override;
40 void setProgressState(TaskbarProgressState state)
override;
41 void setCount(
int count)
override;
43 void notifyError()
override;
44 void clearError()
override;
47 SdlWindow_Win32 *_window;
49 ITaskbarList3 *_taskbar;
58 #endif // BACKEND_WIN32_TASKBAR_H