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) Lumiera.org
5  2018, Hermann Vosseler <Ichthyostega@web.de>
6 
7  This program is free software; you can redistribute it and/or
8  modify it under the terms of the GNU General Public License as
9  published by the Free Software Foundation; either version 2 of
10  the License, or (at your option) any later version.
11 
12  This program is distributed in the hope that it will be useful,
13  but WITHOUT ANY WARRANTY; without even the implied warranty of
14  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15  GNU General Public License for more details.
16 
17  You should have received a copy of the GNU General Public License
18  along with this program; if not, write to the Free Software
19  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
20 
21 */
22 
23 
50 #ifndef STAGE_INTERFACE_UI_PROTOCOL_H
51 #define STAGE_INTERFACE_UI_PROTOCOL_H
52 
53 
54 #include "lib/error.hpp"
55 #include "lib/symbol.hpp"
56 
57 
58 namespace lumiera {
59 namespace error {
60  LUMIERA_ERROR_DECLARE(DIFF_STRUCTURE);
61 }}
62 namespace Glib {
63 //class ustring; /////////////////////////////TODO needed?
64 }
65 namespace stage {
66 
67 //using lib::Literal;
68  using lib::Symbol;
69 //using cuString = const Glib::ustring;
70  using LERR_(DIFF_STRUCTURE);
71 
72 
73  extern const Symbol META_kind;
74 
75  extern const Symbol TYPE_Fork;
76  extern const Symbol TYPE_Clip;
77  extern const Symbol TYPE_Ruler;
78  extern const Symbol TYPE_Marker;
79  extern const Symbol TYPE_Channel;
80  extern const Symbol TYPE_Effect;
81 
82  extern const Symbol ATTR_name;
83  extern const Symbol ATTR_fork;
84  extern const Symbol ATTR_assets;
85  extern const Symbol ATTR_timing;
86 
87 
88  /* ======== UI-Element protocol ======== */
89 
90  extern const Symbol MARK_reset;
91  extern const Symbol MARK_clearErr;
92  extern const Symbol MARK_clearMsg;
93  extern const Symbol MARK_expand;
94  extern const Symbol MARK_reveal;
95  extern const Symbol MARK_Flash;
96  extern const Symbol MARK_Error;
97  extern const Symbol MARK_Warning;
98  extern const Symbol MARK_Message;
99 
100 
101  /* ======== Gesture Scopes ======== */
102 
103  extern const Symbol GESTURE_dragReolcate;
104 
105 
106 }// namespace stage
107 #endif /*STAGE_INTERFACE_UI_PROTOCOL_H*/
#define LUMIERA_ERROR_DECLARE(err)
Forward declare an error constant.
Definition: error.h:71
Token or Atom with distinct identity.
Definition: symbol.hpp:126
Marker types to indicate a literal string and a Symbol.
Lumiera GTK UI implementation root.
Definition: guifacade.cpp:46
Lumiera error handling (C++ interface).
Lumiera public interface.
Definition: advice.cpp:113