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)
5  2008, Hermann Vosseler <Ichthyostega@web.de>
6 
7   **Lumiera** is free software; you can redistribute it and/or modify it
8   under the terms of the GNU General Public License as published by the
9   Free Software Foundation; either version 2 of the License, or (at your
10   option) any later version. See the file COPYING for further details.
11 
12 */
13 
28 #ifndef STAGE_FACADE_H
29 #define STAGE_FACADE_H
30 
31 
32 #include "common/subsys.hpp"
33 #include "lib/nocopy.hpp"
34 
35 extern "C" {
36 #include "common/interface.h"
37 }
38 
39 
40 
41 namespace stage {
42 
43 
44 
45  /*****************************************************************/
70  class GuiFacade
72  {
73  public:
74 
79 
80 
82  static bool isUp();
83 
84 
85  protected:
86  GuiFacade() = delete;
87  };
88 
90  LUMIERA_INTERFACE_DECLARE (lumieraorg_Gui, 1,
91  LUMIERA_INTERFACE_SLOT (bool, launchUI, (void*))
92  );
93 
94 
95 } // namespace stage
96 #endif
Dependencies and lifecycle of a partially independent Subsystem of the Application.
Definition: subsys.hpp:61
LUMIERA_INTERFACE_DECLARE(lumieraorg_Gui, 1,)
interface of the GuiStarterPlugin
Any copy and copy construction prohibited.
Definition: nocopy.hpp:37
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:192
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:37
static bool isUp()
weather the GUI has been started and all interfaces are opened
Definition: guifacade.cpp:199
Global access point for loading and starting up the Lumiera GTK GUI and for controlling the GUI lifec...
Definition: guifacade.hpp:70