NotificationDisplay: wire NotificationHub-Controller with the global ID

This commit is contained in:
Fischlurch 2018-08-13 00:44:52 +02:00
parent c2c25f8134
commit b7c3764ae8
2 changed files with 4 additions and 3 deletions

View file

@ -76,10 +76,9 @@ namespace ctrl {
UNIMPLEMENTED ("create a sensible binding between AssetManager in the session and AssetController in the UI");
}
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}
{ }

View file

@ -56,6 +56,7 @@ namespace interact {
using boost::algorithm::is_any_of;
using boost::algorithm::split;
using workspace::WorkspaceWindow;
using ctrl::NotificationHub;
using ctrl::GlobalCtx;
using Gtk::AboutDialog;
@ -67,6 +68,7 @@ namespace interact {
Wizard::Wizard (GlobalCtx& globals)
: globalCtx_{globals}
, notificationHub_{new NotificationHub{getErrorLogID(), globals.uiBus_.getAccessPoint()}}
{ }