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:
42403
diff
changeset
|
1 | /* |
|
eddde70cedd8
Create a test for verifying license headers and correct the ones that were wrong
Gary Kramlich <grim@reaperworld.com>
parents:
42403
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:
42403
diff
changeset
|
3 | * Copyright (C) Pidgin Developers <devel@pidgin.im> |
| 5639 | 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:
42403
diff
changeset
|
6 | * to list here. Please refer to the COPYRIGHT file distributed with this |
| 8046 | 7 | * source distribution. |
|
6902
bf0a4376750f
[gaim-migrate @ 7449]
Christian Hammond <chipx86@chipx86.com>
parents:
5944
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:
42403
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:
42403
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:
42403
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:
42403
diff
changeset
|
12 | * any later version. |
| 5639 | 13 | * |
|
42594
eddde70cedd8
Create a test for verifying license headers and correct the ones that were wrong
Gary Kramlich <grim@reaperworld.com>
parents:
42403
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:
42403
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:
42403
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:
42403
diff
changeset
|
17 | * more details. |
| 5639 | 18 | * |
|
42594
eddde70cedd8
Create a test for verifying license headers and correct the ones that were wrong
Gary Kramlich <grim@reaperworld.com>
parents:
42403
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:
42403
diff
changeset
|
20 | * this library; if not, see <https://www.gnu.org/licenses/>. |
| 5639 | 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:
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 | |
|
39972
347a24c5363d
register PurpleAccountOption as a boxed type
Gary Kramlich <grim@reaperworld.com>
parents:
39970
diff
changeset
|
27 | #ifndef PURPLE_ACCOUNT_OPTION_H |
|
347a24c5363d
register PurpleAccountOption as a boxed type
Gary Kramlich <grim@reaperworld.com>
parents:
39970
diff
changeset
|
28 | #define PURPLE_ACCOUNT_OPTION_H |
|
347a24c5363d
register PurpleAccountOption as a boxed type
Gary Kramlich <grim@reaperworld.com>
parents:
39970
diff
changeset
|
29 | |
|
347a24c5363d
register PurpleAccountOption as a boxed type
Gary Kramlich <grim@reaperworld.com>
parents:
39970
diff
changeset
|
30 | #include <glib.h> |
|
347a24c5363d
register PurpleAccountOption as a boxed type
Gary Kramlich <grim@reaperworld.com>
parents:
39970
diff
changeset
|
31 | #include <glib-object.h> |
|
347a24c5363d
register PurpleAccountOption as a boxed type
Gary Kramlich <grim@reaperworld.com>
parents:
39970
diff
changeset
|
32 | |
|
42338
2548eb61acc9
Make sure all internal includes use double quotes
Gary Kramlich <grim@reaperworld.com>
parents:
41753
diff
changeset
|
33 | #include "prefs.h" |
|
42387
d9350cda1556
Export symbols added for 3.0.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42338
diff
changeset
|
34 | #include "purpleversion.h" |
|
40870
e3397381fd35
Remove includes from protocol.h that weren't used there and deal with the fallout
Gary Kramlich <grim@reaperworld.com>
parents:
40474
diff
changeset
|
35 | |
|
39972
347a24c5363d
register PurpleAccountOption as a boxed type
Gary Kramlich <grim@reaperworld.com>
parents:
39970
diff
changeset
|
36 | #define PURPLE_TYPE_ACCOUNT_OPTION (purple_account_option_get_type()) |
| 5639 | 37 | |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
38 | /** |
|
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
39 | * PurpleAccountOption: |
|
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
40 | * |
|
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
41 | * An option for an account. |
|
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
42 | * |
|
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
43 | * This is set by protocols, and appears in the account settings |
|
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
44 | * dialogs. |
|
42403
7b4103d22d55
Make sure all AccountOption API's are versioned
Gary Kramlich <grim@reaperworld.com>
parents:
42400
diff
changeset
|
45 | * |
|
42613
780d7efe37c2
Remove the micro version from since tags for libpurple part 2
Gary Kramlich <grim@reaperworld.com>
parents:
42594
diff
changeset
|
46 | * Since: 2.0 |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
47 | */ |
|
32438
dc8991868906
A boring and large patch so I can merge heads.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
24111
diff
changeset
|
48 | typedef struct _PurpleAccountOption PurpleAccountOption; |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
49 | |
|
32787
7072f190d6ad
Use G_BEGIN/END_DECLS in public libpurple files. This was
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32438
diff
changeset
|
50 | G_BEGIN_DECLS |
|
5944
f19df037ac58
[gaim-migrate @ 6385]
Christian Hammond <chipx86@chipx86.com>
parents:
5660
diff
changeset
|
51 | |
|
42400
64c85dc25cd4
Tag some miscellanous Since and exports
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42391
diff
changeset
|
52 | PURPLE_AVAILABLE_IN_ALL |
|
39972
347a24c5363d
register PurpleAccountOption as a boxed type
Gary Kramlich <grim@reaperworld.com>
parents:
39970
diff
changeset
|
53 | GType purple_account_option_get_type(void); |
| 5639 | 54 | |
| 55 | /** | |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
56 | * purple_account_option_new: |
|
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
57 | * @type: The type of option. |
|
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
58 | * @text: The text of the option. |
|
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
59 | * @pref_name: The account preference name for the option. |
|
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
60 | * |
|
41753
316c1207f787
Fix various small documentation errors
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
41207
diff
changeset
|
61 | * Creates a new account option. If you know what @type will be in advance, |
|
316c1207f787
Fix various small documentation errors
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
41207
diff
changeset
|
62 | * consider using [ctor@Purple.AccountOption.bool_new], |
|
316c1207f787
Fix various small documentation errors
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
41207
diff
changeset
|
63 | * [ctor@Purple.AccountOption.int_new], [ctor@Purple.AccountOption.string_new] |
|
316c1207f787
Fix various small documentation errors
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
41207
diff
changeset
|
64 | * or [ctor@Purple.AccountOption.list_new] (as appropriate) instead. |
| 5639 | 65 | * |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
33267
diff
changeset
|
66 | * Returns: The account option. |
|
42403
7b4103d22d55
Make sure all AccountOption API's are versioned
Gary Kramlich <grim@reaperworld.com>
parents:
42400
diff
changeset
|
67 | * |
|
42613
780d7efe37c2
Remove the micro version from since tags for libpurple part 2
Gary Kramlich <grim@reaperworld.com>
parents:
42594
diff
changeset
|
68 | * Since: 2.0 |
| 5639 | 69 | */ |
|
42403
7b4103d22d55
Make sure all AccountOption API's are versioned
Gary Kramlich <grim@reaperworld.com>
parents:
42400
diff
changeset
|
70 | PURPLE_AVAILABLE_IN_ALL |
|
39972
347a24c5363d
register PurpleAccountOption as a boxed type
Gary Kramlich <grim@reaperworld.com>
parents:
39970
diff
changeset
|
71 | PurpleAccountOption *purple_account_option_new(PurplePrefType type, const gchar *text, const gchar *pref_name); |
|
347a24c5363d
register PurpleAccountOption as a boxed type
Gary Kramlich <grim@reaperworld.com>
parents:
39970
diff
changeset
|
72 | |
|
347a24c5363d
register PurpleAccountOption as a boxed type
Gary Kramlich <grim@reaperworld.com>
parents:
39970
diff
changeset
|
73 | /** |
|
347a24c5363d
register PurpleAccountOption as a boxed type
Gary Kramlich <grim@reaperworld.com>
parents:
39970
diff
changeset
|
74 | * purple_account_option_copy: |
|
347a24c5363d
register PurpleAccountOption as a boxed type
Gary Kramlich <grim@reaperworld.com>
parents:
39970
diff
changeset
|
75 | * @option: The option to copy. |
|
347a24c5363d
register PurpleAccountOption as a boxed type
Gary Kramlich <grim@reaperworld.com>
parents:
39970
diff
changeset
|
76 | * |
|
347a24c5363d
register PurpleAccountOption as a boxed type
Gary Kramlich <grim@reaperworld.com>
parents:
39970
diff
changeset
|
77 | * Creates a newly allocated copy of @option. |
|
347a24c5363d
register PurpleAccountOption as a boxed type
Gary Kramlich <grim@reaperworld.com>
parents:
39970
diff
changeset
|
78 | * |
| 40186 | 79 | * Returns: (transfer full): A new copy of @option. |
|
39972
347a24c5363d
register PurpleAccountOption as a boxed type
Gary Kramlich <grim@reaperworld.com>
parents:
39970
diff
changeset
|
80 | * |
|
42613
780d7efe37c2
Remove the micro version from since tags for libpurple part 2
Gary Kramlich <grim@reaperworld.com>
parents:
42594
diff
changeset
|
81 | * Since: 3.0 |
|
39972
347a24c5363d
register PurpleAccountOption as a boxed type
Gary Kramlich <grim@reaperworld.com>
parents:
39970
diff
changeset
|
82 | */ |
|
42387
d9350cda1556
Export symbols added for 3.0.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42338
diff
changeset
|
83 | PURPLE_AVAILABLE_IN_3_0 |
|
39972
347a24c5363d
register PurpleAccountOption as a boxed type
Gary Kramlich <grim@reaperworld.com>
parents:
39970
diff
changeset
|
84 | PurpleAccountOption *purple_account_option_copy(PurpleAccountOption *option); |
| 5639 | 85 | |
| 86 | /** | |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
87 | * purple_account_option_bool_new: |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
33267
diff
changeset
|
88 | * @text: The text of the option. |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
33267
diff
changeset
|
89 | * @pref_name: The account preference name for the option. |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
33267
diff
changeset
|
90 | * @default_value: The default value. |
| 5639 | 91 | * |
| 92 | * Creates a new boolean account option. | |
| 93 | * | |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
33267
diff
changeset
|
94 | * Returns: The account option. |
|
42403
7b4103d22d55
Make sure all AccountOption API's are versioned
Gary Kramlich <grim@reaperworld.com>
parents:
42400
diff
changeset
|
95 | * |
|
42613
780d7efe37c2
Remove the micro version from since tags for libpurple part 2
Gary Kramlich <grim@reaperworld.com>
parents:
42594
diff
changeset
|
96 | * Since: 2.0 |
| 5639 | 97 | */ |
|
42403
7b4103d22d55
Make sure all AccountOption API's are versioned
Gary Kramlich <grim@reaperworld.com>
parents:
42400
diff
changeset
|
98 | PURPLE_AVAILABLE_IN_ALL |
|
39972
347a24c5363d
register PurpleAccountOption as a boxed type
Gary Kramlich <grim@reaperworld.com>
parents:
39970
diff
changeset
|
99 | PurpleAccountOption *purple_account_option_bool_new(const gchar *text, const gchar *pref_name, gboolean default_value); |
| 5639 | 100 | |
| 101 | /** | |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
102 | * purple_account_option_int_new: |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
33267
diff
changeset
|
103 | * @text: The text of the option. |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
33267
diff
changeset
|
104 | * @pref_name: The account preference name for the option. |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
33267
diff
changeset
|
105 | * @default_value: The default value. |
| 5639 | 106 | * |
| 107 | * Creates a new integer account option. | |
| 108 | * | |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
33267
diff
changeset
|
109 | * Returns: The account option. |
|
42403
7b4103d22d55
Make sure all AccountOption API's are versioned
Gary Kramlich <grim@reaperworld.com>
parents:
42400
diff
changeset
|
110 | * |
|
42613
780d7efe37c2
Remove the micro version from since tags for libpurple part 2
Gary Kramlich <grim@reaperworld.com>
parents:
42594
diff
changeset
|
111 | * Since: 2.0 |
| 5639 | 112 | */ |
|
42403
7b4103d22d55
Make sure all AccountOption API's are versioned
Gary Kramlich <grim@reaperworld.com>
parents:
42400
diff
changeset
|
113 | PURPLE_AVAILABLE_IN_ALL |
|
39972
347a24c5363d
register PurpleAccountOption as a boxed type
Gary Kramlich <grim@reaperworld.com>
parents:
39970
diff
changeset
|
114 | PurpleAccountOption *purple_account_option_int_new(const gchar *text, const gchar *pref_name, gint default_value); |
| 5639 | 115 | |
| 116 | /** | |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
117 | * purple_account_option_string_new: |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
33267
diff
changeset
|
118 | * @text: The text of the option. |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
33267
diff
changeset
|
119 | * @pref_name: The account preference name for the option. |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
33267
diff
changeset
|
120 | * @default_value: The default value. |
| 5639 | 121 | * |
| 122 | * Creates a new string account option. | |
| 123 | * | |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
33267
diff
changeset
|
124 | * Returns: The account option. |
|
42403
7b4103d22d55
Make sure all AccountOption API's are versioned
Gary Kramlich <grim@reaperworld.com>
parents:
42400
diff
changeset
|
125 | * |
|
42613
780d7efe37c2
Remove the micro version from since tags for libpurple part 2
Gary Kramlich <grim@reaperworld.com>
parents:
42594
diff
changeset
|
126 | * Since: 2.0 |
| 5639 | 127 | */ |
|
42403
7b4103d22d55
Make sure all AccountOption API's are versioned
Gary Kramlich <grim@reaperworld.com>
parents:
42400
diff
changeset
|
128 | PURPLE_AVAILABLE_IN_ALL |
|
39972
347a24c5363d
register PurpleAccountOption as a boxed type
Gary Kramlich <grim@reaperworld.com>
parents:
39970
diff
changeset
|
129 | PurpleAccountOption *purple_account_option_string_new(const gchar *text, const gchar *pref_name, const gchar *default_value); |
| 5639 | 130 | |
| 131 | /** | |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
132 | * purple_account_option_list_new: |
|
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
133 | * @text: The text of the option. |
|
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
134 | * @pref_name: The account preference name for the option. |
|
38716
b9bed228745a
Add many libpurple element-type annotations.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
37144
diff
changeset
|
135 | * @list: (element-type PurpleKeyValuePair) (transfer full): The key, value list. |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
136 | * |
|
8570
bce05cb55dbc
[gaim-migrate @ 9318]
Christian Hammond <chipx86@chipx86.com>
parents:
8046
diff
changeset
|
137 | * Creates a new list account option. |
|
bce05cb55dbc
[gaim-migrate @ 9318]
Christian Hammond <chipx86@chipx86.com>
parents:
8046
diff
changeset
|
138 | * |
|
bce05cb55dbc
[gaim-migrate @ 9318]
Christian Hammond <chipx86@chipx86.com>
parents:
8046
diff
changeset
|
139 | * The list passed will be owned by the account option, and the |
|
bce05cb55dbc
[gaim-migrate @ 9318]
Christian Hammond <chipx86@chipx86.com>
parents:
8046
diff
changeset
|
140 | * strings inside will be freed automatically. |
|
bce05cb55dbc
[gaim-migrate @ 9318]
Christian Hammond <chipx86@chipx86.com>
parents:
8046
diff
changeset
|
141 | * |
|
24111
40399e39280d
Correct documentation about list account options to reflect what the key and
Will Thompson <resiak@pidgin.im>
parents:
22256
diff
changeset
|
142 | * The list is a list of #PurpleKeyValuePair items. The key is the label that |
| 35419 | 143 | * should be displayed to the user, and the <type>(const char *)</type> value is |
|
24111
40399e39280d
Correct documentation about list account options to reflect what the key and
Will Thompson <resiak@pidgin.im>
parents:
22256
diff
changeset
|
144 | * the internal ID that should be passed to purple_account_set_string() to |
|
40399e39280d
Correct documentation about list account options to reflect what the key and
Will Thompson <resiak@pidgin.im>
parents:
22256
diff
changeset
|
145 | * choose that value. |
|
8570
bce05cb55dbc
[gaim-migrate @ 9318]
Christian Hammond <chipx86@chipx86.com>
parents:
8046
diff
changeset
|
146 | * |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
33267
diff
changeset
|
147 | * Returns: The account option. |
|
42403
7b4103d22d55
Make sure all AccountOption API's are versioned
Gary Kramlich <grim@reaperworld.com>
parents:
42400
diff
changeset
|
148 | * |
|
42613
780d7efe37c2
Remove the micro version from since tags for libpurple part 2
Gary Kramlich <grim@reaperworld.com>
parents:
42594
diff
changeset
|
149 | * Since: 2.0 |
|
8570
bce05cb55dbc
[gaim-migrate @ 9318]
Christian Hammond <chipx86@chipx86.com>
parents:
8046
diff
changeset
|
150 | */ |
|
42403
7b4103d22d55
Make sure all AccountOption API's are versioned
Gary Kramlich <grim@reaperworld.com>
parents:
42400
diff
changeset
|
151 | PURPLE_AVAILABLE_IN_ALL |
|
39972
347a24c5363d
register PurpleAccountOption as a boxed type
Gary Kramlich <grim@reaperworld.com>
parents:
39970
diff
changeset
|
152 | PurpleAccountOption *purple_account_option_list_new(const gchar *text, const gchar *pref_name, GList *list); |
|
8570
bce05cb55dbc
[gaim-migrate @ 9318]
Christian Hammond <chipx86@chipx86.com>
parents:
8046
diff
changeset
|
153 | |
|
bce05cb55dbc
[gaim-migrate @ 9318]
Christian Hammond <chipx86@chipx86.com>
parents:
8046
diff
changeset
|
154 | /** |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
155 | * purple_account_option_destroy: |
|
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
156 | * @option: The option to destroy. |
| 5639 | 157 | * |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
158 | * Destroys an account option. |
|
42403
7b4103d22d55
Make sure all AccountOption API's are versioned
Gary Kramlich <grim@reaperworld.com>
parents:
42400
diff
changeset
|
159 | * |
|
42613
780d7efe37c2
Remove the micro version from since tags for libpurple part 2
Gary Kramlich <grim@reaperworld.com>
parents:
42594
diff
changeset
|
160 | * Since: 2.0 |
| 5639 | 161 | */ |
|
42403
7b4103d22d55
Make sure all AccountOption API's are versioned
Gary Kramlich <grim@reaperworld.com>
parents:
42400
diff
changeset
|
162 | PURPLE_AVAILABLE_IN_ALL |
| 15884 | 163 | void purple_account_option_destroy(PurpleAccountOption *option); |
| 5639 | 164 | |
| 165 | /** | |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
166 | * purple_account_option_set_default_bool: |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
33267
diff
changeset
|
167 | * @option: The account option. |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
33267
diff
changeset
|
168 | * @value: The default boolean value. |
| 5639 | 169 | * |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
170 | * Sets the default boolean value for an account option. |
|
42403
7b4103d22d55
Make sure all AccountOption API's are versioned
Gary Kramlich <grim@reaperworld.com>
parents:
42400
diff
changeset
|
171 | * |
|
42613
780d7efe37c2
Remove the micro version from since tags for libpurple part 2
Gary Kramlich <grim@reaperworld.com>
parents:
42594
diff
changeset
|
172 | * Since: 2.0 |
| 5639 | 173 | */ |
|
42403
7b4103d22d55
Make sure all AccountOption API's are versioned
Gary Kramlich <grim@reaperworld.com>
parents:
42400
diff
changeset
|
174 | PURPLE_AVAILABLE_IN_ALL |
|
39972
347a24c5363d
register PurpleAccountOption as a boxed type
Gary Kramlich <grim@reaperworld.com>
parents:
39970
diff
changeset
|
175 | void purple_account_option_set_default_bool(PurpleAccountOption *option, gboolean value); |
| 5639 | 176 | |
| 177 | /** | |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
178 | * purple_account_option_set_default_int: |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
33267
diff
changeset
|
179 | * @option: The account option. |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
33267
diff
changeset
|
180 | * @value: The default integer value. |
| 5639 | 181 | * |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
182 | * Sets the default integer value for an account option. |
|
42403
7b4103d22d55
Make sure all AccountOption API's are versioned
Gary Kramlich <grim@reaperworld.com>
parents:
42400
diff
changeset
|
183 | * |
|
42613
780d7efe37c2
Remove the micro version from since tags for libpurple part 2
Gary Kramlich <grim@reaperworld.com>
parents:
42594
diff
changeset
|
184 | * Since: 2.0 |
| 5639 | 185 | */ |
|
42403
7b4103d22d55
Make sure all AccountOption API's are versioned
Gary Kramlich <grim@reaperworld.com>
parents:
42400
diff
changeset
|
186 | PURPLE_AVAILABLE_IN_ALL |
|
39972
347a24c5363d
register PurpleAccountOption as a boxed type
Gary Kramlich <grim@reaperworld.com>
parents:
39970
diff
changeset
|
187 | void purple_account_option_set_default_int(PurpleAccountOption *option, gint value); |
| 5639 | 188 | |
| 189 | /** | |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
190 | * purple_account_option_set_default_string: |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
33267
diff
changeset
|
191 | * @option: The account option. |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
33267
diff
changeset
|
192 | * @value: The default string value. |
| 5639 | 193 | * |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
194 | * Sets the default string value for an account option. |
|
42403
7b4103d22d55
Make sure all AccountOption API's are versioned
Gary Kramlich <grim@reaperworld.com>
parents:
42400
diff
changeset
|
195 | * |
|
42613
780d7efe37c2
Remove the micro version from since tags for libpurple part 2
Gary Kramlich <grim@reaperworld.com>
parents:
42594
diff
changeset
|
196 | * Since: 2.0 |
| 5639 | 197 | */ |
|
42403
7b4103d22d55
Make sure all AccountOption API's are versioned
Gary Kramlich <grim@reaperworld.com>
parents:
42400
diff
changeset
|
198 | PURPLE_AVAILABLE_IN_ALL |
|
39972
347a24c5363d
register PurpleAccountOption as a boxed type
Gary Kramlich <grim@reaperworld.com>
parents:
39970
diff
changeset
|
199 | void purple_account_option_set_default_string(PurpleAccountOption *option, const gchar *value); |
| 5639 | 200 | |
| 201 | /** | |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
202 | * purple_account_option_string_set_masked: |
|
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
203 | * @option: The account option. |
|
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
204 | * @masked: The masking. |
|
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
205 | * |
|
20040
57572bb85e07
Explain what PurpleAccountOption.masked and its setters and getters
Will Thompson <resiak@pidgin.im>
parents:
19859
diff
changeset
|
206 | * Sets the masking for an account option. Setting this to %TRUE acts |
|
57572bb85e07
Explain what PurpleAccountOption.masked and its setters and getters
Will Thompson <resiak@pidgin.im>
parents:
19859
diff
changeset
|
207 | * as a hint to the UI that the option's value should be obscured from |
|
57572bb85e07
Explain what PurpleAccountOption.masked and its setters and getters
Will Thompson <resiak@pidgin.im>
parents:
19859
diff
changeset
|
208 | * view, like a password. |
|
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
|
209 | * |
|
42613
780d7efe37c2
Remove the micro version from since tags for libpurple part 2
Gary Kramlich <grim@reaperworld.com>
parents:
42594
diff
changeset
|
210 | * Since: 3.0 |
| 10658 | 211 | */ |
|
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
|
212 | PURPLE_AVAILABLE_IN_3_0 |
|
39972
347a24c5363d
register PurpleAccountOption as a boxed type
Gary Kramlich <grim@reaperworld.com>
parents:
39970
diff
changeset
|
213 | void purple_account_option_string_set_masked(PurpleAccountOption *option, gboolean masked); |
|
33267
c3ee96290bfd
Account Options: hinted string options; fix perl plugins compilation
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
32787
diff
changeset
|
214 | |
|
c3ee96290bfd
Account Options: hinted string options; fix perl plugins compilation
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
32787
diff
changeset
|
215 | /** |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
216 | * purple_account_option_string_set_hints: |
|
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
217 | * @option: The account option. |
|
38716
b9bed228745a
Add many libpurple element-type annotations.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
37144
diff
changeset
|
218 | * @hints: (element-type utf8) (transfer full): The list of hints, stored as strings. |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
219 | * |
|
33267
c3ee96290bfd
Account Options: hinted string options; fix perl plugins compilation
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
32787
diff
changeset
|
220 | * Sets the hint list for an account option. |
|
c3ee96290bfd
Account Options: hinted string options; fix perl plugins compilation
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
32787
diff
changeset
|
221 | * |
|
c3ee96290bfd
Account Options: hinted string options; fix perl plugins compilation
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
32787
diff
changeset
|
222 | * The list passed will be owned by the account option, and the |
|
c3ee96290bfd
Account Options: hinted string options; fix perl plugins compilation
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
32787
diff
changeset
|
223 | * strings inside will be freed automatically. |
|
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
|
224 | * |
|
42613
780d7efe37c2
Remove the micro version from since tags for libpurple part 2
Gary Kramlich <grim@reaperworld.com>
parents:
42594
diff
changeset
|
225 | * Since: 3.0 |
|
33267
c3ee96290bfd
Account Options: hinted string options; fix perl plugins compilation
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
32787
diff
changeset
|
226 | */ |
|
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
|
227 | PURPLE_AVAILABLE_IN_3_0 |
|
39972
347a24c5363d
register PurpleAccountOption as a boxed type
Gary Kramlich <grim@reaperworld.com>
parents:
39970
diff
changeset
|
228 | void purple_account_option_string_set_hints(PurpleAccountOption *option, GSList *hints); |
| 10658 | 229 | |
| 230 | /** | |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
231 | * purple_account_option_set_list: |
|
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
232 | * @option: The account option. |
|
38716
b9bed228745a
Add many libpurple element-type annotations.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
37144
diff
changeset
|
233 | * @values: (element-type PurpleKeyValuePair) (transfer full): The default list |
|
b9bed228745a
Add many libpurple element-type annotations.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
37144
diff
changeset
|
234 | * value. |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
235 | * |
|
8570
bce05cb55dbc
[gaim-migrate @ 9318]
Christian Hammond <chipx86@chipx86.com>
parents:
8046
diff
changeset
|
236 | * Sets the list values for an account option. |
|
bce05cb55dbc
[gaim-migrate @ 9318]
Christian Hammond <chipx86@chipx86.com>
parents:
8046
diff
changeset
|
237 | * |
|
bce05cb55dbc
[gaim-migrate @ 9318]
Christian Hammond <chipx86@chipx86.com>
parents:
8046
diff
changeset
|
238 | * The list passed will be owned by the account option, and the |
|
bce05cb55dbc
[gaim-migrate @ 9318]
Christian Hammond <chipx86@chipx86.com>
parents:
8046
diff
changeset
|
239 | * strings inside will be freed automatically. |
|
bce05cb55dbc
[gaim-migrate @ 9318]
Christian Hammond <chipx86@chipx86.com>
parents:
8046
diff
changeset
|
240 | * |
|
bce05cb55dbc
[gaim-migrate @ 9318]
Christian Hammond <chipx86@chipx86.com>
parents:
8046
diff
changeset
|
241 | * The list is in key, value pairs. The key is the ID stored and used |
|
bce05cb55dbc
[gaim-migrate @ 9318]
Christian Hammond <chipx86@chipx86.com>
parents:
8046
diff
changeset
|
242 | * internally, and the value is the label displayed. |
|
42403
7b4103d22d55
Make sure all AccountOption API's are versioned
Gary Kramlich <grim@reaperworld.com>
parents:
42400
diff
changeset
|
243 | * |
|
42613
780d7efe37c2
Remove the micro version from since tags for libpurple part 2
Gary Kramlich <grim@reaperworld.com>
parents:
42594
diff
changeset
|
244 | * Since: 2.0 |
|
8570
bce05cb55dbc
[gaim-migrate @ 9318]
Christian Hammond <chipx86@chipx86.com>
parents:
8046
diff
changeset
|
245 | */ |
|
42403
7b4103d22d55
Make sure all AccountOption API's are versioned
Gary Kramlich <grim@reaperworld.com>
parents:
42400
diff
changeset
|
246 | PURPLE_AVAILABLE_IN_ALL |
| 15884 | 247 | void purple_account_option_set_list(PurpleAccountOption *option, GList *values); |
|
8570
bce05cb55dbc
[gaim-migrate @ 9318]
Christian Hammond <chipx86@chipx86.com>
parents:
8046
diff
changeset
|
248 | |
|
bce05cb55dbc
[gaim-migrate @ 9318]
Christian Hammond <chipx86@chipx86.com>
parents:
8046
diff
changeset
|
249 | /** |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
250 | * purple_account_option_add_list_item: |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
33267
diff
changeset
|
251 | * @option: The account option. |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
33267
diff
changeset
|
252 | * @key: The key. |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
33267
diff
changeset
|
253 | * @value: The value. |
|
8570
bce05cb55dbc
[gaim-migrate @ 9318]
Christian Hammond <chipx86@chipx86.com>
parents:
8046
diff
changeset
|
254 | * |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
255 | * Adds an item to a list account option. |
|
42403
7b4103d22d55
Make sure all AccountOption API's are versioned
Gary Kramlich <grim@reaperworld.com>
parents:
42400
diff
changeset
|
256 | * |
|
42613
780d7efe37c2
Remove the micro version from since tags for libpurple part 2
Gary Kramlich <grim@reaperworld.com>
parents:
42594
diff
changeset
|
257 | * Since: 2.0 |
|
8570
bce05cb55dbc
[gaim-migrate @ 9318]
Christian Hammond <chipx86@chipx86.com>
parents:
8046
diff
changeset
|
258 | */ |
|
42403
7b4103d22d55
Make sure all AccountOption API's are versioned
Gary Kramlich <grim@reaperworld.com>
parents:
42400
diff
changeset
|
259 | PURPLE_AVAILABLE_IN_ALL |
|
39972
347a24c5363d
register PurpleAccountOption as a boxed type
Gary Kramlich <grim@reaperworld.com>
parents:
39970
diff
changeset
|
260 | void purple_account_option_add_list_item(PurpleAccountOption *option, const gchar *key, const gchar *value); |
|
8570
bce05cb55dbc
[gaim-migrate @ 9318]
Christian Hammond <chipx86@chipx86.com>
parents:
8046
diff
changeset
|
261 | |
|
bce05cb55dbc
[gaim-migrate @ 9318]
Christian Hammond <chipx86@chipx86.com>
parents:
8046
diff
changeset
|
262 | /** |
|
35477
5036e4cd8a46
Update doc labels for renamed functions
Ankit Vani <a@nevitus.org>
parents:
35475
diff
changeset
|
263 | * purple_account_option_get_pref_type: |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
264 | * @option: The account option. |
| 5639 | 265 | * |
| 266 | * Returns the specified account option's type. | |
| 267 | * | |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
33267
diff
changeset
|
268 | * Returns: The account option's type. |
|
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
|
269 | * |
|
42613
780d7efe37c2
Remove the micro version from since tags for libpurple part 2
Gary Kramlich <grim@reaperworld.com>
parents:
42594
diff
changeset
|
270 | * Since: 3.0 |
| 5639 | 271 | */ |
|
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
|
272 | 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:
33267
diff
changeset
|
273 | PurplePrefType purple_account_option_get_pref_type(const PurpleAccountOption *option); |
| 5639 | 274 | |
| 275 | /** | |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
276 | * purple_account_option_get_text: |
|
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
277 | * @option: The account option. |
| 5639 | 278 | * |
| 279 | * Returns the text for an account option. | |
| 280 | * | |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
33267
diff
changeset
|
281 | * Returns: The account option's text. |
|
42403
7b4103d22d55
Make sure all AccountOption API's are versioned
Gary Kramlich <grim@reaperworld.com>
parents:
42400
diff
changeset
|
282 | * |
|
42613
780d7efe37c2
Remove the micro version from since tags for libpurple part 2
Gary Kramlich <grim@reaperworld.com>
parents:
42594
diff
changeset
|
283 | * Since: 2.0 |
| 5639 | 284 | */ |
|
42403
7b4103d22d55
Make sure all AccountOption API's are versioned
Gary Kramlich <grim@reaperworld.com>
parents:
42400
diff
changeset
|
285 | PURPLE_AVAILABLE_IN_ALL |
|
39972
347a24c5363d
register PurpleAccountOption as a boxed type
Gary Kramlich <grim@reaperworld.com>
parents:
39970
diff
changeset
|
286 | const gchar *purple_account_option_get_text(const PurpleAccountOption *option); |
| 5639 | 287 | |
| 288 | /** | |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
289 | * purple_account_option_get_setting: |
|
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
290 | * @option: The account option. |
|
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
291 | * |
|
41753
316c1207f787
Fix various small documentation errors
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
41207
diff
changeset
|
292 | * Returns the name of an account option. This corresponds to the %pref_name |
|
316c1207f787
Fix various small documentation errors
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
41207
diff
changeset
|
293 | * parameter supplied to [ctor@Purple.AccountOption.new] or one of the |
|
22256
267223b42a73
Improve some PurpleAcountOption documentation, and sanify some whitespace.
Will Thompson <resiak@pidgin.im>
parents:
20147
diff
changeset
|
294 | * type-specific constructors. |
|
5660
90787278c739
[gaim-migrate @ 6074]
Christian Hammond <chipx86@chipx86.com>
parents:
5654
diff
changeset
|
295 | * |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
33267
diff
changeset
|
296 | * Returns: The option's name. |
|
42403
7b4103d22d55
Make sure all AccountOption API's are versioned
Gary Kramlich <grim@reaperworld.com>
parents:
42400
diff
changeset
|
297 | * |
|
42613
780d7efe37c2
Remove the micro version from since tags for libpurple part 2
Gary Kramlich <grim@reaperworld.com>
parents:
42594
diff
changeset
|
298 | * Since: 2.0 |
|
5660
90787278c739
[gaim-migrate @ 6074]
Christian Hammond <chipx86@chipx86.com>
parents:
5654
diff
changeset
|
299 | */ |
|
42403
7b4103d22d55
Make sure all AccountOption API's are versioned
Gary Kramlich <grim@reaperworld.com>
parents:
42400
diff
changeset
|
300 | PURPLE_AVAILABLE_IN_ALL |
|
39972
347a24c5363d
register PurpleAccountOption as a boxed type
Gary Kramlich <grim@reaperworld.com>
parents:
39970
diff
changeset
|
301 | const gchar *purple_account_option_get_setting(const PurpleAccountOption *option); |
|
5660
90787278c739
[gaim-migrate @ 6074]
Christian Hammond <chipx86@chipx86.com>
parents:
5654
diff
changeset
|
302 | |
|
90787278c739
[gaim-migrate @ 6074]
Christian Hammond <chipx86@chipx86.com>
parents:
5654
diff
changeset
|
303 | /** |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
304 | * purple_account_option_get_default_bool: |
|
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
305 | * @option: The account option. |
| 5639 | 306 | * |
| 307 | * Returns the default boolean value for an account option. | |
| 308 | * | |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
33267
diff
changeset
|
309 | * Returns: The default boolean value. |
|
42403
7b4103d22d55
Make sure all AccountOption API's are versioned
Gary Kramlich <grim@reaperworld.com>
parents:
42400
diff
changeset
|
310 | * |
|
42613
780d7efe37c2
Remove the micro version from since tags for libpurple part 2
Gary Kramlich <grim@reaperworld.com>
parents:
42594
diff
changeset
|
311 | * Since: 2.0 |
| 5639 | 312 | */ |
|
42403
7b4103d22d55
Make sure all AccountOption API's are versioned
Gary Kramlich <grim@reaperworld.com>
parents:
42400
diff
changeset
|
313 | PURPLE_AVAILABLE_IN_ALL |
| 15884 | 314 | gboolean purple_account_option_get_default_bool(const PurpleAccountOption *option); |
| 5639 | 315 | |
| 316 | /** | |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
317 | * purple_account_option_get_default_int: |
|
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
318 | * @option: The account option. |
| 5639 | 319 | * |
| 320 | * Returns the default integer value for an account option. | |
| 321 | * | |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
33267
diff
changeset
|
322 | * Returns: The default integer value. |
|
42403
7b4103d22d55
Make sure all AccountOption API's are versioned
Gary Kramlich <grim@reaperworld.com>
parents:
42400
diff
changeset
|
323 | * |
|
42613
780d7efe37c2
Remove the micro version from since tags for libpurple part 2
Gary Kramlich <grim@reaperworld.com>
parents:
42594
diff
changeset
|
324 | * Since: 2.0 |
| 5639 | 325 | */ |
|
42403
7b4103d22d55
Make sure all AccountOption API's are versioned
Gary Kramlich <grim@reaperworld.com>
parents:
42400
diff
changeset
|
326 | PURPLE_AVAILABLE_IN_ALL |
|
39972
347a24c5363d
register PurpleAccountOption as a boxed type
Gary Kramlich <grim@reaperworld.com>
parents:
39970
diff
changeset
|
327 | gint purple_account_option_get_default_int(const PurpleAccountOption *option); |
| 5639 | 328 | |
| 329 | /** | |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
330 | * purple_account_option_get_default_string: |
|
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
331 | * @option: The account option. |
| 5639 | 332 | * |
| 333 | * Returns the default string value for an account option. | |
| 334 | * | |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
33267
diff
changeset
|
335 | * Returns: The default string value. |
|
42403
7b4103d22d55
Make sure all AccountOption API's are versioned
Gary Kramlich <grim@reaperworld.com>
parents:
42400
diff
changeset
|
336 | * |
|
42613
780d7efe37c2
Remove the micro version from since tags for libpurple part 2
Gary Kramlich <grim@reaperworld.com>
parents:
42594
diff
changeset
|
337 | * Since: 2.0 |
| 5639 | 338 | */ |
|
42403
7b4103d22d55
Make sure all AccountOption API's are versioned
Gary Kramlich <grim@reaperworld.com>
parents:
42400
diff
changeset
|
339 | PURPLE_AVAILABLE_IN_ALL |
|
39972
347a24c5363d
register PurpleAccountOption as a boxed type
Gary Kramlich <grim@reaperworld.com>
parents:
39970
diff
changeset
|
340 | const gchar *purple_account_option_get_default_string(const PurpleAccountOption *option); |
|
8570
bce05cb55dbc
[gaim-migrate @ 9318]
Christian Hammond <chipx86@chipx86.com>
parents:
8046
diff
changeset
|
341 | |
|
bce05cb55dbc
[gaim-migrate @ 9318]
Christian Hammond <chipx86@chipx86.com>
parents:
8046
diff
changeset
|
342 | /** |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
343 | * purple_account_option_get_default_list_value: |
|
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
344 | * @option: The account option. |
|
12172
717fa0ec02c4
[gaim-migrate @ 14474]
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
12106
diff
changeset
|
345 | * |
|
717fa0ec02c4
[gaim-migrate @ 14474]
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
12106
diff
changeset
|
346 | * Returns the default string value for a list account option. |
|
717fa0ec02c4
[gaim-migrate @ 14474]
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
12106
diff
changeset
|
347 | * |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
33267
diff
changeset
|
348 | * Returns: The default list string value. |
|
42403
7b4103d22d55
Make sure all AccountOption API's are versioned
Gary Kramlich <grim@reaperworld.com>
parents:
42400
diff
changeset
|
349 | * |
|
42613
780d7efe37c2
Remove the micro version from since tags for libpurple part 2
Gary Kramlich <grim@reaperworld.com>
parents:
42594
diff
changeset
|
350 | * Since: 2.0 |
|
12172
717fa0ec02c4
[gaim-migrate @ 14474]
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
12106
diff
changeset
|
351 | */ |
|
42403
7b4103d22d55
Make sure all AccountOption API's are versioned
Gary Kramlich <grim@reaperworld.com>
parents:
42400
diff
changeset
|
352 | PURPLE_AVAILABLE_IN_ALL |
|
39972
347a24c5363d
register PurpleAccountOption as a boxed type
Gary Kramlich <grim@reaperworld.com>
parents:
39970
diff
changeset
|
353 | const gchar *purple_account_option_get_default_list_value(const PurpleAccountOption *option); |
|
12172
717fa0ec02c4
[gaim-migrate @ 14474]
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
12106
diff
changeset
|
354 | |
|
717fa0ec02c4
[gaim-migrate @ 14474]
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
12106
diff
changeset
|
355 | /** |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
356 | * purple_account_option_string_get_masked: |
|
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
357 | * @option: The account option. |
|
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
358 | * |
|
20040
57572bb85e07
Explain what PurpleAccountOption.masked and its setters and getters
Will Thompson <resiak@pidgin.im>
parents:
19859
diff
changeset
|
359 | * Returns whether an option's value should be masked from view, like a |
|
57572bb85e07
Explain what PurpleAccountOption.masked and its setters and getters
Will Thompson <resiak@pidgin.im>
parents:
19859
diff
changeset
|
360 | * password. If so, the UI might display each character of the option |
|
57572bb85e07
Explain what PurpleAccountOption.masked and its setters and getters
Will Thompson <resiak@pidgin.im>
parents:
19859
diff
changeset
|
361 | * as a '*' (for example). |
| 10658 | 362 | * |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
33267
diff
changeset
|
363 | * Returns: %TRUE if the option's value should be obscured. |
|
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
|
364 | * |
|
42613
780d7efe37c2
Remove the micro version from since tags for libpurple part 2
Gary Kramlich <grim@reaperworld.com>
parents:
42594
diff
changeset
|
365 | * Since: 3.0 |
| 10658 | 366 | */ |
|
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
|
367 | PURPLE_AVAILABLE_IN_3_0 |
|
39972
347a24c5363d
register PurpleAccountOption as a boxed type
Gary Kramlich <grim@reaperworld.com>
parents:
39970
diff
changeset
|
368 | gboolean purple_account_option_string_get_masked(const PurpleAccountOption *option); |
|
33267
c3ee96290bfd
Account Options: hinted string options; fix perl plugins compilation
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
32787
diff
changeset
|
369 | |
|
c3ee96290bfd
Account Options: hinted string options; fix perl plugins compilation
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
32787
diff
changeset
|
370 | /** |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
371 | * purple_account_option_string_get_hints: |
|
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
372 | * @option: The account option. |
|
33267
c3ee96290bfd
Account Options: hinted string options; fix perl plugins compilation
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
32787
diff
changeset
|
373 | * |
|
c3ee96290bfd
Account Options: hinted string options; fix perl plugins compilation
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
32787
diff
changeset
|
374 | * Returns the list of hints for an account option. |
|
c3ee96290bfd
Account Options: hinted string options; fix perl plugins compilation
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
32787
diff
changeset
|
375 | * |
|
38716
b9bed228745a
Add many libpurple element-type annotations.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
37144
diff
changeset
|
376 | * Returns: (element-type utf8) (transfer none): A list of hints. |
|
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
|
377 | * |
|
42613
780d7efe37c2
Remove the micro version from since tags for libpurple part 2
Gary Kramlich <grim@reaperworld.com>
parents:
42594
diff
changeset
|
378 | * Since: 3.0 |
|
33267
c3ee96290bfd
Account Options: hinted string options; fix perl plugins compilation
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents:
32787
diff
changeset
|
379 | */ |
|
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
|
380 | PURPLE_AVAILABLE_IN_3_0 |
|
39972
347a24c5363d
register PurpleAccountOption as a boxed type
Gary Kramlich <grim@reaperworld.com>
parents:
39970
diff
changeset
|
381 | const GSList *purple_account_option_string_get_hints(const PurpleAccountOption *option); |
| 10658 | 382 | |
| 383 | /** | |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
384 | * purple_account_option_get_list: |
|
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
385 | * @option: The account option. |
|
8570
bce05cb55dbc
[gaim-migrate @ 9318]
Christian Hammond <chipx86@chipx86.com>
parents:
8046
diff
changeset
|
386 | * |
|
bce05cb55dbc
[gaim-migrate @ 9318]
Christian Hammond <chipx86@chipx86.com>
parents:
8046
diff
changeset
|
387 | * Returns the list values for an account option. |
|
bce05cb55dbc
[gaim-migrate @ 9318]
Christian Hammond <chipx86@chipx86.com>
parents:
8046
diff
changeset
|
388 | * |
|
38716
b9bed228745a
Add many libpurple element-type annotations.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
37144
diff
changeset
|
389 | * Returns: (element-type PurpleKeyValuePair) (transfer none): A list of |
|
b9bed228745a
Add many libpurple element-type annotations.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
37144
diff
changeset
|
390 | * #PurpleKeyValuePair, mapping the human-readable description of the |
|
b9bed228745a
Add many libpurple element-type annotations.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
37144
diff
changeset
|
391 | * value to the <type>(const char *)</type> that should be passed to |
|
b9bed228745a
Add many libpurple element-type annotations.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
37144
diff
changeset
|
392 | * purple_account_set_string() to set the option. |
|
42403
7b4103d22d55
Make sure all AccountOption API's are versioned
Gary Kramlich <grim@reaperworld.com>
parents:
42400
diff
changeset
|
393 | * |
|
42613
780d7efe37c2
Remove the micro version from since tags for libpurple part 2
Gary Kramlich <grim@reaperworld.com>
parents:
42594
diff
changeset
|
394 | * Since: 2.0 |
|
8570
bce05cb55dbc
[gaim-migrate @ 9318]
Christian Hammond <chipx86@chipx86.com>
parents:
8046
diff
changeset
|
395 | */ |
|
42403
7b4103d22d55
Make sure all AccountOption API's are versioned
Gary Kramlich <grim@reaperworld.com>
parents:
42400
diff
changeset
|
396 | PURPLE_AVAILABLE_IN_ALL |
|
18190
bcf28ef7e8ff
Re-fix the DBus list handling code by killing const GList* / const GSList*
Richard Laager <rlaager@pidgin.im>
parents:
18099
diff
changeset
|
397 | GList *purple_account_option_get_list(const PurpleAccountOption *option); |
| 5639 | 398 | |
|
32787
7072f190d6ad
Use G_BEGIN/END_DECLS in public libpurple files. This was
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32438
diff
changeset
|
399 | G_END_DECLS |
|
5944
f19df037ac58
[gaim-migrate @ 6385]
Christian Hammond <chipx86@chipx86.com>
parents:
5660
diff
changeset
|
400 | |
|
39972
347a24c5363d
register PurpleAccountOption as a boxed type
Gary Kramlich <grim@reaperworld.com>
parents:
39970
diff
changeset
|
401 | #endif /* PURPLE_ACCOUNT_OPTION_H */ |