Lumiera  0.pre.03
»edityourfreedom«
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
gui/ctrl/facade.hpp
Go to the documentation of this file.
1 /*
2  FACADE.hpp - Manage the public facade interfaces of the UI
3 
4  Copyright (C) Lumiera.org
5  2017, Hermann Vosseler <Ichthyostega@web.de>
6 
7  This program is free software; you can redistribute it and/or
8  modify it under the terms of the GNU General Public License as
9  published by the Free Software Foundation; either version 2 of
10  the License, or (at your option) any later version.
11 
12  This program is distributed in the hope that it will be useful,
13  but WITHOUT ANY WARRANTY; without even the implied warranty of
14  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15  GNU General Public License for more details.
16 
17  You should have received a copy of the GNU General Public License
18  along with this program; if not, write to the Free Software
19  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
20 
21 */
22 
23 
42 #ifndef GUI_CTRL_FACADE_H
43 #define GUI_CTRL_FACADE_H
44 
46 #include "gui/display-service.hpp"
47 #include "lib/depend-inject.hpp"
48 #include "lib/nocopy.hpp"
49 
50 
51 
52 namespace gui {
53 namespace ctrl {
54 
55 
63  class Facade
65  {
68 
71 
72 
73  public:
77  Facade (UiBus& bus, UiManager& manager)
78  : notificationService_{bus.getAccessPoint(), manager} // opens the GuiNotificationService instance
79  , displayService_{} // opens the DisplayService instance ////////TICKET #82 obsolete
80  {
81  INFO (gui, "UI-Facade Interfaces activated.");
82  }
83 
84  private:
85  };
86 
87 
88 
89 }}// namespace gui::ctrl
90 #endif /*GUI_CTRL_FACADE_H*/
Backbone of the Lumiera GTK GUI.
Definition: ui-bus.hpp:159
A public service provided by the GUI, implementing the lumiera::Display facade interface.
Configuration handle to expose a service implementation through the Depend front-end.
Lumiera GTK UI implementation root.
Definition: guifacade.cpp:47
Any copy and copy construction prohibited.
Definition: nocopy.hpp:46
Per type specific configuration of instances created as service dependencies.
A public service provided by the GUI, implementing the gui::GuiNotification facade interface...
A context to hold and manage the implementation of all UI facade interfaces.
The Lumiera UI framework and backbone object.
Definition: ui-manager.hpp:94
ctrl::BusTerm & getAccessPoint()
Definition: ui-bus.cpp:73
Mix-Ins to allow or prohibit various degrees of copying and cloning.
Facade(UiBus &bus, UiManager &manager)
Activate all external UI facade interfaces.
Instance_Notification notificationService_
Instance_DisplayService displayService_