Mon, 26 Sep 2016 15:17:15 -0500
Merged in rw_grim/pidgin (pull request #135)
Add our license spiel to a bunch of files
|
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 | |
|
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
22 | #ifndef PURPLE_GROUP_H |
|
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
23 | #define PURPLE_GROUP_H |
|
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
24 | /** |
|
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
25 | * SECTION:blistnodetypes |
|
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
26 | * @section_id: libpurple-blistnodetypes |
|
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
27 | * @short_description: <filename>blistnodetypes.h</filename> |
|
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
28 | * @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
|
29 | */ |
|
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
30 | |
|
37945
49ac171ebe26
move CountingNode to it's own file
Gary Kramlich <grim@reaperworld.com>
parents:
37944
diff
changeset
|
31 | #include "countingnode.h" |
|
37944
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
32 | |
|
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
33 | #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
|
34 | #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
|
35 | #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
|
36 | #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
|
37 | #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
|
38 | #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
|
39 | |
|
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
40 | typedef struct _PurpleGroup PurpleGroup; |
|
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
41 | typedef struct _PurpleGroupClass PurpleGroupClass; |
|
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
42 | |
|
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
43 | #include "account.h" |
|
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
44 | #include "blistnode.h" |
|
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
45 | #include "buddyicon.h" |
|
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
46 | #include "media.h" |
|
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
47 | #include "presence.h" |
|
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
48 | #include "status.h" |
|
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
49 | |
|
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
50 | /**************************************************************************/ |
|
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
51 | /* Data Structures */ |
|
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 | /* |
|
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
55 | * PurpleGroup: |
|
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 | * A group on the buddy list. |
|
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
58 | * |
|
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
59 | * 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
|
60 | * chats and contacts under this group. |
|
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 | struct _PurpleGroup { |
|
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
63 | PurpleCountingNode counting; |
|
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 | |
|
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
66 | struct _PurpleGroupClass { |
|
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
67 | PurpleCountingNodeClass counting_class; |
|
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 | /*< private >*/ |
|
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
70 | void (*_purple_reserved1)(void); |
|
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
71 | void (*_purple_reserved2)(void); |
|
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
72 | void (*_purple_reserved3)(void); |
|
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
73 | void (*_purple_reserved4)(void); |
|
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
74 | }; |
|
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
75 | |
|
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
76 | G_BEGIN_DECLS |
|
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 | /* Group API */ |
|
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 | /** |
|
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
83 | * purple_group_get_type: |
|
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 | * Returns: The #GType for the #PurpleGroup object. |
|
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
86 | */ |
|
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
87 | GType purple_group_get_type(void); |
|
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
88 | |
|
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 | * purple_group_new: |
|
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
91 | * @name: The name of the new group |
|
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 | * Creates a new group |
|
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
94 | * |
|
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
95 | * 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
|
96 | * 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
|
97 | * |
|
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
98 | * Returns: A new group struct |
|
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
99 | */ |
|
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
100 | PurpleGroup *purple_group_new(const char *name); |
|
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
101 | |
|
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 | * purple_group_get_accounts: |
|
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
104 | * @g: The group |
|
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 | * 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
|
107 | * |
|
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
108 | * Returns: A GSList of accounts (which must be freed), or NULL if the group |
|
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
109 | * has no accounts. |
|
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
110 | */ |
|
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
111 | GSList *purple_group_get_accounts(PurpleGroup *g); |
|
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
112 | |
|
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 | * purple_group_on_account: |
|
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
115 | * @g: The group to search through. |
|
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
116 | * @account: The account. |
|
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
117 | * |
|
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
118 | * 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
|
119 | * |
|
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
120 | * 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
|
121 | */ |
|
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
122 | 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
|
123 | |
|
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 | * purple_group_set_name: |
|
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
126 | * @group: The group. |
|
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
127 | * @name: The name of the group. |
|
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
128 | * |
|
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
129 | * Sets the name of a group. |
|
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
130 | */ |
|
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
131 | 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
|
132 | |
|
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 | * purple_group_get_name: |
|
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
135 | * @group: The group. |
|
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 | * Returns the name of a group. |
|
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
138 | * |
|
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
139 | * Returns: The name of the group. |
|
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
140 | */ |
|
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
141 | 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
|
142 | |
|
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
143 | G_END_DECLS |
|
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
144 | |
|
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
145 | #endif /* PURPLE_GROUP_H */ |
|
e42e19eba593
Pull PurpleGroup out into it's own files
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
146 |