libpurple/purpleaccountusersplit.h

Fri, 13 Mar 2020 22:11:34 -0500

author
Gary Kramlich <grim@reaperworld.com>
date
Fri, 13 Mar 2020 22:11:34 -0500
changeset 40311
b28beec32e25
parent 40241
3377280a4a8d
child 40474
1341be8e3402
permissions
-rw-r--r--

Remove stringref from the docs.

39968
71622ee1354e move PurpleAccountUserSplit to their own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
1 /* purple
71622ee1354e move PurpleAccountUserSplit to their own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
2 *
71622ee1354e move PurpleAccountUserSplit to their own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
3 * Purple is the legal property of its developers, whose names are too numerous
71622ee1354e move PurpleAccountUserSplit to their own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
4 * to list here. Please refer to the COPYRIGHT file distributed with this
71622ee1354e move PurpleAccountUserSplit to their own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
5 * source distribution.
71622ee1354e move PurpleAccountUserSplit to their own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
6 *
71622ee1354e move PurpleAccountUserSplit to their own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
7 * This program is free software; you can redistribute it and/or modify
71622ee1354e move PurpleAccountUserSplit to their own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
8 * it under the terms of the GNU General Public License as published by
71622ee1354e move PurpleAccountUserSplit to their own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
9 * the Free Software Foundation; either version 2 of the License, or
71622ee1354e move PurpleAccountUserSplit to their own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
10 * (at your option) any later version.
71622ee1354e move PurpleAccountUserSplit to their own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
11 *
71622ee1354e move PurpleAccountUserSplit to their own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
12 * This program is distributed in the hope that it will be useful,
71622ee1354e move PurpleAccountUserSplit to their own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
71622ee1354e move PurpleAccountUserSplit to their own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
71622ee1354e move PurpleAccountUserSplit to their own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
15 * GNU General Public License for more details.
71622ee1354e move PurpleAccountUserSplit to their own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
16 *
71622ee1354e move PurpleAccountUserSplit to their own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
17 * You should have received a copy of the GNU General Public License
71622ee1354e move PurpleAccountUserSplit to their own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
18 * along with this program; if not, write to the Free Software
71622ee1354e move PurpleAccountUserSplit to their own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA
71622ee1354e move PurpleAccountUserSplit to their own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
20 */
71622ee1354e move PurpleAccountUserSplit to their own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
21
39969
b1ccd1961499 Make PurpleAccountUserSplit a boxed type
Gary Kramlich <grim@reaperworld.com>
parents: 39968
diff changeset
22 #ifndef PURPLE_ACCOUNT_USER_SPLIT_H
b1ccd1961499 Make PurpleAccountUserSplit a boxed type
Gary Kramlich <grim@reaperworld.com>
parents: 39968
diff changeset
23 #define PURPLE_ACCOUNT_USER_SPLIT_H
b1ccd1961499 Make PurpleAccountUserSplit a boxed type
Gary Kramlich <grim@reaperworld.com>
parents: 39968
diff changeset
24
39968
71622ee1354e move PurpleAccountUserSplit to their own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
25 /**
40241
3377280a4a8d Fix missing doc sections.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 39971
diff changeset
26 * SECTION:purpleaccountusersplit
39969
b1ccd1961499 Make PurpleAccountUserSplit a boxed type
Gary Kramlich <grim@reaperworld.com>
parents: 39968
diff changeset
27 * @section_id: libpurple-account-user-split
b1ccd1961499 Make PurpleAccountUserSplit a boxed type
Gary Kramlich <grim@reaperworld.com>
parents: 39968
diff changeset
28 * @short_description: Username splitting
b1ccd1961499 Make PurpleAccountUserSplit a boxed type
Gary Kramlich <grim@reaperworld.com>
parents: 39968
diff changeset
29 * @title: Account Username Splitting API
39968
71622ee1354e move PurpleAccountUserSplit to their own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
30 */
71622ee1354e move PurpleAccountUserSplit to their own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
31
39969
b1ccd1961499 Make PurpleAccountUserSplit a boxed type
Gary Kramlich <grim@reaperworld.com>
parents: 39968
diff changeset
32 #include <glib.h>
b1ccd1961499 Make PurpleAccountUserSplit a boxed type
Gary Kramlich <grim@reaperworld.com>
parents: 39968
diff changeset
33 #include <glib-object.h>
39968
71622ee1354e move PurpleAccountUserSplit to their own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
34
39969
b1ccd1961499 Make PurpleAccountUserSplit a boxed type
Gary Kramlich <grim@reaperworld.com>
parents: 39968
diff changeset
35 #define PURPLE_TYPE_ACCOUNT_USER_SPLIT (purple_account_user_split_get_type())
39968
71622ee1354e move PurpleAccountUserSplit to their own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
36
71622ee1354e move PurpleAccountUserSplit to their own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
37 /**
71622ee1354e move PurpleAccountUserSplit to their own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
38 * PurpleAccountUserSplit:
71622ee1354e move PurpleAccountUserSplit to their own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
39 *
71622ee1354e move PurpleAccountUserSplit to their own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
40 * A username split.
71622ee1354e move PurpleAccountUserSplit to their own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
41 *
71622ee1354e move PurpleAccountUserSplit to their own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
42 * This is used by some protocols to separate the fields of the username
71622ee1354e move PurpleAccountUserSplit to their own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
43 * into more human-readable components.
71622ee1354e move PurpleAccountUserSplit to their own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
44 */
71622ee1354e move PurpleAccountUserSplit to their own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
45 typedef struct _PurpleAccountUserSplit PurpleAccountUserSplit;
71622ee1354e move PurpleAccountUserSplit to their own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
46
71622ee1354e move PurpleAccountUserSplit to their own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
47 G_BEGIN_DECLS
71622ee1354e move PurpleAccountUserSplit to their own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
48
39969
b1ccd1961499 Make PurpleAccountUserSplit a boxed type
Gary Kramlich <grim@reaperworld.com>
parents: 39968
diff changeset
49 GType purple_account_user_split_get_type(void);
39968
71622ee1354e move PurpleAccountUserSplit to their own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
50
71622ee1354e move PurpleAccountUserSplit to their own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
51 /**
71622ee1354e move PurpleAccountUserSplit to their own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
52 * purple_account_user_split_new:
71622ee1354e move PurpleAccountUserSplit to their own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
53 * @text: The text of the option.
71622ee1354e move PurpleAccountUserSplit to their own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
54 * @default_value: The default value.
71622ee1354e move PurpleAccountUserSplit to their own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
55 * @sep: The field separator.
71622ee1354e move PurpleAccountUserSplit to their own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
56 *
71622ee1354e move PurpleAccountUserSplit to their own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
57 * Creates a new account username split.
71622ee1354e move PurpleAccountUserSplit to their own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
58 *
71622ee1354e move PurpleAccountUserSplit to their own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
59 * Returns: The new user split.
71622ee1354e move PurpleAccountUserSplit to their own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
60 */
39969
b1ccd1961499 Make PurpleAccountUserSplit a boxed type
Gary Kramlich <grim@reaperworld.com>
parents: 39968
diff changeset
61 PurpleAccountUserSplit *purple_account_user_split_new(const gchar *text, const gchar *default_value, gchar sep);
b1ccd1961499 Make PurpleAccountUserSplit a boxed type
Gary Kramlich <grim@reaperworld.com>
parents: 39968
diff changeset
62
b1ccd1961499 Make PurpleAccountUserSplit a boxed type
Gary Kramlich <grim@reaperworld.com>
parents: 39968
diff changeset
63 /**
b1ccd1961499 Make PurpleAccountUserSplit a boxed type
Gary Kramlich <grim@reaperworld.com>
parents: 39968
diff changeset
64 * purple_account_user_split_copy:
b1ccd1961499 Make PurpleAccountUserSplit a boxed type
Gary Kramlich <grim@reaperworld.com>
parents: 39968
diff changeset
65 * @split: The split to copy.
b1ccd1961499 Make PurpleAccountUserSplit a boxed type
Gary Kramlich <grim@reaperworld.com>
parents: 39968
diff changeset
66 *
b1ccd1961499 Make PurpleAccountUserSplit a boxed type
Gary Kramlich <grim@reaperworld.com>
parents: 39968
diff changeset
67 * Creates a copy of @split.
b1ccd1961499 Make PurpleAccountUserSplit a boxed type
Gary Kramlich <grim@reaperworld.com>
parents: 39968
diff changeset
68 *
b1ccd1961499 Make PurpleAccountUserSplit a boxed type
Gary Kramlich <grim@reaperworld.com>
parents: 39968
diff changeset
69 * Returns: (transfer full): A copy of @split.
39971
226e6e8bb07d Add a since tag to purple_account_user_split_copy
Gary Kramlich <grim@reaperworld.com>
parents: 39969
diff changeset
70 *
226e6e8bb07d Add a since tag to purple_account_user_split_copy
Gary Kramlich <grim@reaperworld.com>
parents: 39969
diff changeset
71 * Since: 3.0.0
39969
b1ccd1961499 Make PurpleAccountUserSplit a boxed type
Gary Kramlich <grim@reaperworld.com>
parents: 39968
diff changeset
72 */
b1ccd1961499 Make PurpleAccountUserSplit a boxed type
Gary Kramlich <grim@reaperworld.com>
parents: 39968
diff changeset
73 PurpleAccountUserSplit *purple_account_user_split_copy(PurpleAccountUserSplit *split);
39968
71622ee1354e move PurpleAccountUserSplit to their own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
74
71622ee1354e move PurpleAccountUserSplit to their own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
75 /**
71622ee1354e move PurpleAccountUserSplit to their own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
76 * purple_account_user_split_destroy:
71622ee1354e move PurpleAccountUserSplit to their own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
77 * @split: The split to destroy.
71622ee1354e move PurpleAccountUserSplit to their own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
78 *
71622ee1354e move PurpleAccountUserSplit to their own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
79 * Destroys an account username split.
71622ee1354e move PurpleAccountUserSplit to their own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
80 */
71622ee1354e move PurpleAccountUserSplit to their own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
81 void purple_account_user_split_destroy(PurpleAccountUserSplit *split);
71622ee1354e move PurpleAccountUserSplit to their own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
82
71622ee1354e move PurpleAccountUserSplit to their own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
83 /**
71622ee1354e move PurpleAccountUserSplit to their own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
84 * purple_account_user_split_get_text:
71622ee1354e move PurpleAccountUserSplit to their own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
85 * @split: The account username split.
71622ee1354e move PurpleAccountUserSplit to their own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
86 *
71622ee1354e move PurpleAccountUserSplit to their own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
87 * Returns the text for an account username split.
71622ee1354e move PurpleAccountUserSplit to their own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
88 *
71622ee1354e move PurpleAccountUserSplit to their own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
89 * Returns: The account username split's text.
71622ee1354e move PurpleAccountUserSplit to their own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
90 */
39969
b1ccd1961499 Make PurpleAccountUserSplit a boxed type
Gary Kramlich <grim@reaperworld.com>
parents: 39968
diff changeset
91 const gchar *purple_account_user_split_get_text(const PurpleAccountUserSplit *split);
39968
71622ee1354e move PurpleAccountUserSplit to their own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
92
71622ee1354e move PurpleAccountUserSplit to their own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
93 /**
71622ee1354e move PurpleAccountUserSplit to their own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
94 * purple_account_user_split_get_default_value:
71622ee1354e move PurpleAccountUserSplit to their own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
95 * @split: The account username split.
71622ee1354e move PurpleAccountUserSplit to their own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
96 *
71622ee1354e move PurpleAccountUserSplit to their own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
97 * Returns the default string value for an account split.
71622ee1354e move PurpleAccountUserSplit to their own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
98 *
71622ee1354e move PurpleAccountUserSplit to their own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
99 * Returns: The default string.
71622ee1354e move PurpleAccountUserSplit to their own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
100 */
39969
b1ccd1961499 Make PurpleAccountUserSplit a boxed type
Gary Kramlich <grim@reaperworld.com>
parents: 39968
diff changeset
101 const gchar *purple_account_user_split_get_default_value(const PurpleAccountUserSplit *split);
39968
71622ee1354e move PurpleAccountUserSplit to their own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
102
71622ee1354e move PurpleAccountUserSplit to their own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
103 /**
71622ee1354e move PurpleAccountUserSplit to their own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
104 * purple_account_user_split_get_separator:
71622ee1354e move PurpleAccountUserSplit to their own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
105 * @split: The account username split.
71622ee1354e move PurpleAccountUserSplit to their own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
106 *
71622ee1354e move PurpleAccountUserSplit to their own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
107 * Returns the field separator for an account split.
71622ee1354e move PurpleAccountUserSplit to their own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
108 *
71622ee1354e move PurpleAccountUserSplit to their own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
109 * Returns: The field separator.
71622ee1354e move PurpleAccountUserSplit to their own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
110 */
39969
b1ccd1961499 Make PurpleAccountUserSplit a boxed type
Gary Kramlich <grim@reaperworld.com>
parents: 39968
diff changeset
111 gchar purple_account_user_split_get_separator(const PurpleAccountUserSplit *split);
39968
71622ee1354e move PurpleAccountUserSplit to their own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
112
71622ee1354e move PurpleAccountUserSplit to their own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
113 /**
71622ee1354e move PurpleAccountUserSplit to their own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
114 * purple_account_user_split_get_reverse:
71622ee1354e move PurpleAccountUserSplit to their own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
115 * @split: The account username split.
71622ee1354e move PurpleAccountUserSplit to their own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
116 *
71622ee1354e move PurpleAccountUserSplit to their own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
117 * Returns the 'reverse' value for an account split.
71622ee1354e move PurpleAccountUserSplit to their own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
118 *
71622ee1354e move PurpleAccountUserSplit to their own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
119 * Returns: The 'reverse' value.
71622ee1354e move PurpleAccountUserSplit to their own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
120 */
71622ee1354e move PurpleAccountUserSplit to their own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
121 gboolean purple_account_user_split_get_reverse(const PurpleAccountUserSplit *split);
71622ee1354e move PurpleAccountUserSplit to their own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
122
71622ee1354e move PurpleAccountUserSplit to their own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
123 /**
71622ee1354e move PurpleAccountUserSplit to their own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
124 * purple_account_user_split_set_reverse:
71622ee1354e move PurpleAccountUserSplit to their own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
125 * @split: The account username split.
71622ee1354e move PurpleAccountUserSplit to their own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
126 * @reverse: The 'reverse' value
71622ee1354e move PurpleAccountUserSplit to their own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
127 *
71622ee1354e move PurpleAccountUserSplit to their own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
128 * Sets the 'reverse' value for an account split.
71622ee1354e move PurpleAccountUserSplit to their own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
129 */
71622ee1354e move PurpleAccountUserSplit to their own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
130 void purple_account_user_split_set_reverse(PurpleAccountUserSplit *split, gboolean reverse);
71622ee1354e move PurpleAccountUserSplit to their own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
131
71622ee1354e move PurpleAccountUserSplit to their own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
132 /**
71622ee1354e move PurpleAccountUserSplit to their own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
133 * purple_account_user_split_is_constant:
71622ee1354e move PurpleAccountUserSplit to their own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
134 * @split: The account username split.
71622ee1354e move PurpleAccountUserSplit to their own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
135 *
71622ee1354e move PurpleAccountUserSplit to their own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
136 * Returns the constant parameter for an account split.
71622ee1354e move PurpleAccountUserSplit to their own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
137 *
71622ee1354e move PurpleAccountUserSplit to their own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
138 * When split is constant, it does not need to be displayed
71622ee1354e move PurpleAccountUserSplit to their own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
139 * in configuration dialog.
71622ee1354e move PurpleAccountUserSplit to their own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
140 *
71622ee1354e move PurpleAccountUserSplit to their own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
141 * Returns: %TRUE, if the split is constant.
71622ee1354e move PurpleAccountUserSplit to their own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
142 */
39969
b1ccd1961499 Make PurpleAccountUserSplit a boxed type
Gary Kramlich <grim@reaperworld.com>
parents: 39968
diff changeset
143 gboolean purple_account_user_split_is_constant(const PurpleAccountUserSplit *split);
39968
71622ee1354e move PurpleAccountUserSplit to their own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
144
71622ee1354e move PurpleAccountUserSplit to their own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
145 /**
71622ee1354e move PurpleAccountUserSplit to their own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
146 * purple_account_user_split_set_constant:
71622ee1354e move PurpleAccountUserSplit to their own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
147 * @split: The account username split.
71622ee1354e move PurpleAccountUserSplit to their own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
148 * @constant: %TRUE, if the split is a constant part.
71622ee1354e move PurpleAccountUserSplit to their own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
149 *
71622ee1354e move PurpleAccountUserSplit to their own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
150 * Sets the constant parameter of account split.
71622ee1354e move PurpleAccountUserSplit to their own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
151 */
39969
b1ccd1961499 Make PurpleAccountUserSplit a boxed type
Gary Kramlich <grim@reaperworld.com>
parents: 39968
diff changeset
152 void purple_account_user_split_set_constant(PurpleAccountUserSplit *split, gboolean constant);
39968
71622ee1354e move PurpleAccountUserSplit to their own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
153
71622ee1354e move PurpleAccountUserSplit to their own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
154 G_END_DECLS
71622ee1354e move PurpleAccountUserSplit to their own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
155
39969
b1ccd1961499 Make PurpleAccountUserSplit a boxed type
Gary Kramlich <grim@reaperworld.com>
parents: 39968
diff changeset
156 #endif /* PURPLE_ACCOUNT_USER_SPLIT_H */

mercurial