22 #ifndef BACKEND_UNITY_TASKBAR_H 23 #define BACKEND_UNITY_TASKBAR_H 25 #if defined(POSIX) && defined(USE_TASKBAR) && defined(USE_UNITY) 27 #include "common/events.h" 28 #include "common/str.h" 29 #include "common/taskbar.h" 31 typedef struct _GMainLoop GMainLoop;
32 typedef struct _UnityLauncherEntry UnityLauncherEntry;
36 UnityTaskbarManager();
37 virtual ~UnityTaskbarManager();
39 virtual void setProgressValue(
int completed,
int total);
40 virtual void setProgressState(TaskbarProgressState state);
42 virtual void setCount(
int count);
49 UnityLauncherEntry *_launcher;
54 #endif // BACKEND_UNITY_TASKBAR_H
virtual bool pollEvent(Event &event)=0