Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023 #ifndef BACKEND_MACOSX_TASKBAR_H
00024 #define BACKEND_MACOSX_TASKBAR_H
00025
00026 #if defined(MACOSX) && defined(USE_TASKBAR)
00027
00028 #include "common/str.h"
00029 #include "common/taskbar.h"
00030
00031 class MacOSXTaskbarManager : public Common::TaskbarManager {
00032 public:
00033 MacOSXTaskbarManager();
00034 virtual ~MacOSXTaskbarManager();
00035
00036 virtual void setOverlayIcon(const Common::String &name, const Common::String &description);
00037 virtual void setProgressValue(int completed, int total);
00038 virtual void setProgressState(TaskbarProgressState state);
00039 virtual void setCount(int count);
00040 virtual void addRecent(const Common::String &name, const Common::String &description);
00041 virtual void notifyError();
00042 virtual void clearError();
00043
00044 private:
00045 Common::String getIconPath(const Common::String&);
00046
00047 void initApplicationIconView();
00048 void clearApplicationIconView();
00049
00050 void initOverlayIconView();
00051 void clearOverlayIconView();
00052
00053 double _progress;
00054 };
00055
00056 #endif
00057
00058 #endif // BACKEND_MACOSX_TASKBAR_H