aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--common/taskbar.h12
1 files changed, 12 insertions, 0 deletions
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