Lumiera  0.pre.03
»edit your freedom«
gui-notification-facade.h File Reference

Go to the source code of this file.

Description

Major public Interface of the Lumiera GUI.

While from a user's point of view, the GUI controls the application and thus acts on its own, in fact the UI sends command messages to the Session subsystem in Steam-Layer. These commands cause changes in the session, which result in notification and structure change messages being pushed up asynchronously back into the UI. The GuiNotification interface abstracts this ability of the UI to receive such update messages. It is implemented by the NotificationService within the Stage-Layer, which causes actual tangible changes to happen in the UI in response to the reception of these messages.

See also
notification-service.hpp implementation
stage::GuiFacade
main.cpp

Definition in file gui-notification-facade.h.

#include "lib/depend.hpp"
#include "lib/idi/entry-id.hpp"
#include <string>
#include "common/interface.h"
#include "lib/hash-value.h"

Classes

class  GuiNotification
 Global access point to push state update and notification of events from the lower layers into the Lumiera GUI. More...
 

Typedefs

using ID = lib::idi::BareEntryID const &
 

Enumerations

enum  NotifyLevel {
  NOTE_INFO,
  NOTE_WARN,
  NOTE_ERROR
}
 

Functions

 LUMIERA_INTERFACE_DECLARE (lumieraorg_GuiNotification, 0, LUMIERA_INTERFACE_SLOT(void, displayInfo,(uint, const char *)), LUMIERA_INTERFACE_SLOT(void, markError,(const void *, const char *)), LUMIERA_INTERFACE_SLOT(void, markNote,(const void *, const char *)), LUMIERA_INTERFACE_SLOT(void, mark,(const void *, void *)), LUMIERA_INTERFACE_SLOT(void, mutate,(const void *, void *)), LUMIERA_INTERFACE_SLOT(void, triggerGuiShutdown,(const char *)),)
 

Namespaces

 lib
 Implementation namespace for support and library code.
 
 stage
 Lumiera GTK UI implementation root.