libpurple/purpleaccountusersplit.h

Sun, 14 Apr 2024 01:14:59 -0500

author
Gary Kramlich <grim@reaperworld.com>
date
Sun, 14 Apr 2024 01:14:59 -0500
changeset 42725
ceb13f1de2d2
parent 42613
780d7efe37c2
child 42841
fbb5c5cb37f4
permissions
-rw-r--r--

Remove PurpleBuddy

PurpleContactInfo was created long ago to replace this, it is now its time!

Testing Done:
Ran the turtles.

Reviewed at https://reviews.imfreedom.org/r/3123/

42594
eddde70cedd8 Create a test for verifying license headers and correct the ones that were wrong
Gary Kramlich <grim@reaperworld.com>
parents: 42404
diff changeset
1 /*
eddde70cedd8 Create a test for verifying license headers and correct the ones that were wrong
Gary Kramlich <grim@reaperworld.com>
parents: 42404
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: 42404
diff changeset
3 * Copyright (C) Pidgin Developers <devel@pidgin.im>
39968
71622ee1354e move PurpleAccountUserSplit to their own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
4 *
71622ee1354e move PurpleAccountUserSplit to their 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: 42404
diff changeset
6 * to list here. Please refer to the COPYRIGHT file distributed with this
39968
71622ee1354e move PurpleAccountUserSplit to their own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
7 * source distribution.
71622ee1354e move PurpleAccountUserSplit to their 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: 42404
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: 42404
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: 42404
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: 42404
diff changeset
12 * any later version.
39968
71622ee1354e move PurpleAccountUserSplit to their 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: 42404
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: 42404
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: 42404
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: 42404
diff changeset
17 * more details.
39968
71622ee1354e move PurpleAccountUserSplit to their 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: 42404
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: 42404
diff changeset
20 * this library; if not, see <https://www.gnu.org/licenses/>.
39968
71622ee1354e move PurpleAccountUserSplit to their own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
21 */
71622ee1354e move PurpleAccountUserSplit to their 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: 40241
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: 40241
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: 40241
diff changeset
25 #endif
1341be8e3402 Make it so only libpurple can directly include libpurple header files.
Gary Kramlich <grim@reaperworld.com>
parents: 40241
diff changeset
26
39969
b1ccd1961499 Make PurpleAccountUserSplit a boxed type
Gary Kramlich <grim@reaperworld.com>
parents: 39968
diff changeset
27 #ifndef PURPLE_ACCOUNT_USER_SPLIT_H
b1ccd1961499 Make PurpleAccountUserSplit a boxed type
Gary Kramlich <grim@reaperworld.com>
parents: 39968
diff changeset
28 #define PURPLE_ACCOUNT_USER_SPLIT_H
b1ccd1961499 Make PurpleAccountUserSplit a boxed type
Gary Kramlich <grim@reaperworld.com>
parents: 39968
diff changeset
29
b1ccd1961499 Make PurpleAccountUserSplit a boxed type
Gary Kramlich <grim@reaperworld.com>
parents: 39968
diff changeset
30 #include <glib.h>
b1ccd1961499 Make PurpleAccountUserSplit a boxed type
Gary Kramlich <grim@reaperworld.com>
parents: 39968
diff changeset
31 #include <glib-object.h>
39968
71622ee1354e move PurpleAccountUserSplit to their own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
32
42387
d9350cda1556 Export symbols added for 3.0.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 41241
diff changeset
33 #include "purpleversion.h"
d9350cda1556 Export symbols added for 3.0.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 41241
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.
42404
2304698d7209 Make sure all AccountSplit API's are versioned
Gary Kramlich <grim@reaperworld.com>
parents: 42391
diff changeset
44 *
42613
780d7efe37c2 Remove the micro version from since tags for libpurple part 2
Gary Kramlich <grim@reaperworld.com>
parents: 42594
diff changeset
45 * Since: 2.0
39968
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 typedef struct _PurpleAccountUserSplit PurpleAccountUserSplit;
71622ee1354e move PurpleAccountUserSplit to their own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
48
71622ee1354e move PurpleAccountUserSplit to their own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
49 G_BEGIN_DECLS
71622ee1354e move PurpleAccountUserSplit to their own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
50
42391
090b03385984 Add Since and symbol visibility to new-in-3.0 things
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42387
diff changeset
51 PURPLE_AVAILABLE_IN_3_0
39969
b1ccd1961499 Make PurpleAccountUserSplit a boxed type
Gary Kramlich <grim@reaperworld.com>
parents: 39968
diff changeset
52 GType purple_account_user_split_get_type(void);
39968
71622ee1354e move PurpleAccountUserSplit to their own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
53
71622ee1354e move PurpleAccountUserSplit to their own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
54 /**
71622ee1354e move PurpleAccountUserSplit to their own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
55 * purple_account_user_split_new:
71622ee1354e move PurpleAccountUserSplit to their own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
56 * @text: The text of the option.
71622ee1354e move PurpleAccountUserSplit to their own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
57 * @default_value: The default value.
71622ee1354e move PurpleAccountUserSplit to their own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
58 * @sep: The field separator.
71622ee1354e move PurpleAccountUserSplit to their own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
59 *
71622ee1354e move PurpleAccountUserSplit to their own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
60 * Creates a new account username split.
71622ee1354e move PurpleAccountUserSplit to their own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
61 *
71622ee1354e move PurpleAccountUserSplit to their own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
62 * Returns: The new user split.
42404
2304698d7209 Make sure all AccountSplit API's are versioned
Gary Kramlich <grim@reaperworld.com>
parents: 42391
diff changeset
63 *
42613
780d7efe37c2 Remove the micro version from since tags for libpurple part 2
Gary Kramlich <grim@reaperworld.com>
parents: 42594
diff changeset
64 * Since: 2.0
39968
71622ee1354e move PurpleAccountUserSplit to their own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
65 */
42404
2304698d7209 Make sure all AccountSplit API's are versioned
Gary Kramlich <grim@reaperworld.com>
parents: 42391
diff changeset
66 PURPLE_AVAILABLE_IN_ALL
39969
b1ccd1961499 Make PurpleAccountUserSplit a boxed type
Gary Kramlich <grim@reaperworld.com>
parents: 39968
diff changeset
67 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
68
b1ccd1961499 Make PurpleAccountUserSplit a boxed type
Gary Kramlich <grim@reaperworld.com>
parents: 39968
diff changeset
69 /**
b1ccd1961499 Make PurpleAccountUserSplit a boxed type
Gary Kramlich <grim@reaperworld.com>
parents: 39968
diff changeset
70 * purple_account_user_split_copy:
b1ccd1961499 Make PurpleAccountUserSplit a boxed type
Gary Kramlich <grim@reaperworld.com>
parents: 39968
diff changeset
71 * @split: The split to copy.
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 * Creates a copy of @split.
b1ccd1961499 Make PurpleAccountUserSplit a boxed type
Gary Kramlich <grim@reaperworld.com>
parents: 39968
diff changeset
74 *
b1ccd1961499 Make PurpleAccountUserSplit a boxed type
Gary Kramlich <grim@reaperworld.com>
parents: 39968
diff changeset
75 * 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
76 *
42613
780d7efe37c2 Remove the micro version from since tags for libpurple part 2
Gary Kramlich <grim@reaperworld.com>
parents: 42594
diff changeset
77 * Since: 3.0
39969
b1ccd1961499 Make PurpleAccountUserSplit a boxed type
Gary Kramlich <grim@reaperworld.com>
parents: 39968
diff changeset
78 */
42387
d9350cda1556 Export symbols added for 3.0.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 41241
diff changeset
79 PURPLE_AVAILABLE_IN_3_0
39969
b1ccd1961499 Make PurpleAccountUserSplit a boxed type
Gary Kramlich <grim@reaperworld.com>
parents: 39968
diff changeset
80 PurpleAccountUserSplit *purple_account_user_split_copy(PurpleAccountUserSplit *split);
39968
71622ee1354e move PurpleAccountUserSplit to their own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
81
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 * purple_account_user_split_destroy:
71622ee1354e move PurpleAccountUserSplit to their own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
84 * @split: The split to destroy.
71622ee1354e move PurpleAccountUserSplit to their own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
85 *
71622ee1354e move PurpleAccountUserSplit to their own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
86 * Destroys an account username split.
42404
2304698d7209 Make sure all AccountSplit API's are versioned
Gary Kramlich <grim@reaperworld.com>
parents: 42391
diff changeset
87 *
42613
780d7efe37c2 Remove the micro version from since tags for libpurple part 2
Gary Kramlich <grim@reaperworld.com>
parents: 42594
diff changeset
88 * Since: 2.0
39968
71622ee1354e move PurpleAccountUserSplit to their own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
89 */
42404
2304698d7209 Make sure all AccountSplit API's are versioned
Gary Kramlich <grim@reaperworld.com>
parents: 42391
diff changeset
90 PURPLE_AVAILABLE_IN_ALL
39968
71622ee1354e move PurpleAccountUserSplit to their own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
91 void purple_account_user_split_destroy(PurpleAccountUserSplit *split);
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_text:
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 text for an account username 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 account username split's text.
42404
2304698d7209 Make sure all AccountSplit API's are versioned
Gary Kramlich <grim@reaperworld.com>
parents: 42391
diff changeset
100 *
42613
780d7efe37c2 Remove the micro version from since tags for libpurple part 2
Gary Kramlich <grim@reaperworld.com>
parents: 42594
diff changeset
101 * Since: 2.0
39968
71622ee1354e move PurpleAccountUserSplit to their own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
102 */
42404
2304698d7209 Make sure all AccountSplit API's are versioned
Gary Kramlich <grim@reaperworld.com>
parents: 42391
diff changeset
103 PURPLE_AVAILABLE_IN_ALL
41241
1a222acd5e89 Remove the unnecessary const specifier for the accountusersplit api
Gary Kramlich <grim@reaperworld.com>
parents: 41207
diff changeset
104 const gchar *purple_account_user_split_get_text(PurpleAccountUserSplit *split);
39968
71622ee1354e move PurpleAccountUserSplit to their own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
105
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 * purple_account_user_split_get_default_value:
71622ee1354e move PurpleAccountUserSplit to their own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
108 * @split: The account username split.
71622ee1354e move PurpleAccountUserSplit to their own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
109 *
71622ee1354e move PurpleAccountUserSplit to their own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
110 * Returns the default string value for an account split.
71622ee1354e move PurpleAccountUserSplit to their own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
111 *
71622ee1354e move PurpleAccountUserSplit to their own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
112 * Returns: The default string.
42404
2304698d7209 Make sure all AccountSplit API's are versioned
Gary Kramlich <grim@reaperworld.com>
parents: 42391
diff changeset
113 *
42613
780d7efe37c2 Remove the micro version from since tags for libpurple part 2
Gary Kramlich <grim@reaperworld.com>
parents: 42594
diff changeset
114 * Since: 2.0
39968
71622ee1354e move PurpleAccountUserSplit to their own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
115 */
42404
2304698d7209 Make sure all AccountSplit API's are versioned
Gary Kramlich <grim@reaperworld.com>
parents: 42391
diff changeset
116 PURPLE_AVAILABLE_IN_ALL
41241
1a222acd5e89 Remove the unnecessary const specifier for the accountusersplit api
Gary Kramlich <grim@reaperworld.com>
parents: 41207
diff changeset
117 const gchar *purple_account_user_split_get_default_value(PurpleAccountUserSplit *split);
39968
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 /**
71622ee1354e move PurpleAccountUserSplit to their own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
120 * purple_account_user_split_get_separator:
71622ee1354e move PurpleAccountUserSplit to their own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
121 * @split: The account username 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 * Returns the field separator for an account split.
71622ee1354e move PurpleAccountUserSplit to their own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
124 *
71622ee1354e move PurpleAccountUserSplit to their own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
125 * Returns: The field separator.
42404
2304698d7209 Make sure all AccountSplit API's are versioned
Gary Kramlich <grim@reaperworld.com>
parents: 42391
diff changeset
126 *
42613
780d7efe37c2 Remove the micro version from since tags for libpurple part 2
Gary Kramlich <grim@reaperworld.com>
parents: 42594
diff changeset
127 * Since: 2.0
39968
71622ee1354e move PurpleAccountUserSplit to their own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
128 */
42404
2304698d7209 Make sure all AccountSplit API's are versioned
Gary Kramlich <grim@reaperworld.com>
parents: 42391
diff changeset
129 PURPLE_AVAILABLE_IN_ALL
41241
1a222acd5e89 Remove the unnecessary const specifier for the accountusersplit api
Gary Kramlich <grim@reaperworld.com>
parents: 41207
diff changeset
130 gchar purple_account_user_split_get_separator(PurpleAccountUserSplit *split);
39968
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_get_reverse:
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 'reverse' value 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 * Returns: The 'reverse' value.
42404
2304698d7209 Make sure all AccountSplit API's are versioned
Gary Kramlich <grim@reaperworld.com>
parents: 42391
diff changeset
139 *
42613
780d7efe37c2 Remove the micro version from since tags for libpurple part 2
Gary Kramlich <grim@reaperworld.com>
parents: 42594
diff changeset
140 * Since: 2.1
39968
71622ee1354e move PurpleAccountUserSplit to their own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
141 */
42404
2304698d7209 Make sure all AccountSplit API's are versioned
Gary Kramlich <grim@reaperworld.com>
parents: 42391
diff changeset
142 PURPLE_AVAILABLE_IN_2_1
41241
1a222acd5e89 Remove the unnecessary const specifier for the accountusersplit api
Gary Kramlich <grim@reaperworld.com>
parents: 41207
diff changeset
143 gboolean purple_account_user_split_get_reverse(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_reverse:
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 * @reverse: The 'reverse' value
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 'reverse' value for an account split.
42404
2304698d7209 Make sure all AccountSplit API's are versioned
Gary Kramlich <grim@reaperworld.com>
parents: 42391
diff changeset
151 *
42613
780d7efe37c2 Remove the micro version from since tags for libpurple part 2
Gary Kramlich <grim@reaperworld.com>
parents: 42594
diff changeset
152 * Since: 2.1
39968
71622ee1354e move PurpleAccountUserSplit to their own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
153 */
42404
2304698d7209 Make sure all AccountSplit API's are versioned
Gary Kramlich <grim@reaperworld.com>
parents: 42391
diff changeset
154 PURPLE_AVAILABLE_IN_2_1
39968
71622ee1354e move PurpleAccountUserSplit to their own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
155 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
156
71622ee1354e move PurpleAccountUserSplit to their own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
157 /**
71622ee1354e move PurpleAccountUserSplit to their own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
158 * purple_account_user_split_is_constant:
71622ee1354e move PurpleAccountUserSplit to their own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
159 * @split: The account username split.
71622ee1354e move PurpleAccountUserSplit to their own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
160 *
71622ee1354e move PurpleAccountUserSplit to their own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
161 * Returns the constant parameter for an account split.
71622ee1354e move PurpleAccountUserSplit to their own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
162 *
71622ee1354e move PurpleAccountUserSplit to their own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
163 * 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
164 * in configuration dialog.
71622ee1354e move PurpleAccountUserSplit to their own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
165 *
71622ee1354e move PurpleAccountUserSplit to their own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
166 * Returns: %TRUE, if the split is constant.
42391
090b03385984 Add Since and symbol visibility to new-in-3.0 things
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42387
diff changeset
167 *
42613
780d7efe37c2 Remove the micro version from since tags for libpurple part 2
Gary Kramlich <grim@reaperworld.com>
parents: 42594
diff changeset
168 * Since: 3.0
39968
71622ee1354e move PurpleAccountUserSplit to their own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
169 */
42391
090b03385984 Add Since and symbol visibility to new-in-3.0 things
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42387
diff changeset
170 PURPLE_AVAILABLE_IN_3_0
41241
1a222acd5e89 Remove the unnecessary const specifier for the accountusersplit api
Gary Kramlich <grim@reaperworld.com>
parents: 41207
diff changeset
171 gboolean purple_account_user_split_is_constant(PurpleAccountUserSplit *split);
39968
71622ee1354e move PurpleAccountUserSplit to their own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
172
71622ee1354e move PurpleAccountUserSplit to their own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
173 /**
71622ee1354e move PurpleAccountUserSplit to their own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
174 * purple_account_user_split_set_constant:
71622ee1354e move PurpleAccountUserSplit to their own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
175 * @split: The account username split.
71622ee1354e move PurpleAccountUserSplit to their own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
176 * @constant: %TRUE, if the split is a constant part.
71622ee1354e move PurpleAccountUserSplit to their own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
177 *
71622ee1354e move PurpleAccountUserSplit to their own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
178 * Sets the constant parameter of account split.
42391
090b03385984 Add Since and symbol visibility to new-in-3.0 things
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42387
diff changeset
179 *
42613
780d7efe37c2 Remove the micro version from since tags for libpurple part 2
Gary Kramlich <grim@reaperworld.com>
parents: 42594
diff changeset
180 * Since: 3.0
39968
71622ee1354e move PurpleAccountUserSplit to their own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
181 */
42391
090b03385984 Add Since and symbol visibility to new-in-3.0 things
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42387
diff changeset
182 PURPLE_AVAILABLE_IN_3_0
39969
b1ccd1961499 Make PurpleAccountUserSplit a boxed type
Gary Kramlich <grim@reaperworld.com>
parents: 39968
diff changeset
183 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
184
71622ee1354e move PurpleAccountUserSplit to their own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
185 G_END_DECLS
71622ee1354e move PurpleAccountUserSplit to their own file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
186
39969
b1ccd1961499 Make PurpleAccountUserSplit a boxed type
Gary Kramlich <grim@reaperworld.com>
parents: 39968
diff changeset
187 #endif /* PURPLE_ACCOUNT_USER_SPLIT_H */

mercurial