Lumiera  0.pre.03
»edit your freedom«
guifacade.hpp
Go to the documentation of this file.
1 /*
2  GUIFACADE.hpp - access point for communicating with the Lumiera GTK GUI
3 
4  Copyright (C) Lumiera.org
5  2008, 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 
37 #ifndef STAGE_FACADE_H
38 #define STAGE_FACADE_H
39 
40 
41 #include "common/subsys.hpp"
42 #include "lib/nocopy.hpp"
43 
44 extern "C" {
45 #include "common/interface.h"
46 }
47 
48 
49 
50 namespace stage {
51 
52 
53 
54  /*****************************************************************/
79  class GuiFacade
81  {
82  public:
83 
88 
89 
91  static bool isUp();
92 
93 
94  protected:
95  GuiFacade() = delete;
96  };
97 
99  LUMIERA_INTERFACE_DECLARE (lumieraorg_Gui, 1,
100  LUMIERA_INTERFACE_SLOT (bool, launchUI, (void*))
101  );
102 
103 
104 } // namespace stage
105 #endif
Dependencies and lifecycle of a partially independent Subsystem of the Application.
Definition: subsys.hpp:70
LUMIERA_INTERFACE_DECLARE(lumieraorg_Gui, 1,)
interface of the GuiStarterPlugin
Any copy and copy construction prohibited.
Definition: nocopy.hpp:46
static lumiera::Subsys & getDescriptor()
provide a descriptor for lumiera::AppState, wired accordingly to allow main to load, start and stop the Lumiera GTK GUI.
Definition: guifacade.cpp:201
Lumiera interface macros and structures.
Mix-Ins to allow or prohibit various degrees of copying and cloning.
Describing dependencies and lifecycle of the application&#39;s primary parts.
Lumiera GTK UI implementation root.
Definition: guifacade.cpp:46
static bool isUp()
weather the GUI has been started and all interfaces are opened
Definition: guifacade.cpp:208
Global access point for loading and starting up the Lumiera GTK GUI and for controlling the GUI lifec...
Definition: guifacade.hpp:79