Sat, 22 Aug 2020 03:45:42 -0500
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Move PurpleChatUser to its own file. Also fixed po/POTFILES.in
Testing Done:
Compiled and ran. ChatUser flags are not displayed but they also are not displayed on default right now either.
Reviewed at https://reviews.imfreedom.org/r/78/
|
40517
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
1 | /* |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
2 | * purple |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
3 | * |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
4 | * Purple is the legal property of its developers, whose names are too numerous |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
5 | * to list here. Please refer to the COPYRIGHT file distributed with this |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
6 | * source distribution. |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
7 | * |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
8 | * This program is free software; you can redistribute it and/or modify |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
9 | * it under the terms of the GNU General Public License as published by |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
10 | * the Free Software Foundation; either version 2 of the License, or |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
11 | * (at your option) any later version. |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
12 | * |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
13 | * This program is distributed in the hope that it will be useful, |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
16 | * GNU General Public License for more details. |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
17 | * |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
18 | * You should have received a copy of the GNU General Public License |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
19 | * along with this program; if not, see <http://www.gnu.org/licenses/>. |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
20 | */ |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
21 | |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
22 | #if !defined(PURPLE_GLOBAL_HEADER_INSIDE) && !defined(PURPLE_COMPILATION) |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
23 | # error "only <purple.h> may be included directly" |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
24 | #endif |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
25 | |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
26 | #ifndef PURPLE_CHAT_USER_H |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
27 | #define PURPLE_CHAT_USER_H |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
28 | |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
29 | #include <glib.h> |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
30 | #include <glib-object.h> |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
31 | |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
32 | /** |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
33 | * SECTION:purplechatuser |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
34 | * @section_id: libpurple-purplechatuser |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
35 | * @short_description: <filename>purplechatuser.h</filename> |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
36 | * @title: Chat User Objects |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
37 | */ |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
38 | |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
39 | /** |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
40 | * PurpleChatUser: |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
41 | * |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
42 | * Structure representing a chat user instance. |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
43 | */ |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
44 | |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
45 | /** |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
46 | * PurpleChatUserFlags: |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
47 | * @PURPLE_CHAT_USER_NONE: No flags |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
48 | * @PURPLE_CHAT_USER_VOICE: Voiced user or "Participant" |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
49 | * @PURPLE_CHAT_USER_HALFOP: Half-op |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
50 | * @PURPLE_CHAT_USER_OP: Channel Op or Moderator |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
51 | * @PURPLE_CHAT_USER_FOUNDER: Channel Founder |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
52 | * @PURPLE_CHAT_USER_TYPING: Currently typing |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
53 | * @PURPLE_CHAT_USER_AWAY: Currently away. |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
54 | * |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
55 | * Flags applicable to users in Chats. |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
56 | */ |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
57 | typedef enum /*< flags >*/ |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
58 | { |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
59 | PURPLE_CHAT_USER_NONE = 0x0000, |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
60 | PURPLE_CHAT_USER_VOICE = 0x0001, |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
61 | PURPLE_CHAT_USER_HALFOP = 0x0002, |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
62 | PURPLE_CHAT_USER_OP = 0x0004, |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
63 | PURPLE_CHAT_USER_FOUNDER = 0x0008, |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
64 | PURPLE_CHAT_USER_TYPING = 0x0010, |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
65 | PURPLE_CHAT_USER_AWAY = 0x0020 |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
66 | |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
67 | } PurpleChatUserFlags; |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
68 | |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
69 | #define PURPLE_TYPE_CHAT_USER purple_chat_user_get_type() |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
70 | |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
71 | /** |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
72 | * purple_chat_user_get_type: |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
73 | * |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
74 | * Returns: The #GType for the ChatConversationBuddy object. |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
75 | */ |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
76 | |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
77 | G_DECLARE_FINAL_TYPE(PurpleChatUser, purple_chat_user, PURPLE, CHAT_USER, |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
78 | GObject) |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
79 | |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
80 | #include <libpurple/conversationtypes.h> |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
81 | |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
82 | /** |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
83 | * purple_chat_user_new: |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
84 | * @chat: The chat that the buddy belongs to. |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
85 | * @name: The name. |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
86 | * @alias: The alias. |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
87 | * @flags: The flags. |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
88 | * |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
89 | * Creates a new chat user |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
90 | * |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
91 | * Returns: The new chat user |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
92 | */ |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
93 | PurpleChatUser *purple_chat_user_new(PurpleChatConversation *chat, |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
94 | const gchar *name, |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
95 | const gchar *alias, |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
96 | PurpleChatUserFlags flags); |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
97 | |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
98 | /** |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
99 | * purple_chat_user_set_chat: |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
100 | * @chat_user: The chat user |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
101 | * @chat: The chat conversation that @chat_user belongs to. |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
102 | * |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
103 | * Set the chat conversation associated with this chat user. |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
104 | * |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
105 | * Since: 3.0.0 |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
106 | */ |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
107 | void purple_chat_user_set_chat(PurpleChatUser *chat_user, |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
108 | PurpleChatConversation *chat); |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
109 | |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
110 | /** |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
111 | * purple_chat_user_get_chat: |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
112 | * @chat_user: The chat user. |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
113 | * |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
114 | * Get the chat conversation associated with this chat user. |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
115 | * |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
116 | * Returns: (transfer full): The chat conversation that the buddy belongs to. |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
117 | * |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
118 | * Since: 3.0.0 |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
119 | */ |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
120 | PurpleChatConversation *purple_chat_user_get_chat(PurpleChatUser *chat_user); |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
121 | |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
122 | /** |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
123 | * purple_chat_user_set_ui_data: |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
124 | * @chat_user: The chat user |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
125 | * @ui_data: A pointer to associate with this chat user. |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
126 | * |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
127 | * Set the UI data associated with this chat user. |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
128 | * |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
129 | * Since: 3.0.0 |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
130 | */ |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
131 | void purple_chat_user_set_ui_data(PurpleChatUser *chat_user, gpointer ui_data); |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
132 | |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
133 | /** |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
134 | * purple_chat_user_get_ui_data: |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
135 | * @chat_user: The chat user. |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
136 | * |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
137 | * Get the UI data associated with this chat user. |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
138 | * |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
139 | * Returns: (transfer none): The UI data associated with this chat user. This |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
140 | * is a convenience field provided to the UIs--it is not used by the |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
141 | * libpurple core. |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
142 | * |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
143 | * Since: 3.0.0 |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
144 | */ |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
145 | gpointer purple_chat_user_get_ui_data(PurpleChatUser *chat_user); |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
146 | |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
147 | /** |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
148 | * purple_chat_user_get_alias: |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
149 | * @chat_user: The chat user. |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
150 | * |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
151 | * Get the alias of a chat user. |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
152 | * |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
153 | * Returns: The alias of the chat user. |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
154 | * |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
155 | * Since: 3.0.0 |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
156 | */ |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
157 | const gchar *purple_chat_user_get_alias(PurpleChatUser *chat_user); |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
158 | |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
159 | /** |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
160 | * purple_chat_user_get_name: |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
161 | * @chat_user: The chat user. |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
162 | * |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
163 | * Get the name of a chat user. |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
164 | * |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
165 | * Returns: The name of the chat user. |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
166 | */ |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
167 | const gchar *purple_chat_user_get_name(PurpleChatUser *chat_user); |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
168 | |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
169 | /** |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
170 | * purple_chat_user_set_flags: |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
171 | * @chat_user: The chat user. |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
172 | * @flags: The new flags. |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
173 | * |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
174 | * Set the flags of a chat user. |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
175 | */ |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
176 | void purple_chat_user_set_flags(PurpleChatUser *chat_user, |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
177 | PurpleChatUserFlags flags); |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
178 | |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
179 | /** |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
180 | * purple_chat_user_get_flags: |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
181 | * @chat_user: The chat user. |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
182 | * |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
183 | * Get the flags of a chat user. |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
184 | * |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
185 | * Returns: The flags of the chat user. |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
186 | * |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
187 | * Since: 3.0.0 |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
188 | */ |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
189 | PurpleChatUserFlags purple_chat_user_get_flags(PurpleChatUser *chat_user); |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
190 | |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
191 | /** |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
192 | * purple_chat_user_is_buddy: |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
193 | * @chat_user: The chat user. |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
194 | * |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
195 | * Indicates if this chat user is on the buddy list. |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
196 | * |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
197 | * Returns: %TRUE if the chat user is on the buddy list. |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
198 | * |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
199 | * Since: 3.0.0 |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
200 | */ |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
201 | gboolean purple_chat_user_is_buddy(PurpleChatUser *chat_user); |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
202 | |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
203 | /** |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
204 | * purple_chat_user_compare: |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
205 | * @a: The first #PurpleChatUser. |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
206 | * @b: The second #PurpleChatUser. |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
207 | * |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
208 | * Compares #PurpleChatUser's @a and @b and returns -1 if @a should be sorted |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
209 | * first, 0 if sorted equally, and 1 if @a should be sorted after @b. |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
210 | * |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
211 | * Returns: The sorting order of @a and @b. |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
212 | */ |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
213 | gint purple_chat_user_compare(PurpleChatUser *a, PurpleChatUser *b); |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
214 | |
|
5211982886af
Move PurpleChatUser to it's own file and fix a few issues with the docs and translations
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
215 | #endif /* PURPLE_CHAT_USER_H */ |