Lumiera 0.pre.04~rc.1
»edit your freedom«
Loading...
Searching...
No Matches
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
35extern "C" {
36#include "common/interface.h"
37}
38
39
40
41namespace stage {
42
43
44
45 /*****************************************************************/
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:63
Global access point for loading and starting up the Lumiera GTK GUI and for controlling the GUI lifec...
Definition guifacade.hpp:72
static lumiera::Subsys & getDescriptor()
provide a descriptor for lumiera::AppState, wired accordingly to allow main to load,...
GuiFacade()=delete
static bool isUp()
weather the GUI has been started and all interfaces are opened
Any copy and copy construction prohibited.
Definition nocopy.hpp:38
Lumiera interface macros and structures.
#define LUMIERA_INTERFACE_DECLARE(name, version,...)
Declare an interface.
Definition interface.h:154
Lumiera GTK UI implementation root.
Definition guifacade.cpp:37
bool launchUI(Subsys::SigTerm &reportOnTermination)
Mix-Ins to allow or prohibit various degrees of copying and cloning.
Describing dependencies and lifecycle of the application's primary parts.