Thu, 29 Feb 2024 21:32:16 -0600
Remove the micro version from since tags for libpurple part 1
This has been split up into multiple commits because otherwise it's just too
many files.
Testing Done:
Compiled
Reviewed at https://reviews.imfreedom.org/r/2988/
|
42594
eddde70cedd8
Create a test for verifying license headers and correct the ones that were wrong
Gary Kramlich <grim@reaperworld.com>
parents:
42428
diff
changeset
|
1 | /* |
|
eddde70cedd8
Create a test for verifying license headers and correct the ones that were wrong
Gary Kramlich <grim@reaperworld.com>
parents:
42428
diff
changeset
|
2 | * Purple - Internet Messaging Library |
|
eddde70cedd8
Create a test for verifying license headers and correct the ones that were wrong
Gary Kramlich <grim@reaperworld.com>
parents:
42428
diff
changeset
|
3 | * Copyright (C) Pidgin Developers <devel@pidgin.im> |
|
37947
12ce09a23094
Move PurpleChat to it's own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
4 | * |
|
12ce09a23094
Move PurpleChat to it's own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
5 | * Purple is the legal property of its developers, whose names are too numerous |
|
42594
eddde70cedd8
Create a test for verifying license headers and correct the ones that were wrong
Gary Kramlich <grim@reaperworld.com>
parents:
42428
diff
changeset
|
6 | * to list here. Please refer to the COPYRIGHT file distributed with this |
|
37947
12ce09a23094
Move PurpleChat to it's own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
7 | * source distribution. |
|
12ce09a23094
Move PurpleChat to it's own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
8 | * |
|
42594
eddde70cedd8
Create a test for verifying license headers and correct the ones that were wrong
Gary Kramlich <grim@reaperworld.com>
parents:
42428
diff
changeset
|
9 | * This library is free software; you can redistribute it and/or modify it |
|
eddde70cedd8
Create a test for verifying license headers and correct the ones that were wrong
Gary Kramlich <grim@reaperworld.com>
parents:
42428
diff
changeset
|
10 | * under the terms of the GNU General Public License as published by the Free |
|
eddde70cedd8
Create a test for verifying license headers and correct the ones that were wrong
Gary Kramlich <grim@reaperworld.com>
parents:
42428
diff
changeset
|
11 | * Software Foundation; either version 2 of the License, or (at your option) |
|
eddde70cedd8
Create a test for verifying license headers and correct the ones that were wrong
Gary Kramlich <grim@reaperworld.com>
parents:
42428
diff
changeset
|
12 | * any later version. |
|
37947
12ce09a23094
Move PurpleChat to it's own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
13 | * |
|
42594
eddde70cedd8
Create a test for verifying license headers and correct the ones that were wrong
Gary Kramlich <grim@reaperworld.com>
parents:
42428
diff
changeset
|
14 | * This library is distributed in the hope that it will be useful, but WITHOUT |
|
eddde70cedd8
Create a test for verifying license headers and correct the ones that were wrong
Gary Kramlich <grim@reaperworld.com>
parents:
42428
diff
changeset
|
15 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
|
eddde70cedd8
Create a test for verifying license headers and correct the ones that were wrong
Gary Kramlich <grim@reaperworld.com>
parents:
42428
diff
changeset
|
16 | * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for |
|
eddde70cedd8
Create a test for verifying license headers and correct the ones that were wrong
Gary Kramlich <grim@reaperworld.com>
parents:
42428
diff
changeset
|
17 | * more details. |
|
37947
12ce09a23094
Move PurpleChat to it's own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
18 | * |
|
42594
eddde70cedd8
Create a test for verifying license headers and correct the ones that were wrong
Gary Kramlich <grim@reaperworld.com>
parents:
42428
diff
changeset
|
19 | * You should have received a copy of the GNU General Public License along with |
|
eddde70cedd8
Create a test for verifying license headers and correct the ones that were wrong
Gary Kramlich <grim@reaperworld.com>
parents:
42428
diff
changeset
|
20 | * this library; if not, see <https://www.gnu.org/licenses/>. |
|
37947
12ce09a23094
Move PurpleChat to it's own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
21 | */ |
|
12ce09a23094
Move PurpleChat to it's own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
22 | |
|
40474
1341be8e3402
Make it so only libpurple can directly include libpurple header files.
Gary Kramlich <grim@reaperworld.com>
parents:
39738
diff
changeset
|
23 | #if !defined(PURPLE_GLOBAL_HEADER_INSIDE) && !defined(PURPLE_COMPILATION) |
|
1341be8e3402
Make it so only libpurple can directly include libpurple header files.
Gary Kramlich <grim@reaperworld.com>
parents:
39738
diff
changeset
|
24 | # error "only <purple.h> may be included directly" |
|
1341be8e3402
Make it so only libpurple can directly include libpurple header files.
Gary Kramlich <grim@reaperworld.com>
parents:
39738
diff
changeset
|
25 | #endif |
|
1341be8e3402
Make it so only libpurple can directly include libpurple header files.
Gary Kramlich <grim@reaperworld.com>
parents:
39738
diff
changeset
|
26 | |
|
37947
12ce09a23094
Move PurpleChat to it's own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
27 | #ifndef PURPLE_CHAT_H |
|
12ce09a23094
Move PurpleChat to it's own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
28 | #define PURPLE_CHAT_H |
|
12ce09a23094
Move PurpleChat to it's own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
29 | |
|
12ce09a23094
Move PurpleChat to it's own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
30 | #define PURPLE_TYPE_CHAT (purple_chat_get_type()) |
|
12ce09a23094
Move PurpleChat to it's own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
31 | #define PURPLE_CHAT(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), PURPLE_TYPE_CHAT, PurpleChat)) |
|
12ce09a23094
Move PurpleChat to it's own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
32 | #define PURPLE_CHAT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), PURPLE_TYPE_CHAT, PurpleChatClass)) |
|
12ce09a23094
Move PurpleChat to it's own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
33 | #define PURPLE_IS_CHAT(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), PURPLE_TYPE_CHAT)) |
|
12ce09a23094
Move PurpleChat to it's own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
34 | #define PURPLE_IS_CHAT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), PURPLE_TYPE_CHAT)) |
|
12ce09a23094
Move PurpleChat to it's own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
35 | #define PURPLE_CHAT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), PURPLE_TYPE_CHAT, PurpleChatClass)) |
|
12ce09a23094
Move PurpleChat to it's own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
36 | |
|
12ce09a23094
Move PurpleChat to it's own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
37 | typedef struct _PurpleChat PurpleChat; |
|
12ce09a23094
Move PurpleChat to it's own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
38 | typedef struct _PurpleChatClass PurpleChatClass; |
|
12ce09a23094
Move PurpleChat to it's own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
39 | |
|
12ce09a23094
Move PurpleChat to it's own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
40 | #include "blistnode.h" |
|
12ce09a23094
Move PurpleChat to it's own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
41 | #include "group.h" |
|
42344
c51d37734155
Rename account.[ch] to purpleaccount.[ch]
Gary Kramlich <grim@reaperworld.com>
parents:
41200
diff
changeset
|
42 | #include "purpleaccount.h" |
|
42391
090b03385984
Add Since and symbol visibility to new-in-3.0 things
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42344
diff
changeset
|
43 | #include "purpleversion.h" |
|
37947
12ce09a23094
Move PurpleChat to it's own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
44 | |
|
12ce09a23094
Move PurpleChat to it's own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
45 | /** |
|
12ce09a23094
Move PurpleChat to it's own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
46 | * PurpleChat: |
|
12ce09a23094
Move PurpleChat to it's own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
47 | * |
|
12ce09a23094
Move PurpleChat to it's own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
48 | * A chat on the buddy list. |
|
42428
153015687b87
Make sure all of the chat API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents:
42397
diff
changeset
|
49 | * |
|
42612
d905313bc732
Remove the micro version from since tags for libpurple part 1
Gary Kramlich <grim@reaperworld.com>
parents:
42594
diff
changeset
|
50 | * Since: 2.0 |
|
37947
12ce09a23094
Move PurpleChat to it's own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
51 | */ |
|
12ce09a23094
Move PurpleChat to it's own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
52 | struct _PurpleChat { |
|
12ce09a23094
Move PurpleChat to it's own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
53 | PurpleBlistNode node; |
|
12ce09a23094
Move PurpleChat to it's own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
54 | }; |
|
12ce09a23094
Move PurpleChat to it's own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
55 | |
|
12ce09a23094
Move PurpleChat to it's own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
56 | struct _PurpleChatClass { |
|
12ce09a23094
Move PurpleChat to it's own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
57 | PurpleBlistNodeClass node_class; |
|
12ce09a23094
Move PurpleChat to it's own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
58 | |
|
12ce09a23094
Move PurpleChat to it's own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
59 | /*< private >*/ |
|
12ce09a23094
Move PurpleChat to it's own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
60 | void (*_purple_reserved1)(void); |
|
12ce09a23094
Move PurpleChat to it's own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
61 | void (*_purple_reserved2)(void); |
|
12ce09a23094
Move PurpleChat to it's own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
62 | void (*_purple_reserved3)(void); |
|
12ce09a23094
Move PurpleChat to it's own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
63 | void (*_purple_reserved4)(void); |
|
12ce09a23094
Move PurpleChat to it's own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
64 | }; |
|
12ce09a23094
Move PurpleChat to it's own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
65 | |
|
12ce09a23094
Move PurpleChat to it's own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
66 | G_BEGIN_DECLS |
|
12ce09a23094
Move PurpleChat to it's own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
67 | |
|
12ce09a23094
Move PurpleChat to it's own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
68 | /** |
|
12ce09a23094
Move PurpleChat to it's own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
69 | * purple_chat_get_type: |
|
12ce09a23094
Move PurpleChat to it's own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
70 | * |
|
12ce09a23094
Move PurpleChat to it's own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
71 | * Returns: The #GType for the #PurpleChat object. |
|
42391
090b03385984
Add Since and symbol visibility to new-in-3.0 things
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42344
diff
changeset
|
72 | * |
|
42612
d905313bc732
Remove the micro version from since tags for libpurple part 1
Gary Kramlich <grim@reaperworld.com>
parents:
42594
diff
changeset
|
73 | * Since: 3.0 |
|
37947
12ce09a23094
Move PurpleChat to it's own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
74 | */ |
|
42391
090b03385984
Add Since and symbol visibility to new-in-3.0 things
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42344
diff
changeset
|
75 | PURPLE_AVAILABLE_IN_3_0 |
|
37947
12ce09a23094
Move PurpleChat to it's own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
76 | GType purple_chat_get_type(void); |
|
12ce09a23094
Move PurpleChat to it's own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
77 | |
|
12ce09a23094
Move PurpleChat to it's own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
78 | /** |
|
12ce09a23094
Move PurpleChat to it's own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
79 | * purple_chat_new: |
|
12ce09a23094
Move PurpleChat to it's own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
80 | * @account: The account this chat will get added to |
|
12ce09a23094
Move PurpleChat to it's own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
81 | * @alias: The alias of the new chat |
|
12ce09a23094
Move PurpleChat to it's own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
82 | * @components: The info the protocol needs to join the chat. The |
|
12ce09a23094
Move PurpleChat to it's own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
83 | * hash function should be g_str_hash() and the |
|
12ce09a23094
Move PurpleChat to it's own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
84 | * equal function should be g_str_equal(). |
|
12ce09a23094
Move PurpleChat to it's own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
85 | * |
|
12ce09a23094
Move PurpleChat to it's own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
86 | * Creates a new chat for the buddy list |
|
12ce09a23094
Move PurpleChat to it's own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
87 | * |
|
12ce09a23094
Move PurpleChat to it's own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
88 | * Returns: A newly allocated chat |
|
42428
153015687b87
Make sure all of the chat API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents:
42397
diff
changeset
|
89 | * |
|
42612
d905313bc732
Remove the micro version from since tags for libpurple part 1
Gary Kramlich <grim@reaperworld.com>
parents:
42594
diff
changeset
|
90 | * Since: 2.0 |
|
37947
12ce09a23094
Move PurpleChat to it's own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
91 | */ |
|
42428
153015687b87
Make sure all of the chat API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents:
42397
diff
changeset
|
92 | PURPLE_AVAILABLE_IN_ALL |
|
37947
12ce09a23094
Move PurpleChat to it's own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
93 | PurpleChat *purple_chat_new(PurpleAccount *account, const char *alias, GHashTable *components); |
|
12ce09a23094
Move PurpleChat to it's own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
94 | |
|
12ce09a23094
Move PurpleChat to it's own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
95 | /** |
|
12ce09a23094
Move PurpleChat to it's own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
96 | * purple_chat_get_name: |
|
12ce09a23094
Move PurpleChat to it's own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
97 | * @chat: The chat whose name will be returned. |
|
12ce09a23094
Move PurpleChat to it's own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
98 | * |
|
12ce09a23094
Move PurpleChat to it's own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
99 | * Returns the correct name to display for a blist chat. |
|
12ce09a23094
Move PurpleChat to it's own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
100 | * |
|
12ce09a23094
Move PurpleChat to it's own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
101 | * Returns: The alias (if set), or first component value. |
|
42428
153015687b87
Make sure all of the chat API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents:
42397
diff
changeset
|
102 | * |
|
42612
d905313bc732
Remove the micro version from since tags for libpurple part 1
Gary Kramlich <grim@reaperworld.com>
parents:
42594
diff
changeset
|
103 | * Since: 2.0 |
|
37947
12ce09a23094
Move PurpleChat to it's own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
104 | */ |
|
42428
153015687b87
Make sure all of the chat API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents:
42397
diff
changeset
|
105 | PURPLE_AVAILABLE_IN_ALL |
|
37947
12ce09a23094
Move PurpleChat to it's own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
106 | const char *purple_chat_get_name(PurpleChat *chat); |
|
12ce09a23094
Move PurpleChat to it's own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
107 | |
|
12ce09a23094
Move PurpleChat to it's own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
108 | /** |
|
12ce09a23094
Move PurpleChat to it's own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
109 | * purple_chat_get_name_only: |
|
12ce09a23094
Move PurpleChat to it's own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
110 | * @chat: The chat whose name will be returned. |
|
12ce09a23094
Move PurpleChat to it's own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
111 | * |
|
12ce09a23094
Move PurpleChat to it's own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
112 | * Returns the name of the chat |
|
12ce09a23094
Move PurpleChat to it's own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
113 | * |
|
12ce09a23094
Move PurpleChat to it's own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
114 | * Returns: The first component value. |
|
42391
090b03385984
Add Since and symbol visibility to new-in-3.0 things
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42344
diff
changeset
|
115 | * |
|
42612
d905313bc732
Remove the micro version from since tags for libpurple part 1
Gary Kramlich <grim@reaperworld.com>
parents:
42594
diff
changeset
|
116 | * Since: 3.0 |
|
37947
12ce09a23094
Move PurpleChat to it's own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
117 | */ |
|
42391
090b03385984
Add Since and symbol visibility to new-in-3.0 things
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42344
diff
changeset
|
118 | PURPLE_AVAILABLE_IN_3_0 |
|
37947
12ce09a23094
Move PurpleChat to it's own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
119 | const char *purple_chat_get_name_only(PurpleChat *chat); |
|
12ce09a23094
Move PurpleChat to it's own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
120 | |
|
12ce09a23094
Move PurpleChat to it's own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
121 | /** |
|
12ce09a23094
Move PurpleChat to it's own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
122 | * purple_chat_set_alias: |
|
12ce09a23094
Move PurpleChat to it's own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
123 | * @chat: The chat |
|
12ce09a23094
Move PurpleChat to it's own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
124 | * @alias: The alias |
|
12ce09a23094
Move PurpleChat to it's own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
125 | * |
|
12ce09a23094
Move PurpleChat to it's own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
126 | * Sets the alias for a blist chat. |
|
42391
090b03385984
Add Since and symbol visibility to new-in-3.0 things
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42344
diff
changeset
|
127 | * |
|
42612
d905313bc732
Remove the micro version from since tags for libpurple part 1
Gary Kramlich <grim@reaperworld.com>
parents:
42594
diff
changeset
|
128 | * Since: 3.0 |
|
37947
12ce09a23094
Move PurpleChat to it's own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
129 | */ |
|
42391
090b03385984
Add Since and symbol visibility to new-in-3.0 things
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42344
diff
changeset
|
130 | PURPLE_AVAILABLE_IN_3_0 |
|
37947
12ce09a23094
Move PurpleChat to it's own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
131 | void purple_chat_set_alias(PurpleChat *chat, const char *alias); |
|
12ce09a23094
Move PurpleChat to it's own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
132 | |
|
12ce09a23094
Move PurpleChat to it's own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
133 | /** |
|
12ce09a23094
Move PurpleChat to it's own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
134 | * purple_chat_get_group: |
|
12ce09a23094
Move PurpleChat to it's own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
135 | * @chat: The chat. |
|
12ce09a23094
Move PurpleChat to it's own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
136 | * |
|
12ce09a23094
Move PurpleChat to it's own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
137 | * Returns the group of which the chat is a member. |
|
12ce09a23094
Move PurpleChat to it's own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
138 | * |
|
39738
14d425a528ad
Add missing transfer annotations.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
38016
diff
changeset
|
139 | * Returns: (transfer none): The parent group, or %NULL if the chat is not in a |
|
14d425a528ad
Add missing transfer annotations.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
38016
diff
changeset
|
140 | * group. |
|
42428
153015687b87
Make sure all of the chat API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents:
42397
diff
changeset
|
141 | * |
|
42612
d905313bc732
Remove the micro version from since tags for libpurple part 1
Gary Kramlich <grim@reaperworld.com>
parents:
42594
diff
changeset
|
142 | * Since: 2.0 |
|
37947
12ce09a23094
Move PurpleChat to it's own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
143 | */ |
|
42428
153015687b87
Make sure all of the chat API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents:
42397
diff
changeset
|
144 | PURPLE_AVAILABLE_IN_ALL |
|
37947
12ce09a23094
Move PurpleChat to it's own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
145 | PurpleGroup *purple_chat_get_group(PurpleChat *chat); |
|
12ce09a23094
Move PurpleChat to it's own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
146 | |
|
12ce09a23094
Move PurpleChat to it's own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
147 | /** |
|
12ce09a23094
Move PurpleChat to it's own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
148 | * purple_chat_get_account: |
|
12ce09a23094
Move PurpleChat to it's own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
149 | * @chat: The chat. |
|
12ce09a23094
Move PurpleChat to it's own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
150 | * |
|
12ce09a23094
Move PurpleChat to it's own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
151 | * Returns the account the chat belongs to. |
|
12ce09a23094
Move PurpleChat to it's own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
152 | * |
|
39738
14d425a528ad
Add missing transfer annotations.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
38016
diff
changeset
|
153 | * Returns: (transfer none): The account the chat belongs to. |
|
42397
dc6563055e80
Export symbols and add Since tags for 2.4 API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42391
diff
changeset
|
154 | * |
|
42612
d905313bc732
Remove the micro version from since tags for libpurple part 1
Gary Kramlich <grim@reaperworld.com>
parents:
42594
diff
changeset
|
155 | * Since: 2.4 |
|
37947
12ce09a23094
Move PurpleChat to it's own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
156 | */ |
|
42397
dc6563055e80
Export symbols and add Since tags for 2.4 API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42391
diff
changeset
|
157 | PURPLE_AVAILABLE_IN_2_4 |
|
37947
12ce09a23094
Move PurpleChat to it's own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
158 | PurpleAccount *purple_chat_get_account(PurpleChat *chat); |
|
12ce09a23094
Move PurpleChat to it's own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
159 | |
|
12ce09a23094
Move PurpleChat to it's own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
160 | /** |
|
12ce09a23094
Move PurpleChat to it's own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
161 | * purple_chat_get_components: |
|
12ce09a23094
Move PurpleChat to it's own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
162 | * @chat: The chat. |
|
12ce09a23094
Move PurpleChat to it's own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
163 | * |
|
12ce09a23094
Move PurpleChat to it's own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
164 | * Get a hashtable containing information about a chat. |
|
12ce09a23094
Move PurpleChat to it's own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
165 | * |
|
12ce09a23094
Move PurpleChat to it's own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
166 | * Returns: (transfer none): The hashtable. |
|
42397
dc6563055e80
Export symbols and add Since tags for 2.4 API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42391
diff
changeset
|
167 | * |
|
42612
d905313bc732
Remove the micro version from since tags for libpurple part 1
Gary Kramlich <grim@reaperworld.com>
parents:
42594
diff
changeset
|
168 | * Since: 2.4 |
|
37947
12ce09a23094
Move PurpleChat to it's own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
169 | */ |
|
42397
dc6563055e80
Export symbols and add Since tags for 2.4 API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42391
diff
changeset
|
170 | PURPLE_AVAILABLE_IN_2_4 |
|
37947
12ce09a23094
Move PurpleChat to it's own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
171 | GHashTable *purple_chat_get_components(PurpleChat *chat); |
|
12ce09a23094
Move PurpleChat to it's own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
172 | |
|
12ce09a23094
Move PurpleChat to it's own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
173 | G_END_DECLS |
|
12ce09a23094
Move PurpleChat to it's own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
174 | |
|
12ce09a23094
Move PurpleChat to it's own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
175 | #endif /* PURPLE_CHAT_H */ |