From 539bf5317feadcf34578dee953dce89ef4bdef4a Mon Sep 17 00:00:00 2001 From: Littleboy Date: Sat, 6 Aug 2011 15:25:32 -0400 Subject: COMMON: Add notifyError() and clearError() to the TaskbarManager, used to notify the user that an error happened through the taskbar icon --- common/taskbar.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/common/taskbar.h b/common/taskbar.h index 36d5e33820..ba99d4e487 100644 --- a/common/taskbar.h +++ b/common/taskbar.h @@ -122,6 +122,18 @@ public: */ virtual void addRecent(const String &name, const String &description) {} + /** + * Notifies the user an error occured through the taskbar icon + * + * This will for example show the taskbar icon as red (using progress of 100% and an error state) + * on Windows, and set the launcher icon in the urgent state on Unity + */ + virtual void notifyError() {} + + /** + * Clears the error notification + */ + virtual void clearError() {} }; } // End of namespace Common -- cgit v1.2.3