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,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}
|
||||
{ }
|
||||
|
||||
|
|
|
|||
|
|
@ -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()}}
|
||||
{ }
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue