Sun, 14 Apr 2024 01:14:59 -0500
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:
42409
diff
changeset
|
1 | /* |
|
eddde70cedd8
Create a test for verifying license headers and correct the ones that were wrong
Gary Kramlich <grim@reaperworld.com>
parents:
42409
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:
42409
diff
changeset
|
3 | * Copyright (C) Pidgin Developers <devel@pidgin.im> |
| 5441 | 4 | * |
| 15884 | 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:
42409
diff
changeset
|
6 | * to list here. Please refer to the COPYRIGHT file distributed with this |
| 8046 | 7 | * source distribution. |
| 5441 | 8 | * |
|
42594
eddde70cedd8
Create a test for verifying license headers and correct the ones that were wrong
Gary Kramlich <grim@reaperworld.com>
parents:
42409
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:
42409
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:
42409
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:
42409
diff
changeset
|
12 | * any later version. |
| 5441 | 13 | * |
|
42594
eddde70cedd8
Create a test for verifying license headers and correct the ones that were wrong
Gary Kramlich <grim@reaperworld.com>
parents:
42409
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:
42409
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:
42409
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:
42409
diff
changeset
|
17 | * more details. |
| 5441 | 18 | * |
|
42594
eddde70cedd8
Create a test for verifying license headers and correct the ones that were wrong
Gary Kramlich <grim@reaperworld.com>
parents:
42409
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:
42409
diff
changeset
|
20 | * this library; if not, see <https://www.gnu.org/licenses/>. |
| 5441 | 21 | */ |
|
35487
494f09f7f331
Move section blocks inside inclusion guards -- otherwise g-ir-scanner yells
Ankit Vani <a@nevitus.org>
parents:
35486
diff
changeset
|
22 | |
|
40474
1341be8e3402
Make it so only libpurple can directly include libpurple header files.
Gary Kramlich <grim@reaperworld.com>
parents:
39738
diff
changeset
|
23 | #if !defined(PURPLE_GLOBAL_HEADER_INSIDE) && !defined(PURPLE_COMPILATION) |
|
1341be8e3402
Make it so only libpurple can directly include libpurple header files.
Gary Kramlich <grim@reaperworld.com>
parents:
39738
diff
changeset
|
24 | # error "only <purple.h> may be included directly" |
|
1341be8e3402
Make it so only libpurple can directly include libpurple header files.
Gary Kramlich <grim@reaperworld.com>
parents:
39738
diff
changeset
|
25 | #endif |
|
1341be8e3402
Make it so only libpurple can directly include libpurple header files.
Gary Kramlich <grim@reaperworld.com>
parents:
39738
diff
changeset
|
26 | |
|
39659
e4dfb99b0cef
Fix libpurple header guards using reserved names.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
39510
diff
changeset
|
27 | #ifndef PURPLE_PREFS_H |
|
e4dfb99b0cef
Fix libpurple header guards using reserved names.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
39510
diff
changeset
|
28 | #define PURPLE_PREFS_H |
| 5441 | 29 | |
|
5638
53e752c88ea1
[gaim-migrate @ 6047]
Christian Hammond <chipx86@chipx86.com>
parents:
5561
diff
changeset
|
30 | #include <glib.h> |
|
53e752c88ea1
[gaim-migrate @ 6047]
Christian Hammond <chipx86@chipx86.com>
parents:
5561
diff
changeset
|
31 | |
|
42388
e0f4a672f85d
Add symbol visibility for symbols tagged with Since: 2.x
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
41721
diff
changeset
|
32 | #include "purpleversion.h" |
|
e0f4a672f85d
Add symbol visibility for symbols tagged with Since: 2.x
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
41721
diff
changeset
|
33 | |
| 5441 | 34 | /** |
|
35397
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
35 | * PurplePrefType: |
|
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
36 | * @PURPLE_PREF_NONE: No type. |
|
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
37 | * @PURPLE_PREF_BOOLEAN: Boolean. |
|
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
38 | * @PURPLE_PREF_INT: Integer. |
|
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
39 | * @PURPLE_PREF_STRING: String. |
|
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
40 | * @PURPLE_PREF_STRING_LIST: List of strings. |
|
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
41 | * @PURPLE_PREF_PATH: Path. |
|
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
42 | * @PURPLE_PREF_PATH_LIST: List of paths. |
|
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
43 | * |
|
25631
2506d2a66c9f
Document the PURPLE_MAJOR_VERSION, PURPLE_MINOR_VERSION, and
Etan Reisner <deryni@pidgin.im>
parents:
23129
diff
changeset
|
44 | * Preference data types. |
|
42409
35ac55f4809d
Mark enough Since/visibility exports for test UI
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42399
diff
changeset
|
45 | * |
|
42612
d905313bc732
Remove the micro version from since tags for libpurple part 1
Gary Kramlich <grim@reaperworld.com>
parents:
42594
diff
changeset
|
46 | * Since: 2.0 |
| 5441 | 47 | */ |
|
32206
a2c62b07ae5a
Please correct me if I'm wrong, but I don't think we gain anything
Mark Doliner <markdoliner@pidgin.im>
parents:
29267
diff
changeset
|
48 | typedef enum |
| 5441 | 49 | { |
|
35397
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
50 | PURPLE_PREF_NONE, |
|
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
51 | PURPLE_PREF_BOOLEAN, |
|
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
52 | PURPLE_PREF_INT, |
|
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
53 | PURPLE_PREF_STRING, |
|
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
54 | PURPLE_PREF_STRING_LIST, |
|
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
55 | PURPLE_PREF_PATH, |
|
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
56 | PURPLE_PREF_PATH_LIST |
|
5944
f19df037ac58
[gaim-migrate @ 6385]
Christian Hammond <chipx86@chipx86.com>
parents:
5684
diff
changeset
|
57 | |
| 15884 | 58 | } PurplePrefType; |
| 5441 | 59 | |
| 60 | /** | |
|
35397
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
61 | * PurplePrefCallback: |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35177
diff
changeset
|
62 | * @name: the name of the preference which has changed. |
|
35397
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
63 | * @type: the type of the preferenced named @name |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35177
diff
changeset
|
64 | * @val: the new value of the preferencs; should be cast to the correct |
|
21427
fad701d9ba43
Document PurplePrefCallback.
Will Thompson <resiak@pidgin.im>
parents:
21054
diff
changeset
|
65 | * type. For instance, to recover the value of a #PURPLE_PREF_INT |
| 35419 | 66 | * preference, use <literal>GPOINTER_TO_INT(val)</literal>. |
| 67 | * Alternatively, just call purple_prefs_get_int(), | |
| 68 | * purple_prefs_get_string_list() etc. | |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35177
diff
changeset
|
69 | * @data: Arbitrary data specified when the callback was connected with |
|
21427
fad701d9ba43
Document PurplePrefCallback.
Will Thompson <resiak@pidgin.im>
parents:
21054
diff
changeset
|
70 | * purple_prefs_connect_callback(). |
|
fad701d9ba43
Document PurplePrefCallback.
Will Thompson <resiak@pidgin.im>
parents:
21054
diff
changeset
|
71 | * |
|
fad701d9ba43
Document PurplePrefCallback.
Will Thompson <resiak@pidgin.im>
parents:
21054
diff
changeset
|
72 | * The type of callbacks for preference changes. |
|
fad701d9ba43
Document PurplePrefCallback.
Will Thompson <resiak@pidgin.im>
parents:
21054
diff
changeset
|
73 | * |
| 35471 | 74 | * See purple_prefs_connect_callback(). |
| 5441 | 75 | */ |
| 15884 | 76 | typedef void (*PurplePrefCallback) (const char *name, PurplePrefType type, |
|
12816
5f93e09fa9a6
[gaim-migrate @ 15164]
Mark Doliner <markdoliner@pidgin.im>
parents:
12712
diff
changeset
|
77 | gconstpointer val, gpointer data); |
| 5441 | 78 | |
|
37904
5915afa891bd
Fix prefs for stuff that was broken in the merge
Gary Kramlich <grim@reaperworld.com>
parents:
37901
diff
changeset
|
79 | /** |
|
38556
5912dabcde42
libpurple: Update documentation to GtkDoc style
Mike Ruprecht <cmaiku@gmail.com>
parents:
37904
diff
changeset
|
80 | * PurplePrefCallbackData: |
|
5912dabcde42
libpurple: Update documentation to GtkDoc style
Mike Ruprecht <cmaiku@gmail.com>
parents:
37904
diff
changeset
|
81 | * |
|
37904
5915afa891bd
Fix prefs for stuff that was broken in the merge
Gary Kramlich <grim@reaperworld.com>
parents:
37901
diff
changeset
|
82 | * Opaque type to carry callback information |
|
5915afa891bd
Fix prefs for stuff that was broken in the merge
Gary Kramlich <grim@reaperworld.com>
parents:
37901
diff
changeset
|
83 | * |
|
42612
d905313bc732
Remove the micro version from since tags for libpurple part 1
Gary Kramlich <grim@reaperworld.com>
parents:
42594
diff
changeset
|
84 | * Since: 2.11 |
|
37904
5915afa891bd
Fix prefs for stuff that was broken in the merge
Gary Kramlich <grim@reaperworld.com>
parents:
37901
diff
changeset
|
85 | */ |
|
5915afa891bd
Fix prefs for stuff that was broken in the merge
Gary Kramlich <grim@reaperworld.com>
parents:
37901
diff
changeset
|
86 | typedef struct _PurplePrefCallbackData PurplePrefCallbackData; |
|
5915afa891bd
Fix prefs for stuff that was broken in the merge
Gary Kramlich <grim@reaperworld.com>
parents:
37901
diff
changeset
|
87 | |
|
32787
7072f190d6ad
Use G_BEGIN/END_DECLS in public libpurple files. This was
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32438
diff
changeset
|
88 | G_BEGIN_DECLS |
|
5944
f19df037ac58
[gaim-migrate @ 6385]
Christian Hammond <chipx86@chipx86.com>
parents:
5684
diff
changeset
|
89 | |
| 5441 | 90 | /**************************************************************************/ |
| 35472 | 91 | /* Prefs API |
|
25888
d0fdd378a635
Remove trailing whitespace
Mark Doliner <markdoliner@pidgin.im>
parents:
23129
diff
changeset
|
92 | Preferences are named according to a directory-like structure. |
|
17436
a3e9be0f17ef
- Added a description of preference grouping to the Prefs API code
William Ehlhardt <williamehlhardt@gmail.com>
parents:
15884
diff
changeset
|
93 | Example: "/plugins/core/potato/is_from_idaho" (probably a boolean) */ |
| 5441 | 94 | /**************************************************************************/ |
| 95 | ||
| 96 | /** | |
|
35397
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
97 | * purple_prefs_get_handle: |
|
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
98 | * |
|
10443
aa7dcc1c796a
[gaim-migrate @ 11703]
Mark Doliner <markdoliner@pidgin.im>
parents:
10087
diff
changeset
|
99 | * Returns the prefs subsystem handle. |
|
aa7dcc1c796a
[gaim-migrate @ 11703]
Mark Doliner <markdoliner@pidgin.im>
parents:
10087
diff
changeset
|
100 | * |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35177
diff
changeset
|
101 | * Returns: The prefs subsystem handle. |
|
42409
35ac55f4809d
Mark enough Since/visibility exports for test UI
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42399
diff
changeset
|
102 | * |
|
42612
d905313bc732
Remove the micro version from since tags for libpurple part 1
Gary Kramlich <grim@reaperworld.com>
parents:
42594
diff
changeset
|
103 | * Since: 2.0 |
|
10443
aa7dcc1c796a
[gaim-migrate @ 11703]
Mark Doliner <markdoliner@pidgin.im>
parents:
10087
diff
changeset
|
104 | */ |
|
42409
35ac55f4809d
Mark enough Since/visibility exports for test UI
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42399
diff
changeset
|
105 | PURPLE_AVAILABLE_IN_ALL |
| 15884 | 106 | void *purple_prefs_get_handle(void); |
|
10443
aa7dcc1c796a
[gaim-migrate @ 11703]
Mark Doliner <markdoliner@pidgin.im>
parents:
10087
diff
changeset
|
107 | |
|
aa7dcc1c796a
[gaim-migrate @ 11703]
Mark Doliner <markdoliner@pidgin.im>
parents:
10087
diff
changeset
|
108 | /** |
|
35397
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
109 | * purple_prefs_init: |
|
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
110 | * |
| 5441 | 111 | * Initialize core prefs |
|
42409
35ac55f4809d
Mark enough Since/visibility exports for test UI
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42399
diff
changeset
|
112 | * |
|
42612
d905313bc732
Remove the micro version from since tags for libpurple part 1
Gary Kramlich <grim@reaperworld.com>
parents:
42594
diff
changeset
|
113 | * Since: 2.0 |
| 5441 | 114 | */ |
|
42409
35ac55f4809d
Mark enough Since/visibility exports for test UI
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42399
diff
changeset
|
115 | PURPLE_AVAILABLE_IN_ALL |
| 15884 | 116 | void purple_prefs_init(void); |
| 5441 | 117 | |
| 118 | /** | |
|
35397
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
119 | * purple_prefs_uninit: |
|
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
120 | * |
| 8235 | 121 | * Uninitializes the prefs subsystem. |
|
42409
35ac55f4809d
Mark enough Since/visibility exports for test UI
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42399
diff
changeset
|
122 | * |
|
42612
d905313bc732
Remove the micro version from since tags for libpurple part 1
Gary Kramlich <grim@reaperworld.com>
parents:
42594
diff
changeset
|
123 | * Since: 2.0 |
| 8235 | 124 | */ |
|
42409
35ac55f4809d
Mark enough Since/visibility exports for test UI
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42399
diff
changeset
|
125 | PURPLE_AVAILABLE_IN_ALL |
| 15884 | 126 | void purple_prefs_uninit(void); |
| 8235 | 127 | |
| 128 | /** | |
|
35397
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
129 | * purple_prefs_add_none: |
|
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
130 | * @name: The name of the pref |
| 5441 | 131 | * |
|
35397
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
132 | * Add a new typeless pref. |
|
42409
35ac55f4809d
Mark enough Since/visibility exports for test UI
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42399
diff
changeset
|
133 | * |
|
42612
d905313bc732
Remove the micro version from since tags for libpurple part 1
Gary Kramlich <grim@reaperworld.com>
parents:
42594
diff
changeset
|
134 | * Since: 2.0 |
| 5441 | 135 | */ |
|
42409
35ac55f4809d
Mark enough Since/visibility exports for test UI
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42399
diff
changeset
|
136 | PURPLE_AVAILABLE_IN_ALL |
| 15884 | 137 | void purple_prefs_add_none(const char *name); |
| 5441 | 138 | |
| 139 | /** | |
|
35397
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
140 | * purple_prefs_add_bool: |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35177
diff
changeset
|
141 | * @name: The name of the pref |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35177
diff
changeset
|
142 | * @value: The initial value to set |
| 5441 | 143 | * |
|
35397
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
144 | * Add a new boolean pref. |
|
42409
35ac55f4809d
Mark enough Since/visibility exports for test UI
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42399
diff
changeset
|
145 | * |
|
42612
d905313bc732
Remove the micro version from since tags for libpurple part 1
Gary Kramlich <grim@reaperworld.com>
parents:
42594
diff
changeset
|
146 | * Since: 2.0 |
| 5441 | 147 | */ |
|
42409
35ac55f4809d
Mark enough Since/visibility exports for test UI
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42399
diff
changeset
|
148 | PURPLE_AVAILABLE_IN_ALL |
| 15884 | 149 | void purple_prefs_add_bool(const char *name, gboolean value); |
| 5441 | 150 | |
| 151 | /** | |
|
35397
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
152 | * purple_prefs_add_int: |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35177
diff
changeset
|
153 | * @name: The name of the pref |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35177
diff
changeset
|
154 | * @value: The initial value to set |
| 5441 | 155 | * |
|
35397
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
156 | * Add a new integer pref. |
|
42409
35ac55f4809d
Mark enough Since/visibility exports for test UI
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42399
diff
changeset
|
157 | * |
|
42612
d905313bc732
Remove the micro version from since tags for libpurple part 1
Gary Kramlich <grim@reaperworld.com>
parents:
42594
diff
changeset
|
158 | * Since: 2.0 |
| 5441 | 159 | */ |
|
42409
35ac55f4809d
Mark enough Since/visibility exports for test UI
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42399
diff
changeset
|
160 | PURPLE_AVAILABLE_IN_ALL |
| 15884 | 161 | void purple_prefs_add_int(const char *name, int value); |
| 5441 | 162 | |
| 163 | /** | |
|
35397
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
164 | * purple_prefs_add_string: |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35177
diff
changeset
|
165 | * @name: The name of the pref |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35177
diff
changeset
|
166 | * @value: The initial value to set |
| 5441 | 167 | * |
|
35397
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
168 | * Add a new string pref. |
|
42409
35ac55f4809d
Mark enough Since/visibility exports for test UI
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42399
diff
changeset
|
169 | * |
|
42612
d905313bc732
Remove the micro version from since tags for libpurple part 1
Gary Kramlich <grim@reaperworld.com>
parents:
42594
diff
changeset
|
170 | * Since: 2.0 |
| 5441 | 171 | */ |
|
42409
35ac55f4809d
Mark enough Since/visibility exports for test UI
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42399
diff
changeset
|
172 | PURPLE_AVAILABLE_IN_ALL |
| 15884 | 173 | void purple_prefs_add_string(const char *name, const char *value); |
| 5441 | 174 | |
| 175 | /** | |
|
35397
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
176 | * purple_prefs_add_string_list: |
|
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
177 | * @name: The name of the pref |
|
38716
b9bed228745a
Add many libpurple element-type annotations.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
38556
diff
changeset
|
178 | * @value: (element-type utf8) (transfer none): The initial value to set |
|
35397
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
179 | * |
| 5561 | 180 | * Add a new string list pref. |
| 181 | * | |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35177
diff
changeset
|
182 | * Note: This function takes a copy of the strings in the value list. The list |
|
21054
6a5d95fe1c8a
Add notes about how the value argument to the
Etan Reisner <deryni@pidgin.im>
parents:
20940
diff
changeset
|
183 | * itself and original copies of the strings are up to the caller to |
|
6a5d95fe1c8a
Add notes about how the value argument to the
Etan Reisner <deryni@pidgin.im>
parents:
20940
diff
changeset
|
184 | * free. |
|
42409
35ac55f4809d
Mark enough Since/visibility exports for test UI
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42399
diff
changeset
|
185 | * |
|
42612
d905313bc732
Remove the micro version from since tags for libpurple part 1
Gary Kramlich <grim@reaperworld.com>
parents:
42594
diff
changeset
|
186 | * Since: 2.0 |
| 5561 | 187 | */ |
|
42409
35ac55f4809d
Mark enough Since/visibility exports for test UI
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42399
diff
changeset
|
188 | PURPLE_AVAILABLE_IN_ALL |
| 15884 | 189 | void purple_prefs_add_string_list(const char *name, GList *value); |
| 5561 | 190 | |
| 191 | /** | |
|
35397
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
192 | * purple_prefs_add_path: |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35177
diff
changeset
|
193 | * @name: The name of the pref |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35177
diff
changeset
|
194 | * @value: The initial value to set |
| 15370 | 195 | * |
|
35397
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
196 | * Add a new path pref. |
|
42409
35ac55f4809d
Mark enough Since/visibility exports for test UI
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42399
diff
changeset
|
197 | * |
|
42612
d905313bc732
Remove the micro version from since tags for libpurple part 1
Gary Kramlich <grim@reaperworld.com>
parents:
42594
diff
changeset
|
198 | * Since: 2.0 |
| 15370 | 199 | */ |
|
42409
35ac55f4809d
Mark enough Since/visibility exports for test UI
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42399
diff
changeset
|
200 | PURPLE_AVAILABLE_IN_ALL |
| 15884 | 201 | void purple_prefs_add_path(const char *name, const char *value); |
| 15370 | 202 | |
| 203 | /** | |
|
35397
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
204 | * purple_prefs_add_path_list: |
|
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
205 | * @name: The name of the pref |
|
38716
b9bed228745a
Add many libpurple element-type annotations.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
38556
diff
changeset
|
206 | * @value: (element-type utf8) (transfer none): The initial value to set |
|
35397
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
207 | * |
| 15370 | 208 | * Add a new path list pref. |
| 209 | * | |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35177
diff
changeset
|
210 | * Note: This function takes a copy of the strings in the value list. The list |
|
21054
6a5d95fe1c8a
Add notes about how the value argument to the
Etan Reisner <deryni@pidgin.im>
parents:
20940
diff
changeset
|
211 | * itself and original copies of the strings are up to the caller to |
|
6a5d95fe1c8a
Add notes about how the value argument to the
Etan Reisner <deryni@pidgin.im>
parents:
20940
diff
changeset
|
212 | * free. |
|
42409
35ac55f4809d
Mark enough Since/visibility exports for test UI
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42399
diff
changeset
|
213 | * |
|
42612
d905313bc732
Remove the micro version from since tags for libpurple part 1
Gary Kramlich <grim@reaperworld.com>
parents:
42594
diff
changeset
|
214 | * Since: 2.0 |
| 15370 | 215 | */ |
|
42409
35ac55f4809d
Mark enough Since/visibility exports for test UI
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42399
diff
changeset
|
216 | PURPLE_AVAILABLE_IN_ALL |
| 15884 | 217 | void purple_prefs_add_path_list(const char *name, GList *value); |
| 15370 | 218 | |
| 219 | ||
| 220 | /** | |
|
35397
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
221 | * purple_prefs_remove: |
|
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
222 | * @name: The name of the pref |
| 5441 | 223 | * |
|
35397
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
224 | * Remove a pref. |
|
42409
35ac55f4809d
Mark enough Since/visibility exports for test UI
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42399
diff
changeset
|
225 | * |
|
42612
d905313bc732
Remove the micro version from since tags for libpurple part 1
Gary Kramlich <grim@reaperworld.com>
parents:
42594
diff
changeset
|
226 | * Since: 2.0 |
| 5441 | 227 | */ |
|
42409
35ac55f4809d
Mark enough Since/visibility exports for test UI
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42399
diff
changeset
|
228 | PURPLE_AVAILABLE_IN_ALL |
| 15884 | 229 | void purple_prefs_remove(const char *name); |
| 5441 | 230 | |
| 231 | /** | |
|
35397
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
232 | * purple_prefs_rename: |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35177
diff
changeset
|
233 | * @oldname: The old name of the pref |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35177
diff
changeset
|
234 | * @newname: The new name for the pref |
| 6693 | 235 | * |
|
35397
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
236 | * Rename a pref |
|
42409
35ac55f4809d
Mark enough Since/visibility exports for test UI
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42399
diff
changeset
|
237 | * |
|
42612
d905313bc732
Remove the micro version from since tags for libpurple part 1
Gary Kramlich <grim@reaperworld.com>
parents:
42594
diff
changeset
|
238 | * Since: 2.0 |
| 6693 | 239 | */ |
|
42409
35ac55f4809d
Mark enough Since/visibility exports for test UI
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42399
diff
changeset
|
240 | PURPLE_AVAILABLE_IN_ALL |
| 15884 | 241 | void purple_prefs_rename(const char *oldname, const char *newname); |
| 6693 | 242 | |
| 243 | /** | |
|
35397
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
244 | * purple_prefs_rename_boolean_toggle: |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35177
diff
changeset
|
245 | * @oldname: The old name of the pref |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35177
diff
changeset
|
246 | * @newname: The new name for the pref |
| 8705 | 247 | * |
|
35397
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
248 | * Rename a boolean pref, toggling it's value |
|
42409
35ac55f4809d
Mark enough Since/visibility exports for test UI
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42399
diff
changeset
|
249 | * |
|
42612
d905313bc732
Remove the micro version from since tags for libpurple part 1
Gary Kramlich <grim@reaperworld.com>
parents:
42594
diff
changeset
|
250 | * Since: 2.0 |
| 8705 | 251 | */ |
|
42409
35ac55f4809d
Mark enough Since/visibility exports for test UI
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42399
diff
changeset
|
252 | PURPLE_AVAILABLE_IN_ALL |
| 15884 | 253 | void purple_prefs_rename_boolean_toggle(const char *oldname, const char *newname); |
| 8705 | 254 | |
| 255 | /** | |
|
35397
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
256 | * purple_prefs_destroy: |
|
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
257 | * |
| 5441 | 258 | * Remove all prefs. |
|
42409
35ac55f4809d
Mark enough Since/visibility exports for test UI
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42399
diff
changeset
|
259 | * |
|
42612
d905313bc732
Remove the micro version from since tags for libpurple part 1
Gary Kramlich <grim@reaperworld.com>
parents:
42594
diff
changeset
|
260 | * Since: 2.0 |
| 5441 | 261 | */ |
|
42409
35ac55f4809d
Mark enough Since/visibility exports for test UI
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42399
diff
changeset
|
262 | PURPLE_AVAILABLE_IN_ALL |
| 15884 | 263 | void purple_prefs_destroy(void); |
| 5441 | 264 | |
| 265 | /** | |
|
35397
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
266 | * purple_prefs_set_bool: |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35177
diff
changeset
|
267 | * @name: The name of the pref |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35177
diff
changeset
|
268 | * @value: The value to set |
|
29266
6bbb2f3d7ade
Mark this function as deprecated because I really don't know what
Mark Doliner <markdoliner@pidgin.im>
parents:
27805
diff
changeset
|
269 | * |
| 5441 | 270 | * Set boolean pref value |
|
42409
35ac55f4809d
Mark enough Since/visibility exports for test UI
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42399
diff
changeset
|
271 | * |
|
42612
d905313bc732
Remove the micro version from since tags for libpurple part 1
Gary Kramlich <grim@reaperworld.com>
parents:
42594
diff
changeset
|
272 | * Since: 2.0 |
| 5441 | 273 | */ |
|
42409
35ac55f4809d
Mark enough Since/visibility exports for test UI
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42399
diff
changeset
|
274 | PURPLE_AVAILABLE_IN_ALL |
| 15884 | 275 | void purple_prefs_set_bool(const char *name, gboolean value); |
| 5441 | 276 | |
| 277 | /** | |
|
35397
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
278 | * purple_prefs_set_int: |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35177
diff
changeset
|
279 | * @name: The name of the pref |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35177
diff
changeset
|
280 | * @value: The value to set |
| 5441 | 281 | * |
|
35397
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
282 | * Set integer pref value |
|
42409
35ac55f4809d
Mark enough Since/visibility exports for test UI
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42399
diff
changeset
|
283 | * |
|
42612
d905313bc732
Remove the micro version from since tags for libpurple part 1
Gary Kramlich <grim@reaperworld.com>
parents:
42594
diff
changeset
|
284 | * Since: 2.0 |
| 5441 | 285 | */ |
|
42409
35ac55f4809d
Mark enough Since/visibility exports for test UI
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42399
diff
changeset
|
286 | PURPLE_AVAILABLE_IN_ALL |
| 15884 | 287 | void purple_prefs_set_int(const char *name, int value); |
| 5441 | 288 | |
| 289 | /** | |
|
35397
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
290 | * purple_prefs_set_string: |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35177
diff
changeset
|
291 | * @name: The name of the pref |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35177
diff
changeset
|
292 | * @value: The value to set |
| 5441 | 293 | * |
|
35397
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
294 | * Set string pref value |
|
42409
35ac55f4809d
Mark enough Since/visibility exports for test UI
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42399
diff
changeset
|
295 | * |
|
42612
d905313bc732
Remove the micro version from since tags for libpurple part 1
Gary Kramlich <grim@reaperworld.com>
parents:
42594
diff
changeset
|
296 | * Since: 2.0 |
| 5441 | 297 | */ |
|
42409
35ac55f4809d
Mark enough Since/visibility exports for test UI
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42399
diff
changeset
|
298 | PURPLE_AVAILABLE_IN_ALL |
| 15884 | 299 | void purple_prefs_set_string(const char *name, const char *value); |
| 5441 | 300 | |
| 301 | /** | |
|
35397
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
302 | * purple_prefs_set_string_list: |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35177
diff
changeset
|
303 | * @name: The name of the pref |
|
38716
b9bed228745a
Add many libpurple element-type annotations.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
38556
diff
changeset
|
304 | * @value: (element-type utf8) (transfer none): The value to set |
| 5561 | 305 | * |
|
35397
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
306 | * Set string list pref value |
|
42409
35ac55f4809d
Mark enough Since/visibility exports for test UI
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42399
diff
changeset
|
307 | * |
|
42612
d905313bc732
Remove the micro version from since tags for libpurple part 1
Gary Kramlich <grim@reaperworld.com>
parents:
42594
diff
changeset
|
308 | * Since: 2.0 |
| 5561 | 309 | */ |
|
42409
35ac55f4809d
Mark enough Since/visibility exports for test UI
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42399
diff
changeset
|
310 | PURPLE_AVAILABLE_IN_ALL |
| 15884 | 311 | void purple_prefs_set_string_list(const char *name, GList *value); |
| 5561 | 312 | |
| 313 | /** | |
|
35397
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
314 | * purple_prefs_set_path: |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35177
diff
changeset
|
315 | * @name: The name of the pref |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35177
diff
changeset
|
316 | * @value: The value to set |
| 15370 | 317 | * |
|
35397
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
318 | * Set path pref value |
|
42409
35ac55f4809d
Mark enough Since/visibility exports for test UI
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42399
diff
changeset
|
319 | * |
|
42612
d905313bc732
Remove the micro version from since tags for libpurple part 1
Gary Kramlich <grim@reaperworld.com>
parents:
42594
diff
changeset
|
320 | * Since: 2.0 |
| 15370 | 321 | */ |
|
42409
35ac55f4809d
Mark enough Since/visibility exports for test UI
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42399
diff
changeset
|
322 | PURPLE_AVAILABLE_IN_ALL |
| 15884 | 323 | void purple_prefs_set_path(const char *name, const char *value); |
| 15370 | 324 | |
| 325 | /** | |
|
35397
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
326 | * purple_prefs_set_path_list: |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35177
diff
changeset
|
327 | * @name: The name of the pref |
|
38716
b9bed228745a
Add many libpurple element-type annotations.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
38556
diff
changeset
|
328 | * @value: (element-type utf8) (transfer none): The value to set |
| 15370 | 329 | * |
|
35397
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
330 | * Set path list pref value |
|
42409
35ac55f4809d
Mark enough Since/visibility exports for test UI
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42399
diff
changeset
|
331 | * |
|
42612
d905313bc732
Remove the micro version from since tags for libpurple part 1
Gary Kramlich <grim@reaperworld.com>
parents:
42594
diff
changeset
|
332 | * Since: 2.0 |
| 15370 | 333 | */ |
|
42409
35ac55f4809d
Mark enough Since/visibility exports for test UI
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42399
diff
changeset
|
334 | PURPLE_AVAILABLE_IN_ALL |
| 15884 | 335 | void purple_prefs_set_path_list(const char *name, GList *value); |
| 15370 | 336 | |
| 337 | ||
| 338 | /** | |
|
35397
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
339 | * purple_prefs_exists: |
|
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
340 | * @name: The name of the pref |
|
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
341 | * |
| 9611 | 342 | * Check if a pref exists |
| 343 | * | |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35177
diff
changeset
|
344 | * Returns: TRUE if the pref exists. Otherwise FALSE. |
|
42409
35ac55f4809d
Mark enough Since/visibility exports for test UI
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42399
diff
changeset
|
345 | * |
|
42612
d905313bc732
Remove the micro version from since tags for libpurple part 1
Gary Kramlich <grim@reaperworld.com>
parents:
42594
diff
changeset
|
346 | * Since: 2.0 |
| 9611 | 347 | */ |
|
42409
35ac55f4809d
Mark enough Since/visibility exports for test UI
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42399
diff
changeset
|
348 | PURPLE_AVAILABLE_IN_ALL |
| 15884 | 349 | gboolean purple_prefs_exists(const char *name); |
| 9611 | 350 | |
| 351 | /** | |
|
35477
5036e4cd8a46
Update doc labels for renamed functions
Ankit Vani <a@nevitus.org>
parents:
35475
diff
changeset
|
352 | * purple_prefs_get_pref_type: |
|
35397
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
353 | * @name: The name of the pref |
|
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
354 | * |
| 6538 | 355 | * Get pref type |
| 356 | * | |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35177
diff
changeset
|
357 | * Returns: The type of the pref |
|
42391
090b03385984
Add Since and symbol visibility to new-in-3.0 things
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42388
diff
changeset
|
358 | * |
|
42612
d905313bc732
Remove the micro version from since tags for libpurple part 1
Gary Kramlich <grim@reaperworld.com>
parents:
42594
diff
changeset
|
359 | * Since: 3.0 |
| 6538 | 360 | */ |
|
42391
090b03385984
Add Since and symbol visibility to new-in-3.0 things
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42388
diff
changeset
|
361 | PURPLE_AVAILABLE_IN_3_0 |
|
35378
5d9e2581005b
gtk-doc prep: *_get_type() functions are hidden as standard GType-returning funcs, so rename them.
Ankit Vani <a@nevitus.org>
parents:
35177
diff
changeset
|
362 | PurplePrefType purple_prefs_get_pref_type(const char *name); |
| 6538 | 363 | |
| 364 | /** | |
|
35397
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
365 | * purple_prefs_get_bool: |
|
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
366 | * @name: The name of the pref |
|
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
367 | * |
| 5441 | 368 | * Get boolean pref value |
| 369 | * | |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35177
diff
changeset
|
370 | * Returns: The value of the pref |
|
42409
35ac55f4809d
Mark enough Since/visibility exports for test UI
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42399
diff
changeset
|
371 | * |
|
42612
d905313bc732
Remove the micro version from since tags for libpurple part 1
Gary Kramlich <grim@reaperworld.com>
parents:
42594
diff
changeset
|
372 | * Since: 2.0 |
| 5441 | 373 | */ |
|
42409
35ac55f4809d
Mark enough Since/visibility exports for test UI
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42399
diff
changeset
|
374 | PURPLE_AVAILABLE_IN_ALL |
| 15884 | 375 | gboolean purple_prefs_get_bool(const char *name); |
| 5441 | 376 | |
| 377 | /** | |
|
35397
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
378 | * purple_prefs_get_int: |
|
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
379 | * @name: The name of the pref |
|
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
380 | * |
| 5441 | 381 | * Get integer pref value |
| 382 | * | |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35177
diff
changeset
|
383 | * Returns: The value of the pref |
|
42409
35ac55f4809d
Mark enough Since/visibility exports for test UI
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42399
diff
changeset
|
384 | * |
|
42612
d905313bc732
Remove the micro version from since tags for libpurple part 1
Gary Kramlich <grim@reaperworld.com>
parents:
42594
diff
changeset
|
385 | * Since: 2.0 |
| 5441 | 386 | */ |
|
42409
35ac55f4809d
Mark enough Since/visibility exports for test UI
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42399
diff
changeset
|
387 | PURPLE_AVAILABLE_IN_ALL |
| 15884 | 388 | int purple_prefs_get_int(const char *name); |
| 5441 | 389 | |
| 390 | /** | |
|
35397
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
391 | * purple_prefs_get_string: |
|
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
392 | * @name: The name of the pref |
|
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
393 | * |
| 5441 | 394 | * Get string pref value |
| 395 | * | |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35177
diff
changeset
|
396 | * Returns: The value of the pref |
|
42409
35ac55f4809d
Mark enough Since/visibility exports for test UI
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42399
diff
changeset
|
397 | * |
|
42612
d905313bc732
Remove the micro version from since tags for libpurple part 1
Gary Kramlich <grim@reaperworld.com>
parents:
42594
diff
changeset
|
398 | * Since: 2.0 |
| 5441 | 399 | */ |
|
42409
35ac55f4809d
Mark enough Since/visibility exports for test UI
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42399
diff
changeset
|
400 | PURPLE_AVAILABLE_IN_ALL |
| 15884 | 401 | const char *purple_prefs_get_string(const char *name); |
| 5441 | 402 | |
| 403 | /** | |
|
35397
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
404 | * purple_prefs_get_string_list: |
|
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
405 | * @name: The name of the pref |
|
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
406 | * |
|
10071
d2ba11541693
[gaim-migrate @ 11047]
Jonathan Champ <royanee@users.sourceforge.net>
parents:
10066
diff
changeset
|
407 | * Get string list pref value |
| 5561 | 408 | * |
|
39738
14d425a528ad
Add missing transfer annotations.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
39659
diff
changeset
|
409 | * Returns: (transfer full) (element-type utf8): The value of the pref. |
|
42409
35ac55f4809d
Mark enough Since/visibility exports for test UI
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42399
diff
changeset
|
410 | * |
|
42612
d905313bc732
Remove the micro version from since tags for libpurple part 1
Gary Kramlich <grim@reaperworld.com>
parents:
42594
diff
changeset
|
411 | * Since: 2.0 |
| 5561 | 412 | */ |
|
42409
35ac55f4809d
Mark enough Since/visibility exports for test UI
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42399
diff
changeset
|
413 | PURPLE_AVAILABLE_IN_ALL |
| 15884 | 414 | GList *purple_prefs_get_string_list(const char *name); |
| 5561 | 415 | |
| 416 | /** | |
|
35397
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
417 | * purple_prefs_get_path: |
|
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
418 | * @name: The name of the pref |
|
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
419 | * |
| 15370 | 420 | * Get path pref value |
| 421 | * | |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35177
diff
changeset
|
422 | * Returns: The value of the pref |
|
42409
35ac55f4809d
Mark enough Since/visibility exports for test UI
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42399
diff
changeset
|
423 | * |
|
42612
d905313bc732
Remove the micro version from since tags for libpurple part 1
Gary Kramlich <grim@reaperworld.com>
parents:
42594
diff
changeset
|
424 | * Since: 2.0 |
| 15370 | 425 | */ |
|
42409
35ac55f4809d
Mark enough Since/visibility exports for test UI
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42399
diff
changeset
|
426 | PURPLE_AVAILABLE_IN_ALL |
| 15884 | 427 | const char *purple_prefs_get_path(const char *name); |
| 15370 | 428 | |
| 429 | /** | |
|
35397
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
430 | * purple_prefs_get_path_list: |
|
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
431 | * @name: The name of the pref |
|
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
432 | * |
| 15370 | 433 | * Get path list pref value |
| 434 | * | |
|
39738
14d425a528ad
Add missing transfer annotations.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
39659
diff
changeset
|
435 | * Returns: (transfer full) (element-type utf8): The value of the pref. |
|
42409
35ac55f4809d
Mark enough Since/visibility exports for test UI
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42399
diff
changeset
|
436 | * |
|
42612
d905313bc732
Remove the micro version from since tags for libpurple part 1
Gary Kramlich <grim@reaperworld.com>
parents:
42594
diff
changeset
|
437 | * Since: 2.0 |
| 15370 | 438 | */ |
|
42409
35ac55f4809d
Mark enough Since/visibility exports for test UI
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42399
diff
changeset
|
439 | PURPLE_AVAILABLE_IN_ALL |
| 15884 | 440 | GList *purple_prefs_get_path_list(const char *name); |
| 15370 | 441 | |
|
23129
f2be0f621ef6
Make this a doxygen comment.
Etan Reisner <deryni@pidgin.im>
parents:
21427
diff
changeset
|
442 | /** |
|
35397
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
443 | * purple_prefs_get_children_names: |
|
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
444 | * @name: The parent pref |
|
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
445 | * |
|
18714
65048af91a2c
Add purple_prefs_get_children_names in purple. And update Changelog.API
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
15884
diff
changeset
|
446 | * Returns a list of children for a pref |
|
65048af91a2c
Add purple_prefs_get_children_names in purple. And update Changelog.API
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
15884
diff
changeset
|
447 | * |
|
39738
14d425a528ad
Add missing transfer annotations.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
39659
diff
changeset
|
448 | * Returns: (transfer full) (element-type utf8): A list of newly allocated |
|
14d425a528ad
Add missing transfer annotations.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
39659
diff
changeset
|
449 | * strings denoting the names of the children. Returns %NULL if there |
|
14d425a528ad
Add missing transfer annotations.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
39659
diff
changeset
|
450 | * are no children or if pref doesn't exist. The caller must free all |
|
14d425a528ad
Add missing transfer annotations.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
39659
diff
changeset
|
451 | * the strings and the list. |
|
42399
7598020f5ae2
Export symbols and add Since tags for 2.2/2.1 API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42391
diff
changeset
|
452 | * |
|
42612
d905313bc732
Remove the micro version from since tags for libpurple part 1
Gary Kramlich <grim@reaperworld.com>
parents:
42594
diff
changeset
|
453 | * Since: 2.1 |
|
18714
65048af91a2c
Add purple_prefs_get_children_names in purple. And update Changelog.API
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
15884
diff
changeset
|
454 | */ |
|
42399
7598020f5ae2
Export symbols and add Since tags for 2.2/2.1 API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42391
diff
changeset
|
455 | PURPLE_AVAILABLE_IN_2_1 |
|
18714
65048af91a2c
Add purple_prefs_get_children_names in purple. And update Changelog.API
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
15884
diff
changeset
|
456 | GList *purple_prefs_get_children_names(const char *name); |
| 15370 | 457 | |
| 458 | /** | |
|
35397
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
459 | * purple_prefs_connect_callback: |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35177
diff
changeset
|
460 | * @handle: The handle of the receiver. |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35177
diff
changeset
|
461 | * @name: The name of the preference |
|
35682
65c1912ee2c8
Add (scope) annotation to callback parameters (account.h to proxy.h)
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
462 | * @cb: (scope call): The callback function |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35177
diff
changeset
|
463 | * @data: The data to pass to the callback function. |
|
27805
91e9fff01764
documents purple_prefs_connect_callback
Ka-Hing Cheung <khc@pidgin.im>
parents:
25911
diff
changeset
|
464 | * |
| 5441 | 465 | * Add a callback to a pref (and its children) |
|
27805
91e9fff01764
documents purple_prefs_connect_callback
Ka-Hing Cheung <khc@pidgin.im>
parents:
25911
diff
changeset
|
466 | * |
| 35471 | 467 | * See purple_prefs_disconnect_callback(). |
|
27805
91e9fff01764
documents purple_prefs_connect_callback
Ka-Hing Cheung <khc@pidgin.im>
parents:
25911
diff
changeset
|
468 | * |
| 35471 | 469 | * Returns: An id to disconnect the callback |
|
42409
35ac55f4809d
Mark enough Since/visibility exports for test UI
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42399
diff
changeset
|
470 | * |
|
42612
d905313bc732
Remove the micro version from since tags for libpurple part 1
Gary Kramlich <grim@reaperworld.com>
parents:
42594
diff
changeset
|
471 | * Since: 2.0 |
| 5441 | 472 | */ |
|
42409
35ac55f4809d
Mark enough Since/visibility exports for test UI
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42399
diff
changeset
|
473 | PURPLE_AVAILABLE_IN_ALL |
| 15884 | 474 | guint purple_prefs_connect_callback(void *handle, const char *name, PurplePrefCallback cb, |
| 5441 | 475 | gpointer data); |
| 476 | ||
| 477 | /** | |
|
35397
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
478 | * purple_prefs_disconnect_callback: |
|
39510
c6d01c6e99d4
Clean up doc warnings for prefs
Gary Kramlich <grim@reaperworld.com>
parents:
39026
diff
changeset
|
479 | * @callback_id: The callback_id to disconnect. |
|
35397
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
480 | * |
| 5441 | 481 | * Remove a callback to a pref |
|
42409
35ac55f4809d
Mark enough Since/visibility exports for test UI
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42399
diff
changeset
|
482 | * |
|
42612
d905313bc732
Remove the micro version from since tags for libpurple part 1
Gary Kramlich <grim@reaperworld.com>
parents:
42594
diff
changeset
|
483 | * Since: 2.0 |
| 5441 | 484 | */ |
|
42409
35ac55f4809d
Mark enough Since/visibility exports for test UI
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42399
diff
changeset
|
485 | PURPLE_AVAILABLE_IN_ALL |
| 15884 | 486 | void purple_prefs_disconnect_callback(guint callback_id); |
| 5441 | 487 | |
| 488 | /** | |
|
35397
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
489 | * purple_prefs_disconnect_by_handle: |
|
39510
c6d01c6e99d4
Clean up doc warnings for prefs
Gary Kramlich <grim@reaperworld.com>
parents:
39026
diff
changeset
|
490 | * @handle: The handle to remove. |
|
35397
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
491 | * |
|
10087
e5b80a38939d
[gaim-migrate @ 11098]
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
10071
diff
changeset
|
492 | * Remove all pref callbacks by handle |
|
42409
35ac55f4809d
Mark enough Since/visibility exports for test UI
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42399
diff
changeset
|
493 | * |
|
42612
d905313bc732
Remove the micro version from since tags for libpurple part 1
Gary Kramlich <grim@reaperworld.com>
parents:
42594
diff
changeset
|
494 | * Since: 2.0 |
|
10087
e5b80a38939d
[gaim-migrate @ 11098]
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
10071
diff
changeset
|
495 | */ |
|
42409
35ac55f4809d
Mark enough Since/visibility exports for test UI
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42399
diff
changeset
|
496 | PURPLE_AVAILABLE_IN_ALL |
| 15884 | 497 | void purple_prefs_disconnect_by_handle(void *handle); |
|
10087
e5b80a38939d
[gaim-migrate @ 11098]
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
10071
diff
changeset
|
498 | |
|
e5b80a38939d
[gaim-migrate @ 11098]
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
10071
diff
changeset
|
499 | /** |
|
35397
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
500 | * purple_prefs_trigger_callback: |
|
39510
c6d01c6e99d4
Clean up doc warnings for prefs
Gary Kramlich <grim@reaperworld.com>
parents:
39026
diff
changeset
|
501 | * @name: The name of the preference. |
|
35397
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
502 | * |
| 5684 | 503 | * Trigger callbacks as if the pref changed |
|
42409
35ac55f4809d
Mark enough Since/visibility exports for test UI
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42399
diff
changeset
|
504 | * |
|
42612
d905313bc732
Remove the micro version from since tags for libpurple part 1
Gary Kramlich <grim@reaperworld.com>
parents:
42594
diff
changeset
|
505 | * Since: 2.0 |
| 5684 | 506 | */ |
|
42409
35ac55f4809d
Mark enough Since/visibility exports for test UI
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42399
diff
changeset
|
507 | PURPLE_AVAILABLE_IN_ALL |
| 15884 | 508 | void purple_prefs_trigger_callback(const char *name); |
| 5684 | 509 | |
| 510 | /** | |
|
38556
5912dabcde42
libpurple: Update documentation to GtkDoc style
Mike Ruprecht <cmaiku@gmail.com>
parents:
37904
diff
changeset
|
511 | * purple_prefs_trigger_callback_object: |
|
39510
c6d01c6e99d4
Clean up doc warnings for prefs
Gary Kramlich <grim@reaperworld.com>
parents:
39026
diff
changeset
|
512 | * @data: Callback data. |
|
38556
5912dabcde42
libpurple: Update documentation to GtkDoc style
Mike Ruprecht <cmaiku@gmail.com>
parents:
37904
diff
changeset
|
513 | * |
|
37904
5915afa891bd
Fix prefs for stuff that was broken in the merge
Gary Kramlich <grim@reaperworld.com>
parents:
37901
diff
changeset
|
514 | * Trigger callbacks as if the pref changed, taking a #PurplePrefCallbackData |
|
5915afa891bd
Fix prefs for stuff that was broken in the merge
Gary Kramlich <grim@reaperworld.com>
parents:
37901
diff
changeset
|
515 | * instead of a name |
|
5915afa891bd
Fix prefs for stuff that was broken in the merge
Gary Kramlich <grim@reaperworld.com>
parents:
37901
diff
changeset
|
516 | * |
|
42612
d905313bc732
Remove the micro version from since tags for libpurple part 1
Gary Kramlich <grim@reaperworld.com>
parents:
42594
diff
changeset
|
517 | * Since: 2.11 |
|
37904
5915afa891bd
Fix prefs for stuff that was broken in the merge
Gary Kramlich <grim@reaperworld.com>
parents:
37901
diff
changeset
|
518 | */ |
|
42388
e0f4a672f85d
Add symbol visibility for symbols tagged with Since: 2.x
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
41721
diff
changeset
|
519 | PURPLE_AVAILABLE_IN_2_11 |
|
37904
5915afa891bd
Fix prefs for stuff that was broken in the merge
Gary Kramlich <grim@reaperworld.com>
parents:
37901
diff
changeset
|
520 | void purple_prefs_trigger_callback_object(PurplePrefCallbackData *data); |
|
5915afa891bd
Fix prefs for stuff that was broken in the merge
Gary Kramlich <grim@reaperworld.com>
parents:
37901
diff
changeset
|
521 | |
|
5915afa891bd
Fix prefs for stuff that was broken in the merge
Gary Kramlich <grim@reaperworld.com>
parents:
37901
diff
changeset
|
522 | /** |
|
35397
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
523 | * purple_prefs_load: |
|
37756
421e7b2020eb
Add more documentation for PurpleAccountPrefsUiOps and PurplePrefsUiOps
dx <dx@dxzone.com.ar>
parents:
37750
diff
changeset
|
524 | * |
| 5441 | 525 | * Read preferences |
|
42409
35ac55f4809d
Mark enough Since/visibility exports for test UI
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42399
diff
changeset
|
526 | * |
|
42656
df9aafbae930
Add a doc-check unit test to libpurple and fix the issues it has found
Gary Kramlich <grim@reaperworld.com>
parents:
42612
diff
changeset
|
527 | * Returns: %TRUE if the prefs loaded successfully, otherwise %FALSE. |
|
df9aafbae930
Add a doc-check unit test to libpurple and fix the issues it has found
Gary Kramlich <grim@reaperworld.com>
parents:
42612
diff
changeset
|
528 | * |
|
42612
d905313bc732
Remove the micro version from since tags for libpurple part 1
Gary Kramlich <grim@reaperworld.com>
parents:
42594
diff
changeset
|
529 | * Since: 2.0 |
| 5441 | 530 | */ |
|
42409
35ac55f4809d
Mark enough Since/visibility exports for test UI
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42399
diff
changeset
|
531 | PURPLE_AVAILABLE_IN_ALL |
| 15884 | 532 | gboolean purple_prefs_load(void); |
| 5441 | 533 | |
|
32787
7072f190d6ad
Use G_BEGIN/END_DECLS in public libpurple files. This was
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32438
diff
changeset
|
534 | G_END_DECLS |
|
5944
f19df037ac58
[gaim-migrate @ 6385]
Christian Hammond <chipx86@chipx86.com>
parents:
5684
diff
changeset
|
535 | |
|
39659
e4dfb99b0cef
Fix libpurple header guards using reserved names.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
39510
diff
changeset
|
536 | #endif /* PURPLE_PREFS_H */ |