diff --git a/src/App/Document.h b/src/App/Document.h index 1a81d28033..f0d7cabfc0 100644 --- a/src/App/Document.h +++ b/src/App/Document.h @@ -29,6 +29,7 @@ #include #include +#include namespace Base { class Writer; @@ -70,6 +71,13 @@ public: IgnoreErrorOnRecompute = 12, // Don't report errors if the recompute failed }; + enum class NotificationType { + Information, + Warning, + Error, + Critical, + }; + /** @name Properties */ //@{ /// holds the long name of the document (utf-8 coded) @@ -172,6 +180,8 @@ public: boost::signals2::signal&)> signalSkipRecompute; boost::signals2::signal signalFinishRestoreObject; boost::signals2::signal signalChangePropertyEditor; + // signal user message + boost::signals2::signal signalUserMessage; //@} boost::signals2::signal signalLinkXsetValue;