Lumiera  0.pre.03
»edit your freedom«
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 
49 namespace lumiera {
50 namespace error {
51  LUMIERA_ERROR_DECLARE(DIFF_STRUCTURE);
52 }}
53 namespace Glib {
54 //class ustring; /////////////////////////////TODO needed?
55 }
56 namespace 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*/
#define LUMIERA_ERROR_DECLARE(err)
Forward declare an error constant.
Definition: error.h:62
Token or Atom with distinct identity.
Definition: symbol.hpp:117
Marker types to indicate a literal string and a Symbol.
Lumiera GTK UI implementation root.
Definition: guifacade.cpp:37
Lumiera error handling (C++ interface).
Lumiera public interface.
Definition: advice.cpp:104