Thu, 22 Feb 2024 06:03:16 -0600
Add a favorite property to PurpleContactInfo
This will be used in the future for toggling whether or not contacts are
favorited or starred.
Testing Done:
Ran the unit tests under valgrind.
Reviewed at https://reviews.imfreedom.org/r/2965/
|
40584
6f198a69ac48
A bunch of documentation cleanups
Gary Kramlich <grim@reaperworld.com>
parents:
40474
diff
changeset
|
1 | /* |
|
6f198a69ac48
A bunch of documentation cleanups
Gary Kramlich <grim@reaperworld.com>
parents:
40474
diff
changeset
|
2 | * Purple - Internet Messaging Library |
|
6f198a69ac48
A bunch of documentation cleanups
Gary Kramlich <grim@reaperworld.com>
parents:
40474
diff
changeset
|
3 | * Copyright (C) Pidgin Developers <devel@pidgin.im> |
| 10418 | 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:
42423
diff
changeset
|
6 | * to list here. Please refer to the COPYRIGHT file distributed with this |
| 10418 | 7 | * source distribution. |
| 8 | * | |
|
42594
eddde70cedd8
Create a test for verifying license headers and correct the ones that were wrong
Gary Kramlich <grim@reaperworld.com>
parents:
42423
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:
42423
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:
42423
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:
42423
diff
changeset
|
12 | * any later version. |
| 10418 | 13 | * |
|
42594
eddde70cedd8
Create a test for verifying license headers and correct the ones that were wrong
Gary Kramlich <grim@reaperworld.com>
parents:
42423
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:
42423
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:
42423
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:
42423
diff
changeset
|
17 | * more details. |
| 10418 | 18 | * |
|
42594
eddde70cedd8
Create a test for verifying license headers and correct the ones that were wrong
Gary Kramlich <grim@reaperworld.com>
parents:
42423
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:
42423
diff
changeset
|
20 | * this library; if not, see <https://www.gnu.org/licenses/>. |
| 10418 | 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:
40188
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:
40188
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:
40188
diff
changeset
|
25 | #endif |
|
1341be8e3402
Make it so only libpurple can directly include libpurple header files.
Gary Kramlich <grim@reaperworld.com>
parents:
40188
diff
changeset
|
26 | |
|
39659
e4dfb99b0cef
Fix libpurple header guards using reserved names.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
38716
diff
changeset
|
27 | #ifndef PURPLE_SAVEDSTATUSES_H |
|
e4dfb99b0cef
Fix libpurple header guards using reserved names.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
38716
diff
changeset
|
28 | #define PURPLE_SAVEDSTATUSES_H |
|
40584
6f198a69ac48
A bunch of documentation cleanups
Gary Kramlich <grim@reaperworld.com>
parents:
40474
diff
changeset
|
29 | |
| 35475 | 30 | #define PURPLE_TYPE_SAVEDSTATUS (purple_savedstatus_get_type()) |
|
35402
6eae3b385153
Convert docs from doxygen to gtk-doc format for purple-socket to smiley
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
31 | |
| 10418 | 32 | /** |
|
35402
6eae3b385153
Convert docs from doxygen to gtk-doc format for purple-socket to smiley
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
33 | * PurpleSavedStatus: |
|
6eae3b385153
Convert docs from doxygen to gtk-doc format for purple-socket to smiley
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
34 | * |
| 15884 | 35 | * Saved statuses don't really interact much with the rest of Purple. It |
| 10418 | 36 | * could really be a plugin. It's just a list of away states. When |
| 15884 | 37 | * a user chooses one of the saved states, their Purple accounts are set |
| 10418 | 38 | * to the settings of that state. |
|
12125
c1e55f812ded
[gaim-migrate @ 14425]
Mark Doliner <markdoliner@pidgin.im>
parents:
12080
diff
changeset
|
39 | * |
|
c1e55f812ded
[gaim-migrate @ 14425]
Mark Doliner <markdoliner@pidgin.im>
parents:
12080
diff
changeset
|
40 | * In the savedstatus API, there is the concept of a 'transient' |
|
c1e55f812ded
[gaim-migrate @ 14425]
Mark Doliner <markdoliner@pidgin.im>
parents:
12080
diff
changeset
|
41 | * saved status. A transient saved status is one that is not |
| 15884 | 42 | * permanent. Purple will removed it automatically if it isn't |
|
12125
c1e55f812ded
[gaim-migrate @ 14425]
Mark Doliner <markdoliner@pidgin.im>
parents:
12080
diff
changeset
|
43 | * used for a period of time. Transient saved statuses don't |
|
c1e55f812ded
[gaim-migrate @ 14425]
Mark Doliner <markdoliner@pidgin.im>
parents:
12080
diff
changeset
|
44 | * have titles and they don't show up in the list of saved |
|
c1e55f812ded
[gaim-migrate @ 14425]
Mark Doliner <markdoliner@pidgin.im>
parents:
12080
diff
changeset
|
45 | * statuses. In fact, if a saved status does not have a title |
|
c1e55f812ded
[gaim-migrate @ 14425]
Mark Doliner <markdoliner@pidgin.im>
parents:
12080
diff
changeset
|
46 | * then it is transient. If it does have a title, then it is not |
|
c1e55f812ded
[gaim-migrate @ 14425]
Mark Doliner <markdoliner@pidgin.im>
parents:
12080
diff
changeset
|
47 | * transient. |
|
c1e55f812ded
[gaim-migrate @ 14425]
Mark Doliner <markdoliner@pidgin.im>
parents:
12080
diff
changeset
|
48 | * |
|
c1e55f812ded
[gaim-migrate @ 14425]
Mark Doliner <markdoliner@pidgin.im>
parents:
12080
diff
changeset
|
49 | * What good is a transient status, you ask? They can be used to |
|
c1e55f812ded
[gaim-migrate @ 14425]
Mark Doliner <markdoliner@pidgin.im>
parents:
12080
diff
changeset
|
50 | * keep track of the user's 5 most recently used statuses, for |
|
c1e55f812ded
[gaim-migrate @ 14425]
Mark Doliner <markdoliner@pidgin.im>
parents:
12080
diff
changeset
|
51 | * example. Basically if they just set a message on the fly, |
|
c1e55f812ded
[gaim-migrate @ 14425]
Mark Doliner <markdoliner@pidgin.im>
parents:
12080
diff
changeset
|
52 | * we'll cache it for them in case they want to use it again. If |
|
c1e55f812ded
[gaim-migrate @ 14425]
Mark Doliner <markdoliner@pidgin.im>
parents:
12080
diff
changeset
|
53 | * they don't use it again, we'll just delete it. |
|
42423
5427e9f59cb7
Make sure all of the savedstatus API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents:
42400
diff
changeset
|
54 | * |
|
5427e9f59cb7
Make sure all of the savedstatus API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents:
42400
diff
changeset
|
55 | * Since: 2.0.0 |
| 10418 | 56 | */ |
|
11651
02f366130354
[gaim-migrate @ 13935]
Mark Doliner <markdoliner@pidgin.im>
parents:
10447
diff
changeset
|
57 | /* |
| 15884 | 58 | * TODO: Hmm. We should probably just be saving PurplePresences. That's |
|
11651
02f366130354
[gaim-migrate @ 13935]
Mark Doliner <markdoliner@pidgin.im>
parents:
10447
diff
changeset
|
59 | * something we should look into once the status box gets fleshed |
|
02f366130354
[gaim-migrate @ 13935]
Mark Doliner <markdoliner@pidgin.im>
parents:
10447
diff
changeset
|
60 | * out more. |
|
02f366130354
[gaim-migrate @ 13935]
Mark Doliner <markdoliner@pidgin.im>
parents:
10447
diff
changeset
|
61 | */ |
|
35402
6eae3b385153
Convert docs from doxygen to gtk-doc format for purple-socket to smiley
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
62 | typedef struct _PurpleSavedStatus PurpleSavedStatus; |
|
11651
02f366130354
[gaim-migrate @ 13935]
Mark Doliner <markdoliner@pidgin.im>
parents:
10447
diff
changeset
|
63 | |
| 15884 | 64 | typedef struct _PurpleSavedStatusSub PurpleSavedStatusSub; |
| 10418 | 65 | |
|
10447
887380ec66f5
[gaim-migrate @ 11712]
Mark Doliner <markdoliner@pidgin.im>
parents:
10420
diff
changeset
|
66 | #include "status.h" |
|
42391
090b03385984
Add Since and symbol visibility to new-in-3.0 things
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
41199
diff
changeset
|
67 | #include "purpleversion.h" |
|
10447
887380ec66f5
[gaim-migrate @ 11712]
Mark Doliner <markdoliner@pidgin.im>
parents:
10420
diff
changeset
|
68 | |
|
32787
7072f190d6ad
Use G_BEGIN/END_DECLS in public libpurple files. This was
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
21039
diff
changeset
|
69 | G_BEGIN_DECLS |
|
14987
1f3e20245da1
[gaim-migrate @ 17697]
Daniel Atallah <datallah@pidgin.im>
parents:
14254
diff
changeset
|
70 | |
| 10418 | 71 | /**************************************************************************/ |
| 35472 | 72 | /* Saved status subsystem */ |
| 10418 | 73 | /**************************************************************************/ |
| 74 | ||
| 75 | /** | |
| 35475 | 76 | * purple_savedstatus_get_type: |
|
35402
6eae3b385153
Convert docs from doxygen to gtk-doc format for purple-socket to smiley
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
77 | * |
|
40584
6f198a69ac48
A bunch of documentation cleanups
Gary Kramlich <grim@reaperworld.com>
parents:
40474
diff
changeset
|
78 | * The standard _get_type function for #PurpleSavedStatus. |
|
6f198a69ac48
A bunch of documentation cleanups
Gary Kramlich <grim@reaperworld.com>
parents:
40474
diff
changeset
|
79 | * |
|
35466
e259e75f1c6f
Fix some gtk-doc warnings till xmlnode.h
Ankit Vani <a@nevitus.org>
parents:
35442
diff
changeset
|
80 | * Returns: The #GType for the #PurpleSavedStatus boxed structure. |
|
e259e75f1c6f
Fix some gtk-doc warnings till xmlnode.h
Ankit Vani <a@nevitus.org>
parents:
35442
diff
changeset
|
81 | */ |
|
e259e75f1c6f
Fix some gtk-doc warnings till xmlnode.h
Ankit Vani <a@nevitus.org>
parents:
35442
diff
changeset
|
82 | /* TODO Boxing of PurpleSavedStatus is a temporary solution to having a GType |
|
34788
38d1b844ddb6
Updated GBoxed functions. Boxing is intended to be temporary for buddy list, saved status, plugins, status.
Ankit Vani <a@nevitus.org>
parents:
34785
diff
changeset
|
83 | * for saved statuses. This should rather be a GObject instead of a GBoxed. |
|
34785
99bcdb44c75f
Added boxed types for PurpleStatus and PurpleSavedStatus
Ankit Vani <a@nevitus.org>
parents:
32787
diff
changeset
|
84 | */ |
|
42423
5427e9f59cb7
Make sure all of the savedstatus API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents:
42400
diff
changeset
|
85 | 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:
34798
diff
changeset
|
86 | GType purple_savedstatus_get_type(void); |
|
34785
99bcdb44c75f
Added boxed types for PurpleStatus and PurpleSavedStatus
Ankit Vani <a@nevitus.org>
parents:
32787
diff
changeset
|
87 | |
|
99bcdb44c75f
Added boxed types for PurpleStatus and PurpleSavedStatus
Ankit Vani <a@nevitus.org>
parents:
32787
diff
changeset
|
88 | /** |
|
35402
6eae3b385153
Convert docs from doxygen to gtk-doc format for purple-socket to smiley
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
89 | * purple_savedstatus_new: |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
34798
diff
changeset
|
90 | * @title: The title of the saved status. This must be |
|
12125
c1e55f812ded
[gaim-migrate @ 14425]
Mark Doliner <markdoliner@pidgin.im>
parents:
12080
diff
changeset
|
91 | * unique. Or, if you want to create a transient |
|
c1e55f812ded
[gaim-migrate @ 14425]
Mark Doliner <markdoliner@pidgin.im>
parents:
12080
diff
changeset
|
92 | * saved status, then pass in NULL. |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
34798
diff
changeset
|
93 | * @type: The type of saved status. |
| 10418 | 94 | * |
| 95 | * Create a new saved status. This will add the saved status to the | |
| 96 | * list of saved statuses and writes the revised list to status.xml. | |
| 97 | * | |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
34798
diff
changeset
|
98 | * Returns: The newly created saved status, or NULL if the title you |
|
10420
7277ae4229e9
[gaim-migrate @ 11671]
Mark Doliner <markdoliner@pidgin.im>
parents:
10419
diff
changeset
|
99 | * used was already taken. |
|
42423
5427e9f59cb7
Make sure all of the savedstatus API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents:
42400
diff
changeset
|
100 | * |
|
5427e9f59cb7
Make sure all of the savedstatus API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents:
42400
diff
changeset
|
101 | * Since: 2.0.0 |
| 10418 | 102 | */ |
|
42423
5427e9f59cb7
Make sure all of the savedstatus API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents:
42400
diff
changeset
|
103 | PURPLE_AVAILABLE_IN_ALL |
|
5427e9f59cb7
Make sure all of the savedstatus API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents:
42400
diff
changeset
|
104 | PurpleSavedStatus *purple_savedstatus_new(const char *title, PurpleStatusPrimitive type); |
| 10418 | 105 | |
| 106 | /** | |
|
35402
6eae3b385153
Convert docs from doxygen to gtk-doc format for purple-socket to smiley
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
107 | * purple_savedstatus_set_title: |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
34798
diff
changeset
|
108 | * @status: The saved status. |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
34798
diff
changeset
|
109 | * @title: The title of the saved status. |
|
12056
ddfcb4df0965
[gaim-migrate @ 14351]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
11724
diff
changeset
|
110 | * |
|
35402
6eae3b385153
Convert docs from doxygen to gtk-doc format for purple-socket to smiley
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
111 | * Set the title for the given saved status. |
|
42423
5427e9f59cb7
Make sure all of the savedstatus API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents:
42400
diff
changeset
|
112 | * |
|
5427e9f59cb7
Make sure all of the savedstatus API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents:
42400
diff
changeset
|
113 | * Since: 2.0.0 |
|
12056
ddfcb4df0965
[gaim-migrate @ 14351]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
11724
diff
changeset
|
114 | */ |
|
42423
5427e9f59cb7
Make sure all of the savedstatus API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents:
42400
diff
changeset
|
115 | PURPLE_AVAILABLE_IN_ALL |
|
5427e9f59cb7
Make sure all of the savedstatus API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents:
42400
diff
changeset
|
116 | void purple_savedstatus_set_title(PurpleSavedStatus *status, const char *title); |
|
12056
ddfcb4df0965
[gaim-migrate @ 14351]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
11724
diff
changeset
|
117 | |
|
ddfcb4df0965
[gaim-migrate @ 14351]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
11724
diff
changeset
|
118 | /** |
| 35475 | 119 | * purple_savedstatus_set_primitive_type: |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
34798
diff
changeset
|
120 | * @status: The saved status. |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
34798
diff
changeset
|
121 | * @type: The type of saved status. |
|
11651
02f366130354
[gaim-migrate @ 13935]
Mark Doliner <markdoliner@pidgin.im>
parents:
10447
diff
changeset
|
122 | * |
|
35402
6eae3b385153
Convert docs from doxygen to gtk-doc format for purple-socket to smiley
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
123 | * Set the type for the given saved status. |
|
42391
090b03385984
Add Since and symbol visibility to new-in-3.0 things
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
41199
diff
changeset
|
124 | * |
|
090b03385984
Add Since and symbol visibility to new-in-3.0 things
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
41199
diff
changeset
|
125 | * Since: 3.0.0 |
|
11651
02f366130354
[gaim-migrate @ 13935]
Mark Doliner <markdoliner@pidgin.im>
parents:
10447
diff
changeset
|
126 | */ |
|
42391
090b03385984
Add Since and symbol visibility to new-in-3.0 things
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
41199
diff
changeset
|
127 | PURPLE_AVAILABLE_IN_3_0 |
|
42423
5427e9f59cb7
Make sure all of the savedstatus API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents:
42400
diff
changeset
|
128 | void purple_savedstatus_set_primitive_type(PurpleSavedStatus *status, PurpleStatusPrimitive type); |
|
11651
02f366130354
[gaim-migrate @ 13935]
Mark Doliner <markdoliner@pidgin.im>
parents:
10447
diff
changeset
|
129 | |
|
02f366130354
[gaim-migrate @ 13935]
Mark Doliner <markdoliner@pidgin.im>
parents:
10447
diff
changeset
|
130 | /** |
|
35402
6eae3b385153
Convert docs from doxygen to gtk-doc format for purple-socket to smiley
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
131 | * purple_savedstatus_set_message: |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
34798
diff
changeset
|
132 | * @status: The saved status. |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
34798
diff
changeset
|
133 | * @message: The message, or NULL if you want to unset the |
|
10420
7277ae4229e9
[gaim-migrate @ 11671]
Mark Doliner <markdoliner@pidgin.im>
parents:
10419
diff
changeset
|
134 | * message for this status. |
|
7277ae4229e9
[gaim-migrate @ 11671]
Mark Doliner <markdoliner@pidgin.im>
parents:
10419
diff
changeset
|
135 | * |
|
35402
6eae3b385153
Convert docs from doxygen to gtk-doc format for purple-socket to smiley
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
136 | * Set the message for the given saved status. |
|
42423
5427e9f59cb7
Make sure all of the savedstatus API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents:
42400
diff
changeset
|
137 | * |
|
5427e9f59cb7
Make sure all of the savedstatus API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents:
42400
diff
changeset
|
138 | * Since: 2.0.0 |
|
10420
7277ae4229e9
[gaim-migrate @ 11671]
Mark Doliner <markdoliner@pidgin.im>
parents:
10419
diff
changeset
|
139 | */ |
|
42423
5427e9f59cb7
Make sure all of the savedstatus API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents:
42400
diff
changeset
|
140 | PURPLE_AVAILABLE_IN_ALL |
|
5427e9f59cb7
Make sure all of the savedstatus API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents:
42400
diff
changeset
|
141 | void purple_savedstatus_set_message(PurpleSavedStatus *status, const char *message); |
|
10420
7277ae4229e9
[gaim-migrate @ 11671]
Mark Doliner <markdoliner@pidgin.im>
parents:
10419
diff
changeset
|
142 | |
|
7277ae4229e9
[gaim-migrate @ 11671]
Mark Doliner <markdoliner@pidgin.im>
parents:
10419
diff
changeset
|
143 | /** |
|
35402
6eae3b385153
Convert docs from doxygen to gtk-doc format for purple-socket to smiley
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
144 | * purple_savedstatus_set_substatus: |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
34798
diff
changeset
|
145 | * @status: The saved status. |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
34798
diff
changeset
|
146 | * @account: The account. |
| 35475 | 147 | * @type: The status type for the account in the saved |
|
12056
ddfcb4df0965
[gaim-migrate @ 14351]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
11724
diff
changeset
|
148 | * status. |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
34798
diff
changeset
|
149 | * @message: The message for the account in the substatus. |
|
12056
ddfcb4df0965
[gaim-migrate @ 14351]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
11724
diff
changeset
|
150 | * |
|
35402
6eae3b385153
Convert docs from doxygen to gtk-doc format for purple-socket to smiley
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
151 | * Set a substatus for an account in a saved status. |
|
42423
5427e9f59cb7
Make sure all of the savedstatus API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents:
42400
diff
changeset
|
152 | * |
|
5427e9f59cb7
Make sure all of the savedstatus API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents:
42400
diff
changeset
|
153 | * Since: 2.0.0 |
|
12056
ddfcb4df0965
[gaim-migrate @ 14351]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
11724
diff
changeset
|
154 | */ |
|
42423
5427e9f59cb7
Make sure all of the savedstatus API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents:
42400
diff
changeset
|
155 | PURPLE_AVAILABLE_IN_ALL |
|
5427e9f59cb7
Make sure all of the savedstatus API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents:
42400
diff
changeset
|
156 | void purple_savedstatus_set_substatus(PurpleSavedStatus *status, const PurpleAccount *account, const PurpleStatusType *type, const char *message); |
|
12056
ddfcb4df0965
[gaim-migrate @ 14351]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
11724
diff
changeset
|
157 | |
|
ddfcb4df0965
[gaim-migrate @ 14351]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
11724
diff
changeset
|
158 | /** |
|
35402
6eae3b385153
Convert docs from doxygen to gtk-doc format for purple-socket to smiley
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
159 | * purple_savedstatus_unset_substatus: |
|
6eae3b385153
Convert docs from doxygen to gtk-doc format for purple-socket to smiley
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
160 | * @saved_status: The saved status. |
|
42423
5427e9f59cb7
Make sure all of the savedstatus API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents:
42400
diff
changeset
|
161 | * @account: The account. |
|
35402
6eae3b385153
Convert docs from doxygen to gtk-doc format for purple-socket to smiley
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
162 | * |
|
12056
ddfcb4df0965
[gaim-migrate @ 14351]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
11724
diff
changeset
|
163 | * Unset a substatus for an account in a saved status. This clears |
|
41083
590d533cf290
Fix several typos in libpurple
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
40584
diff
changeset
|
164 | * the previously set substatus for the PurpleSavedStatus. If this |
|
12056
ddfcb4df0965
[gaim-migrate @ 14351]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
11724
diff
changeset
|
165 | * saved status is activated then this account will use the default |
|
ddfcb4df0965
[gaim-migrate @ 14351]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
11724
diff
changeset
|
166 | * status type and message. |
|
42423
5427e9f59cb7
Make sure all of the savedstatus API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents:
42400
diff
changeset
|
167 | * |
|
5427e9f59cb7
Make sure all of the savedstatus API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents:
42400
diff
changeset
|
168 | * Since: 2.0.0 |
|
35402
6eae3b385153
Convert docs from doxygen to gtk-doc format for purple-socket to smiley
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
169 | */ |
|
42423
5427e9f59cb7
Make sure all of the savedstatus API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents:
42400
diff
changeset
|
170 | PURPLE_AVAILABLE_IN_ALL |
|
5427e9f59cb7
Make sure all of the savedstatus API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents:
42400
diff
changeset
|
171 | void purple_savedstatus_unset_substatus(PurpleSavedStatus *saved_status, const PurpleAccount *account); |
|
12056
ddfcb4df0965
[gaim-migrate @ 14351]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
11724
diff
changeset
|
172 | |
|
ddfcb4df0965
[gaim-migrate @ 14351]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
11724
diff
changeset
|
173 | /** |
|
35402
6eae3b385153
Convert docs from doxygen to gtk-doc format for purple-socket to smiley
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
174 | * purple_savedstatus_delete: |
|
6eae3b385153
Convert docs from doxygen to gtk-doc format for purple-socket to smiley
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
175 | * @title: The title of the saved status. |
|
6eae3b385153
Convert docs from doxygen to gtk-doc format for purple-socket to smiley
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
176 | * |
| 10418 | 177 | * Delete a saved status. This removes the saved status from the list |
| 178 | * of saved statuses, and writes the revised list to status.xml. | |
| 179 | * | |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
34798
diff
changeset
|
180 | * Returns: TRUE if the status was successfully deleted. FALSE if the |
|
42423
5427e9f59cb7
Make sure all of the savedstatus API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents:
42400
diff
changeset
|
181 | * status could not be deleted because no saved status exists |
|
5427e9f59cb7
Make sure all of the savedstatus API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents:
42400
diff
changeset
|
182 | * with the given title. |
|
5427e9f59cb7
Make sure all of the savedstatus API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents:
42400
diff
changeset
|
183 | * |
|
5427e9f59cb7
Make sure all of the savedstatus API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents:
42400
diff
changeset
|
184 | * Since: 2.0.0 |
| 10418 | 185 | */ |
|
42423
5427e9f59cb7
Make sure all of the savedstatus API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents:
42400
diff
changeset
|
186 | PURPLE_AVAILABLE_IN_ALL |
| 15884 | 187 | gboolean purple_savedstatus_delete(const char *title); |
| 10418 | 188 | |
| 189 | /** | |
|
35402
6eae3b385153
Convert docs from doxygen to gtk-doc format for purple-socket to smiley
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
190 | * purple_savedstatus_delete_by_status: |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
34798
diff
changeset
|
191 | * @saved_status: the status to delete, the pointer is invalid after |
|
18183
31e06ec80111
fixes #590 by allowing one to use the delete key to delete transient status,
Ka-Hing Cheung <khc@pidgin.im>
parents:
15997
diff
changeset
|
192 | * the call |
|
31e06ec80111
fixes #590 by allowing one to use the delete key to delete transient status,
Ka-Hing Cheung <khc@pidgin.im>
parents:
15997
diff
changeset
|
193 | * |
|
31e06ec80111
fixes #590 by allowing one to use the delete key to delete transient status,
Ka-Hing Cheung <khc@pidgin.im>
parents:
15997
diff
changeset
|
194 | * Delete a saved status. This removes the saved status from the list |
|
31e06ec80111
fixes #590 by allowing one to use the delete key to delete transient status,
Ka-Hing Cheung <khc@pidgin.im>
parents:
15997
diff
changeset
|
195 | * of saved statuses, and writes the revised list to status.xml. |
|
42423
5427e9f59cb7
Make sure all of the savedstatus API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents:
42400
diff
changeset
|
196 | * |
|
5427e9f59cb7
Make sure all of the savedstatus API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents:
42400
diff
changeset
|
197 | * Since: 2.1.0 |
|
18183
31e06ec80111
fixes #590 by allowing one to use the delete key to delete transient status,
Ka-Hing Cheung <khc@pidgin.im>
parents:
15997
diff
changeset
|
198 | */ |
|
42423
5427e9f59cb7
Make sure all of the savedstatus API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents:
42400
diff
changeset
|
199 | PURPLE_AVAILABLE_IN_2_1 |
|
18183
31e06ec80111
fixes #590 by allowing one to use the delete key to delete transient status,
Ka-Hing Cheung <khc@pidgin.im>
parents:
15997
diff
changeset
|
200 | void purple_savedstatus_delete_by_status(PurpleSavedStatus *saved_status); |
|
31e06ec80111
fixes #590 by allowing one to use the delete key to delete transient status,
Ka-Hing Cheung <khc@pidgin.im>
parents:
15997
diff
changeset
|
201 | |
|
31e06ec80111
fixes #590 by allowing one to use the delete key to delete transient status,
Ka-Hing Cheung <khc@pidgin.im>
parents:
15997
diff
changeset
|
202 | /** |
|
35402
6eae3b385153
Convert docs from doxygen to gtk-doc format for purple-socket to smiley
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
203 | * purple_savedstatuses_get_all: |
|
6eae3b385153
Convert docs from doxygen to gtk-doc format for purple-socket to smiley
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
204 | * |
| 10418 | 205 | * Returns all saved statuses. |
| 206 | * | |
|
42423
5427e9f59cb7
Make sure all of the savedstatus API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents:
42400
diff
changeset
|
207 | * Returns: (element-type PurpleSavedStatus) (transfer none): A list of saved |
|
5427e9f59cb7
Make sure all of the savedstatus API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents:
42400
diff
changeset
|
208 | * statuses. |
|
5427e9f59cb7
Make sure all of the savedstatus API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents:
42400
diff
changeset
|
209 | * |
|
5427e9f59cb7
Make sure all of the savedstatus API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents:
42400
diff
changeset
|
210 | * Since: 2.0.0 |
| 10418 | 211 | */ |
|
42423
5427e9f59cb7
Make sure all of the savedstatus API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents:
42400
diff
changeset
|
212 | 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:
15997
diff
changeset
|
213 | GList *purple_savedstatuses_get_all(void); |
| 10418 | 214 | |
| 215 | /** | |
|
35402
6eae3b385153
Convert docs from doxygen to gtk-doc format for purple-socket to smiley
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
216 | * purple_savedstatuses_get_popular: |
|
6eae3b385153
Convert docs from doxygen to gtk-doc format for purple-socket to smiley
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
217 | * @how_many: The maximum number of saved statuses |
|
6eae3b385153
Convert docs from doxygen to gtk-doc format for purple-socket to smiley
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
218 | * to return, or '0' to get all saved |
|
6eae3b385153
Convert docs from doxygen to gtk-doc format for purple-socket to smiley
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
219 | * statuses sorted by popularity. |
|
6eae3b385153
Convert docs from doxygen to gtk-doc format for purple-socket to smiley
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
220 | * |
|
12688
d2beaf15f294
[gaim-migrate @ 15031]
Mark Doliner <markdoliner@pidgin.im>
parents:
12323
diff
changeset
|
221 | * Returns the n most popular saved statuses. "Popularity" is |
|
d2beaf15f294
[gaim-migrate @ 15031]
Mark Doliner <markdoliner@pidgin.im>
parents:
12323
diff
changeset
|
222 | * determined by when the last time a saved_status was used and |
|
21039
ea939e518c47
deryni noticed that the documentation and code do not match for
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
20889
diff
changeset
|
223 | * how many times it has been used. Transient statuses without |
|
ea939e518c47
deryni noticed that the documentation and code do not match for
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
20889
diff
changeset
|
224 | * messages are not included in the list. |
|
12688
d2beaf15f294
[gaim-migrate @ 15031]
Mark Doliner <markdoliner@pidgin.im>
parents:
12323
diff
changeset
|
225 | * |
|
38716
b9bed228745a
Add many libpurple element-type annotations.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
37094
diff
changeset
|
226 | * Returns: (element-type PurpleSavedStatus) (transfer container): A list containing |
|
b9bed228745a
Add many libpurple element-type annotations.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
37094
diff
changeset
|
227 | * at most how_many saved statuses. |
|
42423
5427e9f59cb7
Make sure all of the savedstatus API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents:
42400
diff
changeset
|
228 | * |
|
5427e9f59cb7
Make sure all of the savedstatus API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents:
42400
diff
changeset
|
229 | * Since: 2.0.0 |
|
12688
d2beaf15f294
[gaim-migrate @ 15031]
Mark Doliner <markdoliner@pidgin.im>
parents:
12323
diff
changeset
|
230 | */ |
|
42423
5427e9f59cb7
Make sure all of the savedstatus API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents:
42400
diff
changeset
|
231 | PURPLE_AVAILABLE_IN_ALL |
| 15884 | 232 | GList *purple_savedstatuses_get_popular(unsigned int how_many); |
|
12688
d2beaf15f294
[gaim-migrate @ 15031]
Mark Doliner <markdoliner@pidgin.im>
parents:
12323
diff
changeset
|
233 | |
|
d2beaf15f294
[gaim-migrate @ 15031]
Mark Doliner <markdoliner@pidgin.im>
parents:
12323
diff
changeset
|
234 | /** |
|
35402
6eae3b385153
Convert docs from doxygen to gtk-doc format for purple-socket to smiley
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
235 | * purple_savedstatus_get_current: |
|
6eae3b385153
Convert docs from doxygen to gtk-doc format for purple-socket to smiley
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
236 | * |
|
14190
4d3fc3f58cc6
[gaim-migrate @ 16766]
Mark Doliner <markdoliner@pidgin.im>
parents:
13683
diff
changeset
|
237 | * Returns the currently selected saved status. If we are idle |
| 15884 | 238 | * then this returns purple_savedstatus_get_idleaway(). Otherwise |
| 239 | * it returns purple_savedstatus_get_default(). | |
|
12125
c1e55f812ded
[gaim-migrate @ 14425]
Mark Doliner <markdoliner@pidgin.im>
parents:
12080
diff
changeset
|
240 | * |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
34798
diff
changeset
|
241 | * Returns: A pointer to the in-use PurpleSavedStatus. |
|
13683
d523c24ed269
[gaim-migrate @ 16084]
Mark Doliner <markdoliner@pidgin.im>
parents:
13677
diff
changeset
|
242 | * This function never returns NULL. |
|
42423
5427e9f59cb7
Make sure all of the savedstatus API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents:
42400
diff
changeset
|
243 | * |
|
5427e9f59cb7
Make sure all of the savedstatus API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents:
42400
diff
changeset
|
244 | * Since: 2.0.0 |
|
12125
c1e55f812ded
[gaim-migrate @ 14425]
Mark Doliner <markdoliner@pidgin.im>
parents:
12080
diff
changeset
|
245 | */ |
|
42423
5427e9f59cb7
Make sure all of the savedstatus API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents:
42400
diff
changeset
|
246 | PURPLE_AVAILABLE_IN_ALL |
| 15884 | 247 | PurpleSavedStatus *purple_savedstatus_get_current(void); |
|
12125
c1e55f812ded
[gaim-migrate @ 14425]
Mark Doliner <markdoliner@pidgin.im>
parents:
12080
diff
changeset
|
248 | |
|
c1e55f812ded
[gaim-migrate @ 14425]
Mark Doliner <markdoliner@pidgin.im>
parents:
12080
diff
changeset
|
249 | /** |
|
35402
6eae3b385153
Convert docs from doxygen to gtk-doc format for purple-socket to smiley
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
250 | * purple_savedstatus_get_default: |
|
6eae3b385153
Convert docs from doxygen to gtk-doc format for purple-socket to smiley
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
251 | * |
|
14190
4d3fc3f58cc6
[gaim-migrate @ 16766]
Mark Doliner <markdoliner@pidgin.im>
parents:
13683
diff
changeset
|
252 | * Returns the default saved status that is used when our |
|
4d3fc3f58cc6
[gaim-migrate @ 16766]
Mark Doliner <markdoliner@pidgin.im>
parents:
13683
diff
changeset
|
253 | * accounts are not idle-away. |
|
4d3fc3f58cc6
[gaim-migrate @ 16766]
Mark Doliner <markdoliner@pidgin.im>
parents:
13683
diff
changeset
|
254 | * |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
34798
diff
changeset
|
255 | * Returns: A pointer to the in-use PurpleSavedStatus. |
|
14190
4d3fc3f58cc6
[gaim-migrate @ 16766]
Mark Doliner <markdoliner@pidgin.im>
parents:
13683
diff
changeset
|
256 | * This function never returns NULL. |
|
42423
5427e9f59cb7
Make sure all of the savedstatus API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents:
42400
diff
changeset
|
257 | * |
|
5427e9f59cb7
Make sure all of the savedstatus API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents:
42400
diff
changeset
|
258 | * Since: 2.0.0 |
|
14190
4d3fc3f58cc6
[gaim-migrate @ 16766]
Mark Doliner <markdoliner@pidgin.im>
parents:
13683
diff
changeset
|
259 | */ |
|
42423
5427e9f59cb7
Make sure all of the savedstatus API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents:
42400
diff
changeset
|
260 | PURPLE_AVAILABLE_IN_ALL |
| 15884 | 261 | PurpleSavedStatus *purple_savedstatus_get_default(void); |
|
14190
4d3fc3f58cc6
[gaim-migrate @ 16766]
Mark Doliner <markdoliner@pidgin.im>
parents:
13683
diff
changeset
|
262 | |
|
4d3fc3f58cc6
[gaim-migrate @ 16766]
Mark Doliner <markdoliner@pidgin.im>
parents:
13683
diff
changeset
|
263 | /** |
|
35402
6eae3b385153
Convert docs from doxygen to gtk-doc format for purple-socket to smiley
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
264 | * purple_savedstatus_get_idleaway: |
|
6eae3b385153
Convert docs from doxygen to gtk-doc format for purple-socket to smiley
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
265 | * |
|
14190
4d3fc3f58cc6
[gaim-migrate @ 16766]
Mark Doliner <markdoliner@pidgin.im>
parents:
13683
diff
changeset
|
266 | * Returns the saved status that is used when your |
|
12125
c1e55f812ded
[gaim-migrate @ 14425]
Mark Doliner <markdoliner@pidgin.im>
parents:
12080
diff
changeset
|
267 | * accounts become idle-away. |
|
c1e55f812ded
[gaim-migrate @ 14425]
Mark Doliner <markdoliner@pidgin.im>
parents:
12080
diff
changeset
|
268 | * |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
34798
diff
changeset
|
269 | * Returns: A pointer to the idle-away PurpleSavedStatus. |
|
13683
d523c24ed269
[gaim-migrate @ 16084]
Mark Doliner <markdoliner@pidgin.im>
parents:
13677
diff
changeset
|
270 | * This function never returns NULL. |
|
42423
5427e9f59cb7
Make sure all of the savedstatus API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents:
42400
diff
changeset
|
271 | * |
|
5427e9f59cb7
Make sure all of the savedstatus API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents:
42400
diff
changeset
|
272 | * Since: 2.0.0 |
|
12125
c1e55f812ded
[gaim-migrate @ 14425]
Mark Doliner <markdoliner@pidgin.im>
parents:
12080
diff
changeset
|
273 | */ |
|
42423
5427e9f59cb7
Make sure all of the savedstatus API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents:
42400
diff
changeset
|
274 | PURPLE_AVAILABLE_IN_ALL |
| 15884 | 275 | PurpleSavedStatus *purple_savedstatus_get_idleaway(void); |
|
12125
c1e55f812ded
[gaim-migrate @ 14425]
Mark Doliner <markdoliner@pidgin.im>
parents:
12080
diff
changeset
|
276 | |
|
c1e55f812ded
[gaim-migrate @ 14425]
Mark Doliner <markdoliner@pidgin.im>
parents:
12080
diff
changeset
|
277 | /** |
|
35402
6eae3b385153
Convert docs from doxygen to gtk-doc format for purple-socket to smiley
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
278 | * purple_savedstatus_is_idleaway: |
|
6eae3b385153
Convert docs from doxygen to gtk-doc format for purple-socket to smiley
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
279 | * |
|
14190
4d3fc3f58cc6
[gaim-migrate @ 16766]
Mark Doliner <markdoliner@pidgin.im>
parents:
13683
diff
changeset
|
280 | * Return TRUE if we are currently idle-away. Otherwise |
|
4d3fc3f58cc6
[gaim-migrate @ 16766]
Mark Doliner <markdoliner@pidgin.im>
parents:
13683
diff
changeset
|
281 | * returns FALSE. |
|
4d3fc3f58cc6
[gaim-migrate @ 16766]
Mark Doliner <markdoliner@pidgin.im>
parents:
13683
diff
changeset
|
282 | * |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
34798
diff
changeset
|
283 | * Returns: TRUE if our accounts have been set to idle-away. |
|
42423
5427e9f59cb7
Make sure all of the savedstatus API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents:
42400
diff
changeset
|
284 | * |
|
5427e9f59cb7
Make sure all of the savedstatus API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents:
42400
diff
changeset
|
285 | * Since: 2.0.0 |
|
14190
4d3fc3f58cc6
[gaim-migrate @ 16766]
Mark Doliner <markdoliner@pidgin.im>
parents:
13683
diff
changeset
|
286 | */ |
|
42423
5427e9f59cb7
Make sure all of the savedstatus API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents:
42400
diff
changeset
|
287 | PURPLE_AVAILABLE_IN_ALL |
| 15884 | 288 | gboolean purple_savedstatus_is_idleaway(void); |
|
14190
4d3fc3f58cc6
[gaim-migrate @ 16766]
Mark Doliner <markdoliner@pidgin.im>
parents:
13683
diff
changeset
|
289 | |
|
4d3fc3f58cc6
[gaim-migrate @ 16766]
Mark Doliner <markdoliner@pidgin.im>
parents:
13683
diff
changeset
|
290 | /** |
|
35402
6eae3b385153
Convert docs from doxygen to gtk-doc format for purple-socket to smiley
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
291 | * purple_savedstatus_set_idleaway: |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
34798
diff
changeset
|
292 | * @idleaway: TRUE if accounts should be switched to use the |
|
15997
ff97c5f69196
A little doxygen love and some tiny gaim->purpleisms
Mark Doliner <markdoliner@pidgin.im>
parents:
15884
diff
changeset
|
293 | * idle-away saved status. FALSE if they should |
|
ff97c5f69196
A little doxygen love and some tiny gaim->purpleisms
Mark Doliner <markdoliner@pidgin.im>
parents:
15884
diff
changeset
|
294 | * be switched to use the default status. |
|
35402
6eae3b385153
Convert docs from doxygen to gtk-doc format for purple-socket to smiley
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
295 | * |
|
6eae3b385153
Convert docs from doxygen to gtk-doc format for purple-socket to smiley
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
296 | * Set whether accounts in Purple are idle-away or not. |
|
42423
5427e9f59cb7
Make sure all of the savedstatus API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents:
42400
diff
changeset
|
297 | * |
|
5427e9f59cb7
Make sure all of the savedstatus API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents:
42400
diff
changeset
|
298 | * Since: 2.0.0 |
|
14190
4d3fc3f58cc6
[gaim-migrate @ 16766]
Mark Doliner <markdoliner@pidgin.im>
parents:
13683
diff
changeset
|
299 | */ |
|
42423
5427e9f59cb7
Make sure all of the savedstatus API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents:
42400
diff
changeset
|
300 | PURPLE_AVAILABLE_IN_ALL |
| 15884 | 301 | void purple_savedstatus_set_idleaway(gboolean idleaway); |
|
14190
4d3fc3f58cc6
[gaim-migrate @ 16766]
Mark Doliner <markdoliner@pidgin.im>
parents:
13683
diff
changeset
|
302 | |
|
4d3fc3f58cc6
[gaim-migrate @ 16766]
Mark Doliner <markdoliner@pidgin.im>
parents:
13683
diff
changeset
|
303 | /** |
|
35402
6eae3b385153
Convert docs from doxygen to gtk-doc format for purple-socket to smiley
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
304 | * purple_savedstatus_get_startup: |
|
6eae3b385153
Convert docs from doxygen to gtk-doc format for purple-socket to smiley
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
305 | * |
| 15884 | 306 | * Returns the status to be used when purple is starting up |
|
13683
d523c24ed269
[gaim-migrate @ 16084]
Mark Doliner <markdoliner@pidgin.im>
parents:
13677
diff
changeset
|
307 | * |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
34798
diff
changeset
|
308 | * Returns: A pointer to the startup PurpleSavedStatus. |
|
13683
d523c24ed269
[gaim-migrate @ 16084]
Mark Doliner <markdoliner@pidgin.im>
parents:
13677
diff
changeset
|
309 | * This function never returns NULL. |
|
42423
5427e9f59cb7
Make sure all of the savedstatus API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents:
42400
diff
changeset
|
310 | * |
|
5427e9f59cb7
Make sure all of the savedstatus API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents:
42400
diff
changeset
|
311 | * Since: 2.0.0 |
|
13683
d523c24ed269
[gaim-migrate @ 16084]
Mark Doliner <markdoliner@pidgin.im>
parents:
13677
diff
changeset
|
312 | */ |
|
42423
5427e9f59cb7
Make sure all of the savedstatus API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents:
42400
diff
changeset
|
313 | PURPLE_AVAILABLE_IN_ALL |
| 15884 | 314 | PurpleSavedStatus *purple_savedstatus_get_startup(void); |
|
13683
d523c24ed269
[gaim-migrate @ 16084]
Mark Doliner <markdoliner@pidgin.im>
parents:
13677
diff
changeset
|
315 | |
|
d523c24ed269
[gaim-migrate @ 16084]
Mark Doliner <markdoliner@pidgin.im>
parents:
13677
diff
changeset
|
316 | /** |
|
35402
6eae3b385153
Convert docs from doxygen to gtk-doc format for purple-socket to smiley
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
317 | * purple_savedstatus_find: |
|
6eae3b385153
Convert docs from doxygen to gtk-doc format for purple-socket to smiley
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
318 | * @title: The name of the saved status. |
| 10418 | 319 | * |
| 320 | * Finds a saved status with the specified title. | |
| 321 | * | |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
34798
diff
changeset
|
322 | * Returns: The saved status if found, or NULL. |
|
42423
5427e9f59cb7
Make sure all of the savedstatus API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents:
42400
diff
changeset
|
323 | * |
|
5427e9f59cb7
Make sure all of the savedstatus API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents:
42400
diff
changeset
|
324 | * Since: 2.0.0 |
| 10418 | 325 | */ |
|
42423
5427e9f59cb7
Make sure all of the savedstatus API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents:
42400
diff
changeset
|
326 | PURPLE_AVAILABLE_IN_ALL |
| 15884 | 327 | PurpleSavedStatus *purple_savedstatus_find(const char *title); |
| 10418 | 328 | |
| 329 | /** | |
|
35402
6eae3b385153
Convert docs from doxygen to gtk-doc format for purple-socket to smiley
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
330 | * purple_savedstatus_find_by_creation_time: |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
34798
diff
changeset
|
331 | * @creation_time: The timestamp when the saved |
|
12690
4a93889c7593
[gaim-migrate @ 15033]
Mark Doliner <markdoliner@pidgin.im>
parents:
12688
diff
changeset
|
332 | * status was created. |
|
4a93889c7593
[gaim-migrate @ 15033]
Mark Doliner <markdoliner@pidgin.im>
parents:
12688
diff
changeset
|
333 | * |
|
4a93889c7593
[gaim-migrate @ 15033]
Mark Doliner <markdoliner@pidgin.im>
parents:
12688
diff
changeset
|
334 | * Finds a saved status with the specified creation time. |
|
4a93889c7593
[gaim-migrate @ 15033]
Mark Doliner <markdoliner@pidgin.im>
parents:
12688
diff
changeset
|
335 | * |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
34798
diff
changeset
|
336 | * Returns: The saved status if found, or NULL. |
|
42423
5427e9f59cb7
Make sure all of the savedstatus API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents:
42400
diff
changeset
|
337 | * |
|
5427e9f59cb7
Make sure all of the savedstatus API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents:
42400
diff
changeset
|
338 | * Since: 2.0.0 |
|
12690
4a93889c7593
[gaim-migrate @ 15033]
Mark Doliner <markdoliner@pidgin.im>
parents:
12688
diff
changeset
|
339 | */ |
|
42423
5427e9f59cb7
Make sure all of the savedstatus API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents:
42400
diff
changeset
|
340 | PURPLE_AVAILABLE_IN_ALL |
| 15884 | 341 | PurpleSavedStatus *purple_savedstatus_find_by_creation_time(time_t creation_time); |
|
12690
4a93889c7593
[gaim-migrate @ 15033]
Mark Doliner <markdoliner@pidgin.im>
parents:
12688
diff
changeset
|
342 | |
|
4a93889c7593
[gaim-migrate @ 15033]
Mark Doliner <markdoliner@pidgin.im>
parents:
12688
diff
changeset
|
343 | /** |
|
35402
6eae3b385153
Convert docs from doxygen to gtk-doc format for purple-socket to smiley
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
344 | * purple_savedstatus_find_transient_by_type_and_message: |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
34798
diff
changeset
|
345 | * @type: The PurpleStatusPrimitive for the status you're trying |
|
13012
402bd07464a7
[gaim-migrate @ 15365]
Mark Doliner <markdoliner@pidgin.im>
parents:
12857
diff
changeset
|
346 | * to find. |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
34798
diff
changeset
|
347 | * @message: The message for the status you're trying |
|
13012
402bd07464a7
[gaim-migrate @ 15365]
Mark Doliner <markdoliner@pidgin.im>
parents:
12857
diff
changeset
|
348 | * to find. |
|
402bd07464a7
[gaim-migrate @ 15365]
Mark Doliner <markdoliner@pidgin.im>
parents:
12857
diff
changeset
|
349 | * |
|
402bd07464a7
[gaim-migrate @ 15365]
Mark Doliner <markdoliner@pidgin.im>
parents:
12857
diff
changeset
|
350 | * Finds a saved status with the specified primitive and message. |
|
402bd07464a7
[gaim-migrate @ 15365]
Mark Doliner <markdoliner@pidgin.im>
parents:
12857
diff
changeset
|
351 | * |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
34798
diff
changeset
|
352 | * Returns: The saved status if found, or NULL. |
|
42423
5427e9f59cb7
Make sure all of the savedstatus API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents:
42400
diff
changeset
|
353 | * |
|
5427e9f59cb7
Make sure all of the savedstatus API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents:
42400
diff
changeset
|
354 | * Since: 2.0.0 |
|
13012
402bd07464a7
[gaim-migrate @ 15365]
Mark Doliner <markdoliner@pidgin.im>
parents:
12857
diff
changeset
|
355 | */ |
|
42423
5427e9f59cb7
Make sure all of the savedstatus API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents:
42400
diff
changeset
|
356 | PURPLE_AVAILABLE_IN_ALL |
| 15884 | 357 | PurpleSavedStatus *purple_savedstatus_find_transient_by_type_and_message(PurpleStatusPrimitive type, const char *message); |
|
13012
402bd07464a7
[gaim-migrate @ 15365]
Mark Doliner <markdoliner@pidgin.im>
parents:
12857
diff
changeset
|
358 | |
|
402bd07464a7
[gaim-migrate @ 15365]
Mark Doliner <markdoliner@pidgin.im>
parents:
12857
diff
changeset
|
359 | /** |
|
35402
6eae3b385153
Convert docs from doxygen to gtk-doc format for purple-socket to smiley
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
360 | * purple_savedstatus_is_transient: |
|
6eae3b385153
Convert docs from doxygen to gtk-doc format for purple-socket to smiley
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
361 | * @saved_status: The saved status. |
|
6eae3b385153
Convert docs from doxygen to gtk-doc format for purple-socket to smiley
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
362 | * |
|
11651
02f366130354
[gaim-migrate @ 13935]
Mark Doliner <markdoliner@pidgin.im>
parents:
10447
diff
changeset
|
363 | * Determines if a given saved status is "transient." |
|
02f366130354
[gaim-migrate @ 13935]
Mark Doliner <markdoliner@pidgin.im>
parents:
10447
diff
changeset
|
364 | * A transient saved status is one that was not |
|
02f366130354
[gaim-migrate @ 13935]
Mark Doliner <markdoliner@pidgin.im>
parents:
10447
diff
changeset
|
365 | * explicitly added by the user. Transient statuses |
|
02f366130354
[gaim-migrate @ 13935]
Mark Doliner <markdoliner@pidgin.im>
parents:
10447
diff
changeset
|
366 | * are automatically removed if they are not used |
|
02f366130354
[gaim-migrate @ 13935]
Mark Doliner <markdoliner@pidgin.im>
parents:
10447
diff
changeset
|
367 | * for a period of time. |
|
02f366130354
[gaim-migrate @ 13935]
Mark Doliner <markdoliner@pidgin.im>
parents:
10447
diff
changeset
|
368 | * |
|
02f366130354
[gaim-migrate @ 13935]
Mark Doliner <markdoliner@pidgin.im>
parents:
10447
diff
changeset
|
369 | * A transient saved statuses is automatically |
|
02f366130354
[gaim-migrate @ 13935]
Mark Doliner <markdoliner@pidgin.im>
parents:
10447
diff
changeset
|
370 | * created by the status box when the user sets himself |
|
02f366130354
[gaim-migrate @ 13935]
Mark Doliner <markdoliner@pidgin.im>
parents:
10447
diff
changeset
|
371 | * to one of the generic primitive statuses. The reason |
|
02f366130354
[gaim-migrate @ 13935]
Mark Doliner <markdoliner@pidgin.im>
parents:
10447
diff
changeset
|
372 | * we need to save this status information is so we can |
| 15884 | 373 | * restore it when Purple restarts. |
|
11651
02f366130354
[gaim-migrate @ 13935]
Mark Doliner <markdoliner@pidgin.im>
parents:
10447
diff
changeset
|
374 | * |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
34798
diff
changeset
|
375 | * Returns: TRUE if the saved status is transient. |
|
42423
5427e9f59cb7
Make sure all of the savedstatus API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents:
42400
diff
changeset
|
376 | * |
|
5427e9f59cb7
Make sure all of the savedstatus API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents:
42400
diff
changeset
|
377 | * Since: 2.0.0 |
|
11651
02f366130354
[gaim-migrate @ 13935]
Mark Doliner <markdoliner@pidgin.im>
parents:
10447
diff
changeset
|
378 | */ |
|
42423
5427e9f59cb7
Make sure all of the savedstatus API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents:
42400
diff
changeset
|
379 | PURPLE_AVAILABLE_IN_ALL |
| 15884 | 380 | gboolean purple_savedstatus_is_transient(const PurpleSavedStatus *saved_status); |
|
11651
02f366130354
[gaim-migrate @ 13935]
Mark Doliner <markdoliner@pidgin.im>
parents:
10447
diff
changeset
|
381 | |
|
02f366130354
[gaim-migrate @ 13935]
Mark Doliner <markdoliner@pidgin.im>
parents:
10447
diff
changeset
|
382 | /** |
|
35402
6eae3b385153
Convert docs from doxygen to gtk-doc format for purple-socket to smiley
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
383 | * purple_savedstatus_get_title: |
|
6eae3b385153
Convert docs from doxygen to gtk-doc format for purple-socket to smiley
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
384 | * @saved_status: The saved status. |
| 10418 | 385 | * |
| 386 | * Return the name of a given saved status. | |
| 387 | * | |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
34798
diff
changeset
|
388 | * Returns: The title. This value may be a static buffer which may |
|
12690
4a93889c7593
[gaim-migrate @ 15033]
Mark Doliner <markdoliner@pidgin.im>
parents:
12688
diff
changeset
|
389 | * be overwritten on subsequent calls to this function. If |
|
4a93889c7593
[gaim-migrate @ 15033]
Mark Doliner <markdoliner@pidgin.im>
parents:
12688
diff
changeset
|
390 | * you need a reference to the title for prolonged use then |
|
4a93889c7593
[gaim-migrate @ 15033]
Mark Doliner <markdoliner@pidgin.im>
parents:
12688
diff
changeset
|
391 | * you should make a copy of it. |
|
42423
5427e9f59cb7
Make sure all of the savedstatus API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents:
42400
diff
changeset
|
392 | * |
|
5427e9f59cb7
Make sure all of the savedstatus API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents:
42400
diff
changeset
|
393 | * Since: 2.0.0 |
| 10418 | 394 | */ |
|
42423
5427e9f59cb7
Make sure all of the savedstatus API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents:
42400
diff
changeset
|
395 | PURPLE_AVAILABLE_IN_ALL |
| 15884 | 396 | const char *purple_savedstatus_get_title(const PurpleSavedStatus *saved_status); |
| 10418 | 397 | |
| 398 | /** | |
| 35475 | 399 | * purple_savedstatus_get_primitive_type: |
|
35402
6eae3b385153
Convert docs from doxygen to gtk-doc format for purple-socket to smiley
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
400 | * @saved_status: The saved status. |
|
6eae3b385153
Convert docs from doxygen to gtk-doc format for purple-socket to smiley
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
401 | * |
|
12056
ddfcb4df0965
[gaim-migrate @ 14351]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
11724
diff
changeset
|
402 | * Return the type of a given saved status. |
| 10418 | 403 | * |
|
35402
6eae3b385153
Convert docs from doxygen to gtk-doc format for purple-socket to smiley
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
404 | * Returns: The primitive type. |
|
42391
090b03385984
Add Since and symbol visibility to new-in-3.0 things
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
41199
diff
changeset
|
405 | * |
|
090b03385984
Add Since and symbol visibility to new-in-3.0 things
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
41199
diff
changeset
|
406 | * Since: 3.0.0 |
| 10418 | 407 | */ |
|
42391
090b03385984
Add Since and symbol visibility to new-in-3.0 things
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
41199
diff
changeset
|
408 | 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:
34798
diff
changeset
|
409 | PurpleStatusPrimitive purple_savedstatus_get_primitive_type(const PurpleSavedStatus *saved_status); |
| 10418 | 410 | |
| 411 | /** | |
|
35402
6eae3b385153
Convert docs from doxygen to gtk-doc format for purple-socket to smiley
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
412 | * purple_savedstatus_get_message: |
|
6eae3b385153
Convert docs from doxygen to gtk-doc format for purple-socket to smiley
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
413 | * @saved_status: The saved status. |
| 10418 | 414 | * |
|
12056
ddfcb4df0965
[gaim-migrate @ 14351]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
11724
diff
changeset
|
415 | * Return the default message of a given saved status. |
| 10418 | 416 | * |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
34798
diff
changeset
|
417 | * Returns: The message. This will return NULL if the saved |
|
13122
85136c011157
[gaim-migrate @ 15483]
Mark Doliner <markdoliner@pidgin.im>
parents:
13012
diff
changeset
|
418 | * status does not have a message. This will |
|
85136c011157
[gaim-migrate @ 15483]
Mark Doliner <markdoliner@pidgin.im>
parents:
13012
diff
changeset
|
419 | * contain the normal markup that is created by |
| 15884 | 420 | * Purple's IMHTML (basically HTML markup). |
|
42423
5427e9f59cb7
Make sure all of the savedstatus API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents:
42400
diff
changeset
|
421 | * |
|
5427e9f59cb7
Make sure all of the savedstatus API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents:
42400
diff
changeset
|
422 | * Since: 2.0.0 |
| 10418 | 423 | */ |
|
42423
5427e9f59cb7
Make sure all of the savedstatus API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents:
42400
diff
changeset
|
424 | PURPLE_AVAILABLE_IN_ALL |
| 15884 | 425 | const char *purple_savedstatus_get_message(const PurpleSavedStatus *saved_status); |
| 10418 | 426 | |
| 427 | /** | |
|
35402
6eae3b385153
Convert docs from doxygen to gtk-doc format for purple-socket to smiley
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
428 | * purple_savedstatus_get_creation_time: |
|
6eae3b385153
Convert docs from doxygen to gtk-doc format for purple-socket to smiley
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
429 | * @saved_status: The saved status. |
|
6eae3b385153
Convert docs from doxygen to gtk-doc format for purple-socket to smiley
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
430 | * |
|
12125
c1e55f812ded
[gaim-migrate @ 14425]
Mark Doliner <markdoliner@pidgin.im>
parents:
12080
diff
changeset
|
431 | * Return the time in seconds-since-the-epoch when this |
|
c1e55f812ded
[gaim-migrate @ 14425]
Mark Doliner <markdoliner@pidgin.im>
parents:
12080
diff
changeset
|
432 | * saved status was created. Note: For any status created |
| 15884 | 433 | * by Purple 1.5.0 or older this value will be invalid and |
| 434 | * very small (close to 0). This is because Purple 1.5.0 | |
|
12125
c1e55f812ded
[gaim-migrate @ 14425]
Mark Doliner <markdoliner@pidgin.im>
parents:
12080
diff
changeset
|
435 | * and older did not record the timestamp when the status |
|
c1e55f812ded
[gaim-migrate @ 14425]
Mark Doliner <markdoliner@pidgin.im>
parents:
12080
diff
changeset
|
436 | * was created. |
|
c1e55f812ded
[gaim-migrate @ 14425]
Mark Doliner <markdoliner@pidgin.im>
parents:
12080
diff
changeset
|
437 | * |
|
c1e55f812ded
[gaim-migrate @ 14425]
Mark Doliner <markdoliner@pidgin.im>
parents:
12080
diff
changeset
|
438 | * However, this value is guaranteed to be a unique |
|
c1e55f812ded
[gaim-migrate @ 14425]
Mark Doliner <markdoliner@pidgin.im>
parents:
12080
diff
changeset
|
439 | * identifier for the given saved status. |
|
c1e55f812ded
[gaim-migrate @ 14425]
Mark Doliner <markdoliner@pidgin.im>
parents:
12080
diff
changeset
|
440 | * |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
34798
diff
changeset
|
441 | * Returns: The timestamp when this saved status was created. |
|
42423
5427e9f59cb7
Make sure all of the savedstatus API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents:
42400
diff
changeset
|
442 | * |
|
5427e9f59cb7
Make sure all of the savedstatus API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents:
42400
diff
changeset
|
443 | * Since: 2.0.0 |
|
12125
c1e55f812ded
[gaim-migrate @ 14425]
Mark Doliner <markdoliner@pidgin.im>
parents:
12080
diff
changeset
|
444 | */ |
|
42423
5427e9f59cb7
Make sure all of the savedstatus API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents:
42400
diff
changeset
|
445 | PURPLE_AVAILABLE_IN_ALL |
| 15884 | 446 | time_t purple_savedstatus_get_creation_time(const PurpleSavedStatus *saved_status); |
|
12125
c1e55f812ded
[gaim-migrate @ 14425]
Mark Doliner <markdoliner@pidgin.im>
parents:
12080
diff
changeset
|
447 | |
|
c1e55f812ded
[gaim-migrate @ 14425]
Mark Doliner <markdoliner@pidgin.im>
parents:
12080
diff
changeset
|
448 | /** |
|
35402
6eae3b385153
Convert docs from doxygen to gtk-doc format for purple-socket to smiley
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
449 | * purple_savedstatus_has_substatuses: |
|
6eae3b385153
Convert docs from doxygen to gtk-doc format for purple-socket to smiley
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
450 | * @saved_status: The saved status. |
|
6eae3b385153
Convert docs from doxygen to gtk-doc format for purple-socket to smiley
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
451 | * |
|
11651
02f366130354
[gaim-migrate @ 13935]
Mark Doliner <markdoliner@pidgin.im>
parents:
10447
diff
changeset
|
452 | * Determine if a given saved status has "substatuses," |
|
02f366130354
[gaim-migrate @ 13935]
Mark Doliner <markdoliner@pidgin.im>
parents:
10447
diff
changeset
|
453 | * or if it is a simple status (the same for all |
|
02f366130354
[gaim-migrate @ 13935]
Mark Doliner <markdoliner@pidgin.im>
parents:
10447
diff
changeset
|
454 | * accounts). |
|
02f366130354
[gaim-migrate @ 13935]
Mark Doliner <markdoliner@pidgin.im>
parents:
10447
diff
changeset
|
455 | * |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
34798
diff
changeset
|
456 | * Returns: TRUE if the saved_status has substatuses. |
|
11651
02f366130354
[gaim-migrate @ 13935]
Mark Doliner <markdoliner@pidgin.im>
parents:
10447
diff
changeset
|
457 | * FALSE otherwise. |
|
42423
5427e9f59cb7
Make sure all of the savedstatus API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents:
42400
diff
changeset
|
458 | * |
|
5427e9f59cb7
Make sure all of the savedstatus API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents:
42400
diff
changeset
|
459 | * Since: 2.0.0 |
|
11651
02f366130354
[gaim-migrate @ 13935]
Mark Doliner <markdoliner@pidgin.im>
parents:
10447
diff
changeset
|
460 | */ |
|
42423
5427e9f59cb7
Make sure all of the savedstatus API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents:
42400
diff
changeset
|
461 | PURPLE_AVAILABLE_IN_ALL |
| 15884 | 462 | gboolean purple_savedstatus_has_substatuses(const PurpleSavedStatus *saved_status); |
|
11651
02f366130354
[gaim-migrate @ 13935]
Mark Doliner <markdoliner@pidgin.im>
parents:
10447
diff
changeset
|
463 | |
|
02f366130354
[gaim-migrate @ 13935]
Mark Doliner <markdoliner@pidgin.im>
parents:
10447
diff
changeset
|
464 | /** |
|
35402
6eae3b385153
Convert docs from doxygen to gtk-doc format for purple-socket to smiley
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
465 | * purple_savedstatus_get_substatus: |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
34798
diff
changeset
|
466 | * @saved_status: The saved status. |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
34798
diff
changeset
|
467 | * @account: The account. |
|
12056
ddfcb4df0965
[gaim-migrate @ 14351]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
11724
diff
changeset
|
468 | * |
|
ddfcb4df0965
[gaim-migrate @ 14351]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
11724
diff
changeset
|
469 | * Get the substatus for an account in a saved status. |
|
ddfcb4df0965
[gaim-migrate @ 14351]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
11724
diff
changeset
|
470 | * |
| 40188 | 471 | * Returns: (transfer none): The PurpleSavedStatusSub for the account, or NULL if |
|
12056
ddfcb4df0965
[gaim-migrate @ 14351]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
11724
diff
changeset
|
472 | * the given account does not have a substatus that |
| 15884 | 473 | * differs from the default status of this PurpleSavedStatus. |
|
42423
5427e9f59cb7
Make sure all of the savedstatus API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents:
42400
diff
changeset
|
474 | * |
|
5427e9f59cb7
Make sure all of the savedstatus API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents:
42400
diff
changeset
|
475 | * Since: 2.0.0 |
|
12056
ddfcb4df0965
[gaim-migrate @ 14351]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
11724
diff
changeset
|
476 | */ |
|
42423
5427e9f59cb7
Make sure all of the savedstatus API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents:
42400
diff
changeset
|
477 | PURPLE_AVAILABLE_IN_ALL |
|
5427e9f59cb7
Make sure all of the savedstatus API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents:
42400
diff
changeset
|
478 | PurpleSavedStatusSub *purple_savedstatus_get_substatus(const PurpleSavedStatus *saved_status, const PurpleAccount *account); |
|
12056
ddfcb4df0965
[gaim-migrate @ 14351]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
11724
diff
changeset
|
479 | |
|
ddfcb4df0965
[gaim-migrate @ 14351]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
11724
diff
changeset
|
480 | /** |
| 35475 | 481 | * purple_savedstatus_substatus_get_status_type: |
|
35402
6eae3b385153
Convert docs from doxygen to gtk-doc format for purple-socket to smiley
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
482 | * @substatus: The substatus. |
|
12056
ddfcb4df0965
[gaim-migrate @ 14351]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
11724
diff
changeset
|
483 | * |
|
ddfcb4df0965
[gaim-migrate @ 14351]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
11724
diff
changeset
|
484 | * Get the status type of a given substatus. |
|
ddfcb4df0965
[gaim-migrate @ 14351]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
11724
diff
changeset
|
485 | * |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
34798
diff
changeset
|
486 | * Returns: The status type. |
|
42391
090b03385984
Add Since and symbol visibility to new-in-3.0 things
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
41199
diff
changeset
|
487 | * |
|
42423
5427e9f59cb7
Make sure all of the savedstatus API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents:
42400
diff
changeset
|
488 | * Since: 2.0.0 |
|
12056
ddfcb4df0965
[gaim-migrate @ 14351]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
11724
diff
changeset
|
489 | */ |
|
42423
5427e9f59cb7
Make sure all of the savedstatus API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents:
42400
diff
changeset
|
490 | PURPLE_AVAILABLE_IN_ALL |
|
5427e9f59cb7
Make sure all of the savedstatus API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents:
42400
diff
changeset
|
491 | const PurpleStatusType *purple_savedstatus_substatus_get_status_type(const PurpleSavedStatusSub *substatus); |
|
12056
ddfcb4df0965
[gaim-migrate @ 14351]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
11724
diff
changeset
|
492 | |
|
ddfcb4df0965
[gaim-migrate @ 14351]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
11724
diff
changeset
|
493 | /** |
|
35402
6eae3b385153
Convert docs from doxygen to gtk-doc format for purple-socket to smiley
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
494 | * purple_savedstatus_substatus_get_message: |
|
6eae3b385153
Convert docs from doxygen to gtk-doc format for purple-socket to smiley
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
495 | * @substatus: The substatus. |
|
12056
ddfcb4df0965
[gaim-migrate @ 14351]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
11724
diff
changeset
|
496 | * |
|
ddfcb4df0965
[gaim-migrate @ 14351]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
11724
diff
changeset
|
497 | * Get the message of a given substatus. |
|
ddfcb4df0965
[gaim-migrate @ 14351]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
11724
diff
changeset
|
498 | * |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
34798
diff
changeset
|
499 | * Returns: The message of the substatus, or NULL if this substatus does |
|
12056
ddfcb4df0965
[gaim-migrate @ 14351]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
11724
diff
changeset
|
500 | * not have a message. |
|
42423
5427e9f59cb7
Make sure all of the savedstatus API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents:
42400
diff
changeset
|
501 | * |
|
5427e9f59cb7
Make sure all of the savedstatus API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents:
42400
diff
changeset
|
502 | * Since: 2.0.0 |
|
12056
ddfcb4df0965
[gaim-migrate @ 14351]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
11724
diff
changeset
|
503 | */ |
|
42423
5427e9f59cb7
Make sure all of the savedstatus API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents:
42400
diff
changeset
|
504 | PURPLE_AVAILABLE_IN_ALL |
| 15884 | 505 | const char *purple_savedstatus_substatus_get_message(const PurpleSavedStatusSub *substatus); |
|
12056
ddfcb4df0965
[gaim-migrate @ 14351]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
11724
diff
changeset
|
506 | |
|
ddfcb4df0965
[gaim-migrate @ 14351]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
11724
diff
changeset
|
507 | /** |
|
35402
6eae3b385153
Convert docs from doxygen to gtk-doc format for purple-socket to smiley
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
508 | * purple_savedstatus_activate: |
|
6eae3b385153
Convert docs from doxygen to gtk-doc format for purple-socket to smiley
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
509 | * @saved_status: The status you want to set your accounts to. |
|
6eae3b385153
Convert docs from doxygen to gtk-doc format for purple-socket to smiley
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
510 | * |
|
11724
d3f71bc34b4f
[gaim-migrate @ 14015]
Mark Doliner <markdoliner@pidgin.im>
parents:
11651
diff
changeset
|
511 | * Sets the statuses for all your accounts to those specified |
|
d3f71bc34b4f
[gaim-migrate @ 14015]
Mark Doliner <markdoliner@pidgin.im>
parents:
11651
diff
changeset
|
512 | * by the given saved_status. This function calls |
| 15884 | 513 | * purple_savedstatus_activate_for_account() for all your accounts. |
|
42423
5427e9f59cb7
Make sure all of the savedstatus API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents:
42400
diff
changeset
|
514 | * |
|
5427e9f59cb7
Make sure all of the savedstatus API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents:
42400
diff
changeset
|
515 | * Since: 2.0.0 |
|
11724
d3f71bc34b4f
[gaim-migrate @ 14015]
Mark Doliner <markdoliner@pidgin.im>
parents:
11651
diff
changeset
|
516 | */ |
|
42423
5427e9f59cb7
Make sure all of the savedstatus API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents:
42400
diff
changeset
|
517 | PURPLE_AVAILABLE_IN_ALL |
| 15884 | 518 | void purple_savedstatus_activate(PurpleSavedStatus *saved_status); |
|
11724
d3f71bc34b4f
[gaim-migrate @ 14015]
Mark Doliner <markdoliner@pidgin.im>
parents:
11651
diff
changeset
|
519 | |
|
d3f71bc34b4f
[gaim-migrate @ 14015]
Mark Doliner <markdoliner@pidgin.im>
parents:
11651
diff
changeset
|
520 | /** |
|
35402
6eae3b385153
Convert docs from doxygen to gtk-doc format for purple-socket to smiley
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
521 | * purple_savedstatus_activate_for_account: |
|
6eae3b385153
Convert docs from doxygen to gtk-doc format for purple-socket to smiley
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
522 | * @saved_status: The status you want to set your accounts to. |
|
6eae3b385153
Convert docs from doxygen to gtk-doc format for purple-socket to smiley
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
523 | * @account: The account whose statuses you want to change. |
|
6eae3b385153
Convert docs from doxygen to gtk-doc format for purple-socket to smiley
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
524 | * |
|
11724
d3f71bc34b4f
[gaim-migrate @ 14015]
Mark Doliner <markdoliner@pidgin.im>
parents:
11651
diff
changeset
|
525 | * Sets the statuses for a given account to those specified |
|
d3f71bc34b4f
[gaim-migrate @ 14015]
Mark Doliner <markdoliner@pidgin.im>
parents:
11651
diff
changeset
|
526 | * by the given saved_status. |
|
42423
5427e9f59cb7
Make sure all of the savedstatus API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents:
42400
diff
changeset
|
527 | * |
|
5427e9f59cb7
Make sure all of the savedstatus API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents:
42400
diff
changeset
|
528 | * Since: 2.0.0 |
|
11724
d3f71bc34b4f
[gaim-migrate @ 14015]
Mark Doliner <markdoliner@pidgin.im>
parents:
11651
diff
changeset
|
529 | */ |
|
42423
5427e9f59cb7
Make sure all of the savedstatus API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents:
42400
diff
changeset
|
530 | PURPLE_AVAILABLE_IN_ALL |
| 15884 | 531 | void purple_savedstatus_activate_for_account(const PurpleSavedStatus *saved_status, PurpleAccount *account); |
|
11724
d3f71bc34b4f
[gaim-migrate @ 14015]
Mark Doliner <markdoliner@pidgin.im>
parents:
11651
diff
changeset
|
532 | |
|
d3f71bc34b4f
[gaim-migrate @ 14015]
Mark Doliner <markdoliner@pidgin.im>
parents:
11651
diff
changeset
|
533 | /** |
|
35402
6eae3b385153
Convert docs from doxygen to gtk-doc format for purple-socket to smiley
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
534 | * purple_savedstatuses_get_handle: |
|
6eae3b385153
Convert docs from doxygen to gtk-doc format for purple-socket to smiley
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
535 | * |
| 10418 | 536 | * Get the handle for the status subsystem. |
| 537 | * | |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
34798
diff
changeset
|
538 | * Returns: the handle to the status subsystem |
|
42423
5427e9f59cb7
Make sure all of the savedstatus API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents:
42400
diff
changeset
|
539 | * |
|
5427e9f59cb7
Make sure all of the savedstatus API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents:
42400
diff
changeset
|
540 | * Since: 2.0.0 |
| 10418 | 541 | */ |
|
42423
5427e9f59cb7
Make sure all of the savedstatus API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents:
42400
diff
changeset
|
542 | PURPLE_AVAILABLE_IN_ALL |
| 15884 | 543 | void *purple_savedstatuses_get_handle(void); |
| 10418 | 544 | |
| 545 | /** | |
|
35402
6eae3b385153
Convert docs from doxygen to gtk-doc format for purple-socket to smiley
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
546 | * purple_savedstatuses_init: |
|
6eae3b385153
Convert docs from doxygen to gtk-doc format for purple-socket to smiley
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
547 | * |
| 10418 | 548 | * Initializes the status subsystem. |
|
42423
5427e9f59cb7
Make sure all of the savedstatus API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents:
42400
diff
changeset
|
549 | * |
|
5427e9f59cb7
Make sure all of the savedstatus API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents:
42400
diff
changeset
|
550 | * Since: 2.0.0 |
| 10418 | 551 | */ |
|
42423
5427e9f59cb7
Make sure all of the savedstatus API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents:
42400
diff
changeset
|
552 | PURPLE_AVAILABLE_IN_ALL |
| 15884 | 553 | void purple_savedstatuses_init(void); |
| 10418 | 554 | |
| 555 | /** | |
|
35402
6eae3b385153
Convert docs from doxygen to gtk-doc format for purple-socket to smiley
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
556 | * purple_savedstatuses_uninit: |
|
6eae3b385153
Convert docs from doxygen to gtk-doc format for purple-socket to smiley
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
557 | * |
| 10418 | 558 | * Uninitializes the status subsystem. |
|
42423
5427e9f59cb7
Make sure all of the savedstatus API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents:
42400
diff
changeset
|
559 | * |
|
5427e9f59cb7
Make sure all of the savedstatus API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents:
42400
diff
changeset
|
560 | * Since: 2.0.0 |
| 10418 | 561 | */ |
|
42423
5427e9f59cb7
Make sure all of the savedstatus API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents:
42400
diff
changeset
|
562 | PURPLE_AVAILABLE_IN_ALL |
| 15884 | 563 | void purple_savedstatuses_uninit(void); |
| 10418 | 564 | |
|
32787
7072f190d6ad
Use G_BEGIN/END_DECLS in public libpurple files. This was
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
21039
diff
changeset
|
565 | G_END_DECLS |
|
14987
1f3e20245da1
[gaim-migrate @ 17697]
Daniel Atallah <datallah@pidgin.im>
parents:
14254
diff
changeset
|
566 | |
|
39659
e4dfb99b0cef
Fix libpurple header guards using reserved names.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
38716
diff
changeset
|
567 | #endif /* PURPLE_SAVEDSTATUSES_H */ |