Sun, 21 Jun 2020 04:16:15 -0500
Make it so only libpurple can directly include libpurple header files.
This is part of our on going effort to make it easier to develop against libpurple as well as making our filenames not part of our api.
Make it so only libpurple can directly include libpurple header files.
Testing Done:
Just a normal compile to make sure everything builds again.
Reviewed at https://reviews.imfreedom.org/r/8/
|
37944
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
1 | /* purple |
|
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
2 | * |
|
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
3 | * Purple is the legal property of its developers, whose names are too numerous |
|
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
4 | * to list here. Please refer to the COPYRIGHT file distributed with this |
|
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
5 | * source distribution. |
|
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
6 | * |
|
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
7 | * This program is free software; you can redistribute it and/or modify |
|
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
8 | * it under the terms of the GNU General Public License as published by |
|
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
9 | * the Free Software Foundation; either version 2 of the License, or |
|
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
10 | * (at your option) any later version. |
|
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
11 | * |
|
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
12 | * This program is distributed in the hope that it will be useful, |
|
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
15 | * GNU General Public License for more details. |
|
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
16 | * |
|
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
17 | * You should have received a copy of the GNU General Public License |
|
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
18 | * along with this program; if not, write to the Free Software |
|
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA |
|
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
20 | */ |
|
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
21 | |
|
40474
1341be8e3402
Make it so only libpurple can directly include libpurple header files.
Gary Kramlich <grim@reaperworld.com>
parents:
40350
diff
changeset
|
22 | #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:
40350
diff
changeset
|
23 | # 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:
40350
diff
changeset
|
24 | #endif |
|
1341be8e3402
Make it so only libpurple can directly include libpurple header files.
Gary Kramlich <grim@reaperworld.com>
parents:
40350
diff
changeset
|
25 | |
|
37944
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
26 | #ifndef PURPLE_GROUP_H |
|
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
27 | #define PURPLE_GROUP_H |
|
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
28 | /** |
|
38552
85c4c3296419
libpurple: Fix section documentation headings
Mike Ruprecht <cmaiku@gmail.com>
parents:
38016
diff
changeset
|
29 | * SECTION:group |
|
85c4c3296419
libpurple: Fix section documentation headings
Mike Ruprecht <cmaiku@gmail.com>
parents:
38016
diff
changeset
|
30 | * @section_id: libpurple-group |
|
85c4c3296419
libpurple: Fix section documentation headings
Mike Ruprecht <cmaiku@gmail.com>
parents:
38016
diff
changeset
|
31 | * @short_description: <filename>group.h</filename> |
|
37944
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
32 | * @title: Buddy, Chat, Contact and Group node Objects |
|
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
33 | */ |
|
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
34 | |
|
37945
49ac171ebe26
move CountingNode to it's own file
Gary Kramlich <grim@reaperworld.com>
parents:
37944
diff
changeset
|
35 | #include "countingnode.h" |
|
37944
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
36 | |
|
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
37 | #define PURPLE_TYPE_GROUP (purple_group_get_type()) |
|
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
38 | #define PURPLE_GROUP(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), PURPLE_TYPE_GROUP, PurpleGroup)) |
|
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
39 | #define PURPLE_GROUP_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), PURPLE_TYPE_GROUP, PurpleGroupClass)) |
|
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
40 | #define PURPLE_IS_GROUP(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), PURPLE_TYPE_GROUP)) |
|
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
41 | #define PURPLE_IS_GROUP_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), PURPLE_TYPE_GROUP)) |
|
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
42 | #define PURPLE_GROUP_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), PURPLE_TYPE_GROUP, PurpleGroupClass)) |
|
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
43 | |
|
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
44 | typedef struct _PurpleGroup PurpleGroup; |
|
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
45 | typedef struct _PurpleGroupClass PurpleGroupClass; |
|
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
46 | |
|
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
47 | #include "account.h" |
|
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
48 | #include "blistnode.h" |
|
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
49 | #include "buddyicon.h" |
|
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
50 | #include "presence.h" |
|
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
51 | #include "status.h" |
|
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
52 | |
|
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
53 | /**************************************************************************/ |
|
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
54 | /* Data Structures */ |
|
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
55 | /**************************************************************************/ |
|
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
56 | |
|
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
57 | /* |
|
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
58 | * PurpleGroup: |
|
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
59 | * |
|
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
60 | * A group on the buddy list. |
|
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
61 | * |
|
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
62 | * A group is a counting node, which means it keeps track of the counts of the |
|
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
63 | * chats and contacts under this group. |
|
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
64 | */ |
|
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
65 | struct _PurpleGroup { |
|
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
66 | PurpleCountingNode counting; |
|
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
67 | }; |
|
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
68 | |
|
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
69 | struct _PurpleGroupClass { |
|
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
70 | PurpleCountingNodeClass counting_class; |
|
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
71 | |
|
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
72 | /*< private >*/ |
|
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
73 | void (*_purple_reserved1)(void); |
|
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
74 | void (*_purple_reserved2)(void); |
|
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
75 | void (*_purple_reserved3)(void); |
|
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
76 | void (*_purple_reserved4)(void); |
|
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
77 | }; |
|
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
78 | |
|
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
79 | G_BEGIN_DECLS |
|
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
80 | |
|
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
81 | /**************************************************************************/ |
|
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
82 | /* Group API */ |
|
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
83 | /**************************************************************************/ |
|
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
84 | |
|
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
85 | /** |
|
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
86 | * purple_group_get_type: |
|
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
87 | * |
|
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
88 | * Returns: The #GType for the #PurpleGroup object. |
|
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
89 | */ |
|
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
90 | GType purple_group_get_type(void); |
|
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
91 | |
|
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
92 | /** |
|
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
93 | * purple_group_new: |
|
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
94 | * @name: The name of the new group |
|
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
95 | * |
|
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
96 | * Creates a new group |
|
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
97 | * |
|
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
98 | * You can't have more than one group with the same name. Sorry. If you pass |
|
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
99 | * this the name of a group that already exists, it will return that group. |
|
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
100 | * |
|
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
101 | * Returns: A new group struct |
|
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
102 | */ |
|
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
103 | PurpleGroup *purple_group_new(const char *name); |
|
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
104 | |
|
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
105 | /** |
|
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
106 | * purple_group_get_accounts: |
|
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
107 | * @g: The group |
|
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
108 | * |
|
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
109 | * Returns a list of accounts that have buddies in this group |
|
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
110 | * |
|
38716
b9bed228745a
Add many libpurple element-type annotations.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
38552
diff
changeset
|
111 | * Returns: (element-type PurpleAccount) (transfer container): A list of |
|
b9bed228745a
Add many libpurple element-type annotations.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
38552
diff
changeset
|
112 | * accounts, or %NULL if the group has no accounts. |
|
37944
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
113 | */ |
|
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
114 | GSList *purple_group_get_accounts(PurpleGroup *g); |
|
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
115 | |
|
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
116 | /** |
|
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
117 | * purple_group_on_account: |
|
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
118 | * @g: The group to search through. |
|
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
119 | * @account: The account. |
|
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
120 | * |
|
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
121 | * Determines whether an account owns any buddies in a given group |
|
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
122 | * |
|
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
123 | * Returns: TRUE if there are any buddies in the group, or FALSE otherwise. |
|
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
124 | */ |
|
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
125 | gboolean purple_group_on_account(PurpleGroup *g, PurpleAccount *account); |
|
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
126 | |
|
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
127 | /** |
|
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
128 | * purple_group_set_name: |
|
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
129 | * @group: The group. |
|
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
130 | * @name: The name of the group. |
|
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
131 | * |
|
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
132 | * Sets the name of a group. |
|
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
133 | */ |
|
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
134 | void purple_group_set_name(PurpleGroup *group, const char *name); |
|
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
135 | |
|
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
136 | /** |
|
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
137 | * purple_group_get_name: |
|
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
138 | * @group: The group. |
|
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
139 | * |
|
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
140 | * Returns the name of a group. |
|
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
141 | * |
|
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
142 | * Returns: The name of the group. |
|
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
143 | */ |
|
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
144 | const char *purple_group_get_name(PurpleGroup *group); |
|
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
145 | |
|
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
146 | G_END_DECLS |
|
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
147 | |
|
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
148 | #endif /* PURPLE_GROUP_H */ |
|
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
149 |