Lumiera 0.pre.04~rc.1
»edit your freedom«
Loading...
Searching...
No Matches
gui-notification-facade.h File Reference

Major public Interface of the Lumiera GUI. More...

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"

Namespaces

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

Typedefs

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

Enumerations

enum  NotifyLevel {
  NOTE_INFO ,
  NOTE_WARN ,
  NOTE_ERROR
}
 

Classes

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

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 *)),)
 

Function Documentation

◆ LUMIERA_INTERFACE_DECLARE()

LUMIERA_INTERFACE_DECLARE ( lumieraorg_GuiNotification  ,
,
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 *))   
)