Code

Export. Fix PS/EPS export (Bug #698340, PS Level Restriction reversed.
[inkscape.git] / src / jabber_whiteboard / message-tags.h
1 /**
2  * Whiteboard session manager
3  * Message tags
4  * 
5  * Authors:
6  * David Yip <yipdw@rose-hulman.edu>
7  *
8  * Copyright (c) 2005 Authors
9  *
10  * Released under GNU GPL, read the file 'COPYING' for more information
11  */
13 #ifndef __WHITEBOARD_MESSAGE_TAGS_H__
14 #define __WHITEBOARD_MESSAGE_TAGS_H__
16 namespace Inkscape {
18 namespace Whiteboard {
19 /**
20  *
21  * These message tags are <b>not</b> used in all messages.
22  * They are confined to messages of type CHANGE_* and DOCUMENT_*;
23  * they define the tags that are used inside those messages' bodies.
24  */
25 // TODO: breaking these up into namespaces would be nice, but it's too much typing
26 // for now
27 //
28 // TODO: Some of these message tags are obsolete, and should be removed...
30 /// Message tag signaling an attribute change on a node.
31 extern char const* MESSAGE_CHANGE;
33 /// Message tag signaling a new node.
34 extern char const* MESSAGE_NEWOBJ;
36 /// Message tag signaling a node to remove.
37 extern char const* MESSAGE_DELETE;
39 /// Message tag signaling the beginning of a document synchronization.
40 extern char const* MESSAGE_DOCUMENT;
42 /// Message tag signaling a change in node content.
43 extern char const* MESSAGE_NODECONTENT;
45 /// Message tag signaling a change in node order.
46 extern char const* MESSAGE_ORDERCHANGE;
48 /// Message tag signaling a commit.
49 extern char const* MESSAGE_COMMIT;
51 /// Message tag signaling an undo.
52 extern char const* MESSAGE_UNDO;
54 /// Message tag signaling a redo.
55 extern char const* MESSAGE_REDO;
57 /// Message tag signaling the beginning of a document synchronization.
58 extern char const* MESSAGE_DOCBEGIN;
60 /// Message tag signaling the end of a document synchronization.
61 extern char const* MESSAGE_DOCEND;
63 /// Message tag used to identify an object's key.
64 extern char const* MESSAGE_OBJKEY;
66 /// Message tag used to identify a node ID.
67 extern char const* MESSAGE_ID;
69 /// Message tag used to identify an attribute key.
70 extern char const* MESSAGE_KEY;
72 /// Message tag used to identify an old value (attribute or content).
73 extern char const* MESSAGE_OLDVAL;
75 /// Message tag used to identify a new value (attribute or content).
76 extern char const* MESSAGE_NEWVAL;
78 /// Message tag used to identify a node name.
79 extern char const* MESSAGE_NAME;
81 extern char const* MESSAGE_ISINTERACTIVE;
82 extern char const* MESSAGE_DATA;
84 /// Message tag used to identify the parent of a node by string key.
85 extern char const* MESSAGE_PARENT;
87 /// Message tag used to identify a child node by string key.
88 extern char const* MESSAGE_CHILD;
90 /// Message tag used to identify the node previous to a child node by string key.
91 extern char const* MESSAGE_REF;
93 /// Message tag used to identify the content in a node.  
94 extern char const* MESSAGE_CONTENT;
95 extern char const* MESSAGE_REPEATABLE;
96 extern char const* MESSAGE_CHATROOM;
98 /**
99  * These message tags are used in all messages.
100  */
102 /// Message tag used to identify the message type.
103 extern char const* MESSAGE_TYPE;
105 /// Message tag used to identify the type of node being operated on.
106 extern char const* MESSAGE_NODETYPE;
108 /// Message tag used to identify the sender.
109 extern char const* MESSAGE_FROM;
111 /// Message tag used to identify the recipient.
112 extern char const* MESSAGE_TO;
114 /// Message tag used to identify the body portion of the message.
115 extern char const* MESSAGE_BODY;
116 extern char const* MESSAGE_QUEUE;
118 /// Message tag used to identify the sequence number of the message.
119 extern char const* MESSAGE_SEQNUM;
121 /// Message tag used to identify the Inkboard protocol version being used.
122 extern char const* MESSAGE_PROTOCOL_VER;
128 #endif
130 /*
131   Local Variables:
132   mode:c++
133   c-file-style:"stroustrup"
134   c-file-offsets:((innamespace . 0)(inline-open . 0))
135   indent-tabs-mode:nil
136   fill-column:99
137   End:
138 */
139 // vim: filetype=c++:expandtab:shiftwidth=4:tabstop=8:softtabstop=4 :