Lumiera 0.pre.04~rc.1
»edit your freedom«
Loading...
Searching...
No Matches
ui-protocol.hpp
Go to the documentation of this file.
1/*
2 UI-PROTOCOL.h - magic keys used for communication with the Lumiera UI
3
4 Copyright (C)
5 2018, 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
14
41#ifndef STAGE_INTERFACE_UI_PROTOCOL_H
42#define STAGE_INTERFACE_UI_PROTOCOL_H
43
44
45#include "lib/error.hpp"
46#include "lib/symbol.hpp"
47
48
49namespace lumiera {
50namespace error {
51 LUMIERA_ERROR_DECLARE(DIFF_STRUCTURE);
52}}
53namespace Glib {
54//class ustring; /////////////////////////////TODO needed?
55}
56namespace stage {
57
58//using lib::Literal;
59 using lib::Symbol;
60//using cuString = const Glib::ustring;
61 using LERR_(DIFF_STRUCTURE);
62
63
64 extern const Symbol META_kind;
65
66 extern const Symbol TYPE_Fork;
67 extern const Symbol TYPE_Clip;
68 extern const Symbol TYPE_Ruler;
69 extern const Symbol TYPE_Marker;
70 extern const Symbol TYPE_Channel;
71 extern const Symbol TYPE_Effect;
72
73 extern const Symbol ATTR_name;
74 extern const Symbol ATTR_fork;
75 extern const Symbol ATTR_assets;
76 extern const Symbol ATTR_timing;
77
78
79 /* ======== UI-Element protocol ======== */
80
81 extern const Symbol MARK_reset;
82 extern const Symbol MARK_clearErr;
83 extern const Symbol MARK_clearMsg;
84 extern const Symbol MARK_expand;
85 extern const Symbol MARK_reveal;
86 extern const Symbol MARK_Flash;
87 extern const Symbol MARK_Error;
88 extern const Symbol MARK_Warning;
89 extern const Symbol MARK_Message;
90
91
92 /* ======== Gesture Scopes ======== */
93
94 extern const Symbol GESTURE_dragReolcate;
95
96
97}// namespace stage
98#endif /*STAGE_INTERFACE_UI_PROTOCOL_H*/
Token or Atom with distinct identity.
Definition symbol.hpp:120
#define LUMIERA_ERROR_DECLARE(err)
Forward declare an error constant.
Definition error.h:62
Lumiera error handling (C++ interface).
#define LERR_(_NAME_)
Definition error.hpp:45
Lumiera public interface.
Definition advice.hpp:102
Lumiera GTK UI implementation root.
Definition guifacade.cpp:37
const Symbol MARK_clearMsg
const Symbol TYPE_Channel
const Symbol TYPE_Ruler
const Symbol ATTR_name
const Symbol ATTR_assets
const Symbol MARK_reset
const Symbol MARK_expand
const Symbol TYPE_Clip
const Symbol TYPE_Marker
const Symbol MARK_Message
const Symbol TYPE_Effect
const Symbol MARK_Flash
const Symbol MARK_reveal
const Symbol MARK_Error
const Symbol ATTR_fork
const Symbol MARK_clearErr
const Symbol ATTR_timing
const Symbol GESTURE_dragReolcate
const Symbol META_kind
const Symbol TYPE_Fork
const Symbol MARK_Warning
Marker types to indicate a literal string and a Symbol.