diff --git a/src/gui/id-scheme.hpp b/src/gui/id-scheme.hpp index 94bb0ca48..6b225ac70 100644 --- a/src/gui/id-scheme.hpp +++ b/src/gui/id-scheme.hpp @@ -63,6 +63,10 @@ namespace proc { namespace asset { class Timeline; + + namespace meta { + class ErrorLog; + } } } @@ -103,7 +107,7 @@ namespace gui { template<> struct Descriptor { - ///////////////////////////////////////////////////////////////////////////////////////////TICKET #1105 : need a model placeholder to represent UI specific global entities + using Model = proc::asset::meta::ErrorLog; ///////////////////////////////////////////////////////////////////////////////////////////TICKET #1105 : consider use of a DSL to configure component view access // diff --git a/src/gui/interact/wizard.hpp b/src/gui/interact/wizard.hpp index 31cd7304f..213115302 100644 --- a/src/gui/interact/wizard.hpp +++ b/src/gui/interact/wizard.hpp @@ -53,9 +53,13 @@ namespace proc { namespace asset { namespace meta { class ErrorLog; + + extern lib::idi::EntryID theErrorLog_ID; } } } namespace gui { + using ID = lib::idi::BareEntryID const&; + namespace ctrl { class GlobalCtx; class NotificationHub; @@ -65,11 +69,8 @@ namespace interact { using std::unique_ptr; // using std::string; -// class GlobalCtx; // class SpotLocator; - extern lib::idi::EntryID theErrorLog_ID; - /** @@ -89,6 +90,8 @@ namespace interact { ~Wizard (); void show_HelpAbout(); + + static ID getErrorLogID() { return proc::asset::meta::theErrorLog_ID; } private: }; diff --git a/src/gui/notification-service.cpp b/src/gui/notification-service.cpp index 0807df973..f3cdc5032 100644 --- a/src/gui/notification-service.cpp +++ b/src/gui/notification-service.cpp @@ -48,6 +48,8 @@ #include "gui/ctrl/ui-manager.hpp" #include "gui/ctrl/ui-dispatcher.hpp" #include "gui/notification-service.hpp" +#include "gui/interact/wizard.hpp" + #include "lib/diff/mutation-message.hpp" #include "lib/diff/gen-node.hpp" #include "include/logging.h" @@ -91,6 +93,7 @@ namespace gui { NotificationService::displayInfo (NotifyLevel severity, string const& text) { INFO (gui, "@GUI: display '%s' as notification message.", cStr(text)); + ID errorLogID = interact::Wizard::getErrorLogID(); ////////////////////////TODO actually push the information to the GUI ///////////////////////////////////TICKET #1102 : build a message display box in the UI ////////////////////////////////////////////////TICKET #1047 : as a temporary solution, use the InfoBox panel... } diff --git a/src/proc/asset/meta/error-log.cpp b/src/proc/asset/meta/error-log.cpp index 9f6cd9ef3..60639a7f2 100644 --- a/src/proc/asset/meta/error-log.cpp +++ b/src/proc/asset/meta/error-log.cpp @@ -43,7 +43,7 @@ using std::dynamic_pointer_cast; namespace proc { -namespace asset { +namespace asset{ namespace meta { namespace error = lumiera::error; diff --git a/src/proc/asset/meta/error-log.hpp b/src/proc/asset/meta/error-log.hpp index 6f600ce95..cd856528e 100644 --- a/src/proc/asset/meta/error-log.hpp +++ b/src/proc/asset/meta/error-log.hpp @@ -49,7 +49,7 @@ namespace proc { -namespace asset { +namespace asset{ namespace meta { using std::string; diff --git a/wiki/thinkPad.ichthyo.mm b/wiki/thinkPad.ichthyo.mm index f4079ede1..6f308c239 100644 --- a/wiki/thinkPad.ichthyo.mm +++ b/wiki/thinkPad.ichthyo.mm @@ -1493,7 +1493,7 @@ - + @@ -1561,12 +1561,36 @@ - + + + + + + + + +

+ in proc::asset::meta::theErrorLog_ID +

+ + +
+
+
+ + + + + + + + - + +