libpurple/conversation.h

changeset 40526
c8cc1a4c4a02
parent 40524
a3b1cde8d2d8
child 40696
cf58ec89b1e4
equal deleted inserted replaced
40525:96fc115d6c36 40526:c8cc1a4c4a02
107 PURPLE_CONVERSATION_UPDATE_CHATLEFT, 107 PURPLE_CONVERSATION_UPDATE_CHATLEFT,
108 108
109 PURPLE_CONVERSATION_UPDATE_FEATURES 109 PURPLE_CONVERSATION_UPDATE_FEATURES
110 110
111 } PurpleConversationUpdateType; 111 } PurpleConversationUpdateType;
112
113 /**
114 * PurpleMessageFlags:
115 * @PURPLE_MESSAGE_SEND: Outgoing message.
116 * @PURPLE_MESSAGE_RECV: Incoming message.
117 * @PURPLE_MESSAGE_SYSTEM: System message.
118 * @PURPLE_MESSAGE_AUTO_RESP: Auto response.
119 * @PURPLE_MESSAGE_ACTIVE_ONLY: Hint to the UI that this message should not be
120 * shown in conversations which are only open for
121 * internal UI purposes (e.g. for contact-aware
122 * conversations).
123 * @PURPLE_MESSAGE_NICK: Contains your nick.
124 * @PURPLE_MESSAGE_NO_LOG: Do not log.
125 * @PURPLE_MESSAGE_ERROR: Error message.
126 * @PURPLE_MESSAGE_DELAYED: Delayed message.
127 * @PURPLE_MESSAGE_RAW: "Raw" message - don't apply formatting
128 * @PURPLE_MESSAGE_IMAGES: Message contains images
129 * @PURPLE_MESSAGE_NOTIFY: Message is a notification
130 * @PURPLE_MESSAGE_NO_LINKIFY: Message should not be auto-linkified
131 * @PURPLE_MESSAGE_INVISIBLE: Message should not be displayed
132 * @PURPLE_MESSAGE_REMOTE_SEND: Message sent from another location,
133 * not an echo of a local one
134 * Since: 2.12.0
135 *
136 * Flags applicable to a message. Most will have send, recv or system.
137 */
138 typedef enum /*< flags >*/
139 {
140 PURPLE_MESSAGE_SEND = 1 << 0,
141 PURPLE_MESSAGE_RECV = 1 << 1,
142 PURPLE_MESSAGE_SYSTEM = 1 << 2,
143 PURPLE_MESSAGE_AUTO_RESP = 1 << 3,
144 PURPLE_MESSAGE_ACTIVE_ONLY = 1 << 4,
145 PURPLE_MESSAGE_NICK = 1 << 5,
146 PURPLE_MESSAGE_NO_LOG = 1 << 6,
147 PURPLE_MESSAGE_ERROR = 1 << 7,
148 PURPLE_MESSAGE_DELAYED = 1 << 8,
149 PURPLE_MESSAGE_RAW = 1 << 9,
150 PURPLE_MESSAGE_IMAGES = 1 << 10,
151 PURPLE_MESSAGE_NOTIFY = 1 << 11,
152 PURPLE_MESSAGE_NO_LINKIFY = 1 << 12,
153 PURPLE_MESSAGE_INVISIBLE = 1 << 13,
154 PURPLE_MESSAGE_REMOTE_SEND = 1 << 14,
155 } PurpleMessageFlags;
156 112
157 #include <glib.h> 113 #include <glib.h>
158 #include <glib-object.h> 114 #include <glib-object.h>
159 #include "message.h" 115 #include "message.h"
160 116

mercurial