NotificationDisplay: wire NotificationHub-Controller with the global ID
This commit is contained in:
parent
c2c25f8134
commit
b7c3764ae8
2 changed files with 4 additions and 3 deletions
|
|
@ -76,13 +76,12 @@ namespace ctrl {
|
||||||
UNIMPLEMENTED ("create a sensible binding between AssetManager in the session and AssetController in the UI");
|
UNIMPLEMENTED ("create a sensible binding between AssetManager in the session and AssetController in the UI");
|
||||||
}
|
}
|
||||||
|
|
||||||
public:
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
NotificationHub (ID identity, ctrl::BusTerm& nexus)////////////////////////////////////TODO #1099 : define the ID hard-wired at an appropriate location, so it can be used from the NotificationService impl as well
|
NotificationHub (ID identity, ctrl::BusTerm& nexus)
|
||||||
: model::Controller{identity, nexus}
|
: model::Controller{identity, nexus}
|
||||||
{ }
|
{ }
|
||||||
|
|
||||||
~NotificationHub() { };
|
~NotificationHub() { };
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
|
|
||||||
|
|
@ -56,6 +56,7 @@ namespace interact {
|
||||||
using boost::algorithm::is_any_of;
|
using boost::algorithm::is_any_of;
|
||||||
using boost::algorithm::split;
|
using boost::algorithm::split;
|
||||||
using workspace::WorkspaceWindow;
|
using workspace::WorkspaceWindow;
|
||||||
|
using ctrl::NotificationHub;
|
||||||
using ctrl::GlobalCtx;
|
using ctrl::GlobalCtx;
|
||||||
using Gtk::AboutDialog;
|
using Gtk::AboutDialog;
|
||||||
|
|
||||||
|
|
@ -67,6 +68,7 @@ namespace interact {
|
||||||
|
|
||||||
Wizard::Wizard (GlobalCtx& globals)
|
Wizard::Wizard (GlobalCtx& globals)
|
||||||
: globalCtx_{globals}
|
: globalCtx_{globals}
|
||||||
|
, notificationHub_{new NotificationHub{getErrorLogID(), globals.uiBus_.getAccessPoint()}}
|
||||||
{ }
|
{ }
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue