Mon, 30 Jun 2025 14:22:13 -0500
Update the flatpak to gnome 48 and to the matching birb version
The birb version was missed here when it was updated.
Testing Done:
Built the flatpak with the instructions in the readme.
Reviewed at https://reviews.imfreedom.org/r/4038/
|
34834
f45f0745da61
Started GObjectification of PurplePresence.
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
1 | /* |
|
40584
6f198a69ac48
A bunch of documentation cleanups
Gary Kramlich <grim@reaperworld.com>
parents:
40575
diff
changeset
|
2 | * Purple - Internet Messaging Library |
|
40575
b82c365e04e8
Rename presence.[ch] to purplepresence.[ch], fix some docs, and other tweaks.
Gary Kramlich <grim@reaperworld.com>
parents:
40539
diff
changeset
|
3 | * Copyright (C) Pidgin Developers <devel@pidgin.im> |
|
34834
f45f0745da61
Started GObjectification of PurplePresence.
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
4 | * |
|
f45f0745da61
Started GObjectification of PurplePresence.
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
5 | * Purple is the legal property of its developers, whose names are too numerous |
|
42594
eddde70cedd8
Create a test for verifying license headers and correct the ones that were wrong
Gary Kramlich <grim@reaperworld.com>
parents:
42509
diff
changeset
|
6 | * to list here. Please refer to the COPYRIGHT file distributed with this |
|
34834
f45f0745da61
Started GObjectification of PurplePresence.
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
7 | * source distribution. |
|
f45f0745da61
Started GObjectification of PurplePresence.
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
8 | * |
|
42594
eddde70cedd8
Create a test for verifying license headers and correct the ones that were wrong
Gary Kramlich <grim@reaperworld.com>
parents:
42509
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:
42509
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:
42509
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:
42509
diff
changeset
|
12 | * any later version. |
|
34834
f45f0745da61
Started GObjectification of PurplePresence.
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
13 | * |
|
42594
eddde70cedd8
Create a test for verifying license headers and correct the ones that were wrong
Gary Kramlich <grim@reaperworld.com>
parents:
42509
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:
42509
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:
42509
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:
42509
diff
changeset
|
17 | * more details. |
|
34834
f45f0745da61
Started GObjectification of PurplePresence.
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
18 | * |
|
42594
eddde70cedd8
Create a test for verifying license headers and correct the ones that were wrong
Gary Kramlich <grim@reaperworld.com>
parents:
42509
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:
42509
diff
changeset
|
20 | * this library; if not, see <https://www.gnu.org/licenses/>. |
|
34834
f45f0745da61
Started GObjectification of PurplePresence.
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
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:
40215
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:
40215
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:
40215
diff
changeset
|
25 | #endif |
|
1341be8e3402
Make it so only libpurple can directly include libpurple header files.
Gary Kramlich <grim@reaperworld.com>
parents:
40215
diff
changeset
|
26 | |
|
39659
e4dfb99b0cef
Fix libpurple header guards using reserved names.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
39539
diff
changeset
|
27 | #ifndef PURPLE_PRESENCE_H |
|
e4dfb99b0cef
Fix libpurple header guards using reserved names.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
39539
diff
changeset
|
28 | #define PURPLE_PRESENCE_H |
|
40537
fbf29150c28c
Move PurpleAccountPresence and PurpleBuddyPresence to their own files
Gary Kramlich <grim@reaperworld.com>
parents:
40524
diff
changeset
|
29 | |
|
42051
18adb1710a54
Add read-only properties for primitive and message to PurplePresence
Gary Kramlich <grim@reaperworld.com>
parents:
41963
diff
changeset
|
30 | #include <glib.h> |
|
18adb1710a54
Add read-only properties for primitive and message to PurplePresence
Gary Kramlich <grim@reaperworld.com>
parents:
41963
diff
changeset
|
31 | #include <glib-object.h> |
|
18adb1710a54
Add read-only properties for primitive and message to PurplePresence
Gary Kramlich <grim@reaperworld.com>
parents:
41963
diff
changeset
|
32 | |
|
42387
d9350cda1556
Export symbols added for 3.0.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42310
diff
changeset
|
33 | #include "purpleversion.h" |
|
d9350cda1556
Export symbols added for 3.0.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42310
diff
changeset
|
34 | |
|
35440
467bb21b82a1
Add section blocks for debug.h to prpl.h
Ankit Vani <a@nevitus.org>
parents:
35397
diff
changeset
|
35 | /** |
|
35397
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
36 | * PurplePresence: |
|
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
37 | * |
|
40575
b82c365e04e8
Rename presence.[ch] to purplepresence.[ch], fix some docs, and other tweaks.
Gary Kramlich <grim@reaperworld.com>
parents:
40539
diff
changeset
|
38 | * A PurplePresence is like a collection of PurpleStatuses (plus some other |
|
b82c365e04e8
Rename presence.[ch] to purplepresence.[ch], fix some docs, and other tweaks.
Gary Kramlich <grim@reaperworld.com>
parents:
40539
diff
changeset
|
39 | * random info). For any buddy, or for any one of your accounts, or for any |
|
b82c365e04e8
Rename presence.[ch] to purplepresence.[ch], fix some docs, and other tweaks.
Gary Kramlich <grim@reaperworld.com>
parents:
40539
diff
changeset
|
40 | * person with which you're chatting, you may know various amounts of |
|
b82c365e04e8
Rename presence.[ch] to purplepresence.[ch], fix some docs, and other tweaks.
Gary Kramlich <grim@reaperworld.com>
parents:
40539
diff
changeset
|
41 | * information. This information is all contained in one PurplePresence. If |
|
b82c365e04e8
Rename presence.[ch] to purplepresence.[ch], fix some docs, and other tweaks.
Gary Kramlich <grim@reaperworld.com>
parents:
40539
diff
changeset
|
42 | * one of your buddies is away and idle, then the presence contains the |
|
b82c365e04e8
Rename presence.[ch] to purplepresence.[ch], fix some docs, and other tweaks.
Gary Kramlich <grim@reaperworld.com>
parents:
40539
diff
changeset
|
43 | * #PurpleStatus for their awayness, and it contains their current idle time. |
|
b82c365e04e8
Rename presence.[ch] to purplepresence.[ch], fix some docs, and other tweaks.
Gary Kramlich <grim@reaperworld.com>
parents:
40539
diff
changeset
|
44 | * #PurplePresence's are never saved to disk. The information they contain is |
|
b82c365e04e8
Rename presence.[ch] to purplepresence.[ch], fix some docs, and other tweaks.
Gary Kramlich <grim@reaperworld.com>
parents:
40539
diff
changeset
|
45 | * only relevant for the current Purple session. |
|
34836
289bc0df25bb
API changes for PurplePresence. See details.
Ankit Vani <a@nevitus.org>
parents:
34834
diff
changeset
|
46 | * |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35024
diff
changeset
|
47 | * Note: When a presence is destroyed with the last g_object_unref(), all |
|
40575
b82c365e04e8
Rename presence.[ch] to purplepresence.[ch], fix some docs, and other tweaks.
Gary Kramlich <grim@reaperworld.com>
parents:
40539
diff
changeset
|
48 | * statuses added to this list will be destroyed along with the presence. |
|
42414
dde461efd3e0
Add Since and visibility tags for status API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42391
diff
changeset
|
49 | * |
|
42615
2f3308794a8f
Remove the micro version from since tags for libpurple part 4
Gary Kramlich <grim@reaperworld.com>
parents:
42594
diff
changeset
|
50 | * Since: 2.0 |
|
34834
f45f0745da61
Started GObjectification of PurplePresence.
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
51 | */ |
|
40537
fbf29150c28c
Move PurpleAccountPresence and PurpleBuddyPresence to their own files
Gary Kramlich <grim@reaperworld.com>
parents:
40524
diff
changeset
|
52 | |
|
42077
60a6bbf3bfe4
Create the PurplePresencePrimitive enumeration
Gary Kramlich <grim@reaperworld.com>
parents:
42071
diff
changeset
|
53 | /** |
|
60a6bbf3bfe4
Create the PurplePresencePrimitive enumeration
Gary Kramlich <grim@reaperworld.com>
parents:
42071
diff
changeset
|
54 | * PurplePresencePrimitive: |
|
60a6bbf3bfe4
Create the PurplePresencePrimitive enumeration
Gary Kramlich <grim@reaperworld.com>
parents:
42071
diff
changeset
|
55 | * @PURPLE_PRESENCE_PRIMITIVE_OFFLINE: The presence is offline or otherwise |
|
60a6bbf3bfe4
Create the PurplePresencePrimitive enumeration
Gary Kramlich <grim@reaperworld.com>
parents:
42071
diff
changeset
|
56 | * unknown. |
|
60a6bbf3bfe4
Create the PurplePresencePrimitive enumeration
Gary Kramlich <grim@reaperworld.com>
parents:
42071
diff
changeset
|
57 | * @PURPLE_PRESENCE_PRIMITIVE_AVAILABLE: The presence is online or available. |
|
60a6bbf3bfe4
Create the PurplePresencePrimitive enumeration
Gary Kramlich <grim@reaperworld.com>
parents:
42071
diff
changeset
|
58 | * @PURPLE_PRESENCE_PRIMITIVE_IDLE: The presence is online but is idle. This |
|
60a6bbf3bfe4
Create the PurplePresencePrimitive enumeration
Gary Kramlich <grim@reaperworld.com>
parents:
42071
diff
changeset
|
59 | * state is typically set by the client |
|
60a6bbf3bfe4
Create the PurplePresencePrimitive enumeration
Gary Kramlich <grim@reaperworld.com>
parents:
42071
diff
changeset
|
60 | * directly and not the user. |
|
60a6bbf3bfe4
Create the PurplePresencePrimitive enumeration
Gary Kramlich <grim@reaperworld.com>
parents:
42071
diff
changeset
|
61 | * @PURPLE_PRESENCE_PRIMITIVE_INVISIBLE: The presence is online, but not |
|
60a6bbf3bfe4
Create the PurplePresencePrimitive enumeration
Gary Kramlich <grim@reaperworld.com>
parents:
42071
diff
changeset
|
62 | * visible to others. |
|
60a6bbf3bfe4
Create the PurplePresencePrimitive enumeration
Gary Kramlich <grim@reaperworld.com>
parents:
42071
diff
changeset
|
63 | * @PURPLE_PRESENCE_PRIMITIVE_AWAY: The presence is online, but the user is |
|
60a6bbf3bfe4
Create the PurplePresencePrimitive enumeration
Gary Kramlich <grim@reaperworld.com>
parents:
42071
diff
changeset
|
64 | * away from their device. |
|
42509
e96a15f7f0d8
Rename PURPLE_PRESENCE_EXTENDED_AWAY to PURPLE_PRESENCE_DO_NOT_DISTURB
Gary Kramlich <grim@reaperworld.com>
parents:
42414
diff
changeset
|
65 | * @PURPLE_PRESENCE_PRIMITIVE_DO_NOT_DISTURB: Similar to |
|
e96a15f7f0d8
Rename PURPLE_PRESENCE_EXTENDED_AWAY to PURPLE_PRESENCE_DO_NOT_DISTURB
Gary Kramlich <grim@reaperworld.com>
parents:
42414
diff
changeset
|
66 | * @PURPLE_PRESENCE_PRIMITIVE_AWAY, |
|
e96a15f7f0d8
Rename PURPLE_PRESENCE_EXTENDED_AWAY to PURPLE_PRESENCE_DO_NOT_DISTURB
Gary Kramlich <grim@reaperworld.com>
parents:
42414
diff
changeset
|
67 | * but typically means the user has |
|
e96a15f7f0d8
Rename PURPLE_PRESENCE_EXTENDED_AWAY to PURPLE_PRESENCE_DO_NOT_DISTURB
Gary Kramlich <grim@reaperworld.com>
parents:
42414
diff
changeset
|
68 | * notifications and sounds |
|
e96a15f7f0d8
Rename PURPLE_PRESENCE_EXTENDED_AWAY to PURPLE_PRESENCE_DO_NOT_DISTURB
Gary Kramlich <grim@reaperworld.com>
parents:
42414
diff
changeset
|
69 | * disabled. |
|
42077
60a6bbf3bfe4
Create the PurplePresencePrimitive enumeration
Gary Kramlich <grim@reaperworld.com>
parents:
42071
diff
changeset
|
70 | * @PURPLE_PRESENCE_PRIMITIVE_STREAMING: The presence is online but is |
|
60a6bbf3bfe4
Create the PurplePresencePrimitive enumeration
Gary Kramlich <grim@reaperworld.com>
parents:
42071
diff
changeset
|
71 | * streaming. |
|
60a6bbf3bfe4
Create the PurplePresencePrimitive enumeration
Gary Kramlich <grim@reaperworld.com>
parents:
42071
diff
changeset
|
72 | * |
|
60a6bbf3bfe4
Create the PurplePresencePrimitive enumeration
Gary Kramlich <grim@reaperworld.com>
parents:
42071
diff
changeset
|
73 | * An enum that is used to determine the type of a [class@Purple.Presence]. |
|
60a6bbf3bfe4
Create the PurplePresencePrimitive enumeration
Gary Kramlich <grim@reaperworld.com>
parents:
42071
diff
changeset
|
74 | * |
|
42615
2f3308794a8f
Remove the micro version from since tags for libpurple part 4
Gary Kramlich <grim@reaperworld.com>
parents:
42594
diff
changeset
|
75 | * Since: 3.0 |
|
42077
60a6bbf3bfe4
Create the PurplePresencePrimitive enumeration
Gary Kramlich <grim@reaperworld.com>
parents:
42071
diff
changeset
|
76 | */ |
|
42387
d9350cda1556
Export symbols added for 3.0.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42310
diff
changeset
|
77 | PURPLE_AVAILABLE_TYPE_IN_3_0 |
|
42077
60a6bbf3bfe4
Create the PurplePresencePrimitive enumeration
Gary Kramlich <grim@reaperworld.com>
parents:
42071
diff
changeset
|
78 | typedef enum { |
|
60a6bbf3bfe4
Create the PurplePresencePrimitive enumeration
Gary Kramlich <grim@reaperworld.com>
parents:
42071
diff
changeset
|
79 | PURPLE_PRESENCE_PRIMITIVE_OFFLINE, |
|
60a6bbf3bfe4
Create the PurplePresencePrimitive enumeration
Gary Kramlich <grim@reaperworld.com>
parents:
42071
diff
changeset
|
80 | PURPLE_PRESENCE_PRIMITIVE_AVAILABLE, |
|
60a6bbf3bfe4
Create the PurplePresencePrimitive enumeration
Gary Kramlich <grim@reaperworld.com>
parents:
42071
diff
changeset
|
81 | PURPLE_PRESENCE_PRIMITIVE_IDLE, |
|
60a6bbf3bfe4
Create the PurplePresencePrimitive enumeration
Gary Kramlich <grim@reaperworld.com>
parents:
42071
diff
changeset
|
82 | PURPLE_PRESENCE_PRIMITIVE_INVISIBLE, |
|
60a6bbf3bfe4
Create the PurplePresencePrimitive enumeration
Gary Kramlich <grim@reaperworld.com>
parents:
42071
diff
changeset
|
83 | PURPLE_PRESENCE_PRIMITIVE_AWAY, |
|
42509
e96a15f7f0d8
Rename PURPLE_PRESENCE_EXTENDED_AWAY to PURPLE_PRESENCE_DO_NOT_DISTURB
Gary Kramlich <grim@reaperworld.com>
parents:
42414
diff
changeset
|
84 | PURPLE_PRESENCE_PRIMITIVE_DO_NOT_DISTURB, |
|
42077
60a6bbf3bfe4
Create the PurplePresencePrimitive enumeration
Gary Kramlich <grim@reaperworld.com>
parents:
42071
diff
changeset
|
85 | PURPLE_PRESENCE_PRIMITIVE_STREAMING, |
|
60a6bbf3bfe4
Create the PurplePresencePrimitive enumeration
Gary Kramlich <grim@reaperworld.com>
parents:
42071
diff
changeset
|
86 | } PurplePresencePrimitive; |
|
60a6bbf3bfe4
Create the PurplePresencePrimitive enumeration
Gary Kramlich <grim@reaperworld.com>
parents:
42071
diff
changeset
|
87 | |
|
40575
b82c365e04e8
Rename presence.[ch] to purplepresence.[ch], fix some docs, and other tweaks.
Gary Kramlich <grim@reaperworld.com>
parents:
40539
diff
changeset
|
88 | G_BEGIN_DECLS |
|
b82c365e04e8
Rename presence.[ch] to purplepresence.[ch], fix some docs, and other tweaks.
Gary Kramlich <grim@reaperworld.com>
parents:
40539
diff
changeset
|
89 | |
|
b82c365e04e8
Rename presence.[ch] to purplepresence.[ch], fix some docs, and other tweaks.
Gary Kramlich <grim@reaperworld.com>
parents:
40539
diff
changeset
|
90 | #define PURPLE_TYPE_PRESENCE purple_presence_get_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
|
91 | |
|
090b03385984
Add Since and symbol visibility to new-in-3.0 things
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42387
diff
changeset
|
92 | PURPLE_AVAILABLE_IN_3_0 |
|
42747
801025bad2e1
Make PurplePresence final and other clean ups
Gary Kramlich <grim@reaperworld.com>
parents:
42705
diff
changeset
|
93 | G_DECLARE_FINAL_TYPE(PurplePresence, purple_presence, PURPLE, PRESENCE, |
|
801025bad2e1
Make PurplePresence final and other clean ups
Gary Kramlich <grim@reaperworld.com>
parents:
42705
diff
changeset
|
94 | GObject) |
|
34841
8ebf4cfff9e4
Added the boilerplate GObject header code for presences
Ankit Vani <a@nevitus.org>
parents:
34840
diff
changeset
|
95 | |
|
8ebf4cfff9e4
Added the boilerplate GObject header code for presences
Ankit Vani <a@nevitus.org>
parents:
34840
diff
changeset
|
96 | /** |
|
42051
18adb1710a54
Add read-only properties for primitive and message to PurplePresence
Gary Kramlich <grim@reaperworld.com>
parents:
41963
diff
changeset
|
97 | * purple_presence_new: |
|
18adb1710a54
Add read-only properties for primitive and message to PurplePresence
Gary Kramlich <grim@reaperworld.com>
parents:
41963
diff
changeset
|
98 | * |
|
18adb1710a54
Add read-only properties for primitive and message to PurplePresence
Gary Kramlich <grim@reaperworld.com>
parents:
41963
diff
changeset
|
99 | * Creates a new presence instance. |
|
18adb1710a54
Add read-only properties for primitive and message to PurplePresence
Gary Kramlich <grim@reaperworld.com>
parents:
41963
diff
changeset
|
100 | * |
|
18adb1710a54
Add read-only properties for primitive and message to PurplePresence
Gary Kramlich <grim@reaperworld.com>
parents:
41963
diff
changeset
|
101 | * Returns: (transfer full): The new instance. |
|
18adb1710a54
Add read-only properties for primitive and message to PurplePresence
Gary Kramlich <grim@reaperworld.com>
parents:
41963
diff
changeset
|
102 | * |
|
42615
2f3308794a8f
Remove the micro version from since tags for libpurple part 4
Gary Kramlich <grim@reaperworld.com>
parents:
42594
diff
changeset
|
103 | * Since: 2.0 |
|
42051
18adb1710a54
Add read-only properties for primitive and message to PurplePresence
Gary Kramlich <grim@reaperworld.com>
parents:
41963
diff
changeset
|
104 | */ |
|
42414
dde461efd3e0
Add Since and visibility tags for status API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42391
diff
changeset
|
105 | PURPLE_AVAILABLE_IN_ALL |
|
42051
18adb1710a54
Add read-only properties for primitive and message to PurplePresence
Gary Kramlich <grim@reaperworld.com>
parents:
41963
diff
changeset
|
106 | PurplePresence *purple_presence_new(void); |
|
18adb1710a54
Add read-only properties for primitive and message to PurplePresence
Gary Kramlich <grim@reaperworld.com>
parents:
41963
diff
changeset
|
107 | |
|
18adb1710a54
Add read-only properties for primitive and message to PurplePresence
Gary Kramlich <grim@reaperworld.com>
parents:
41963
diff
changeset
|
108 | /** |
|
35397
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
109 | * purple_presence_set_idle: |
|
40575
b82c365e04e8
Rename presence.[ch] to purplepresence.[ch], fix some docs, and other tweaks.
Gary Kramlich <grim@reaperworld.com>
parents:
40539
diff
changeset
|
110 | * @presence: The #PurplePresence instance. |
|
b82c365e04e8
Rename presence.[ch] to purplepresence.[ch], fix some docs, and other tweaks.
Gary Kramlich <grim@reaperworld.com>
parents:
40539
diff
changeset
|
111 | * @idle: The idle state. |
|
35397
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
112 | * |
|
40575
b82c365e04e8
Rename presence.[ch] to purplepresence.[ch], fix some docs, and other tweaks.
Gary Kramlich <grim@reaperworld.com>
parents:
40539
diff
changeset
|
113 | * Sets the idle state and time of @presence. |
|
42414
dde461efd3e0
Add Since and visibility tags for status API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42391
diff
changeset
|
114 | * |
|
42615
2f3308794a8f
Remove the micro version from since tags for libpurple part 4
Gary Kramlich <grim@reaperworld.com>
parents:
42594
diff
changeset
|
115 | * Since: 2.0 |
|
34834
f45f0745da61
Started GObjectification of PurplePresence.
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
116 | */ |
|
42414
dde461efd3e0
Add Since and visibility tags for status API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42391
diff
changeset
|
117 | PURPLE_AVAILABLE_IN_ALL |
|
42747
801025bad2e1
Make PurplePresence final and other clean ups
Gary Kramlich <grim@reaperworld.com>
parents:
42705
diff
changeset
|
118 | void purple_presence_set_idle(PurplePresence *presence, gboolean idle); |
|
801025bad2e1
Make PurplePresence final and other clean ups
Gary Kramlich <grim@reaperworld.com>
parents:
42705
diff
changeset
|
119 | |
|
801025bad2e1
Make PurplePresence final and other clean ups
Gary Kramlich <grim@reaperworld.com>
parents:
42705
diff
changeset
|
120 | /** |
|
801025bad2e1
Make PurplePresence final and other clean ups
Gary Kramlich <grim@reaperworld.com>
parents:
42705
diff
changeset
|
121 | * purple_presence_set_idle_time: |
|
801025bad2e1
Make PurplePresence final and other clean ups
Gary Kramlich <grim@reaperworld.com>
parents:
42705
diff
changeset
|
122 | * @presence: The instance. |
|
801025bad2e1
Make PurplePresence final and other clean ups
Gary Kramlich <grim@reaperworld.com>
parents:
42705
diff
changeset
|
123 | * @idle_time: (transfer none) (nullable): The time when the presence went |
|
801025bad2e1
Make PurplePresence final and other clean ups
Gary Kramlich <grim@reaperworld.com>
parents:
42705
diff
changeset
|
124 | * idle, or %NULL to clear the idle state. |
|
801025bad2e1
Make PurplePresence final and other clean ups
Gary Kramlich <grim@reaperworld.com>
parents:
42705
diff
changeset
|
125 | * |
|
801025bad2e1
Make PurplePresence final and other clean ups
Gary Kramlich <grim@reaperworld.com>
parents:
42705
diff
changeset
|
126 | * Sets the time that @presence went idle to @idle_time. |
|
801025bad2e1
Make PurplePresence final and other clean ups
Gary Kramlich <grim@reaperworld.com>
parents:
42705
diff
changeset
|
127 | * |
|
801025bad2e1
Make PurplePresence final and other clean ups
Gary Kramlich <grim@reaperworld.com>
parents:
42705
diff
changeset
|
128 | * Since: 3.0 |
|
801025bad2e1
Make PurplePresence final and other clean ups
Gary Kramlich <grim@reaperworld.com>
parents:
42705
diff
changeset
|
129 | */ |
|
801025bad2e1
Make PurplePresence final and other clean ups
Gary Kramlich <grim@reaperworld.com>
parents:
42705
diff
changeset
|
130 | PURPLE_AVAILABLE_IN_3_0 |
|
801025bad2e1
Make PurplePresence final and other clean ups
Gary Kramlich <grim@reaperworld.com>
parents:
42705
diff
changeset
|
131 | void purple_presence_set_idle_time(PurplePresence *presence, GDateTime *idle_time); |
|
34834
f45f0745da61
Started GObjectification of PurplePresence.
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
132 | |
|
f45f0745da61
Started GObjectification of PurplePresence.
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
133 | /** |
|
35397
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
134 | * purple_presence_set_login_time: |
|
40575
b82c365e04e8
Rename presence.[ch] to purplepresence.[ch], fix some docs, and other tweaks.
Gary Kramlich <grim@reaperworld.com>
parents:
40539
diff
changeset
|
135 | * @presence: The #PurplePresence instance. |
|
43237
c641f6bea7dd
Move the connection-state implementation to Purple.Account
Gary Kramlich <grim@reaperworld.com>
parents:
42859
diff
changeset
|
136 | * @login_time: (transfer none) (nullable): The login time. |
|
35397
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
137 | * |
|
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
138 | * Sets the login time on a presence. |
|
42414
dde461efd3e0
Add Since and visibility tags for status API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42391
diff
changeset
|
139 | * |
|
42615
2f3308794a8f
Remove the micro version from since tags for libpurple part 4
Gary Kramlich <grim@reaperworld.com>
parents:
42594
diff
changeset
|
140 | * Since: 2.0 |
|
34834
f45f0745da61
Started GObjectification of PurplePresence.
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
141 | */ |
|
42414
dde461efd3e0
Add Since and visibility tags for status API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42391
diff
changeset
|
142 | PURPLE_AVAILABLE_IN_ALL |
|
41963
d140e4f6bb02
Move the PurplePresence::login-time property from time_t to GDateTime
Gary Kramlich <grim@reaperworld.com>
parents:
41740
diff
changeset
|
143 | void purple_presence_set_login_time(PurplePresence *presence, GDateTime *login_time); |
|
34834
f45f0745da61
Started GObjectification of PurplePresence.
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
144 | |
|
f45f0745da61
Started GObjectification of PurplePresence.
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
145 | /** |
|
35397
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
146 | * purple_presence_is_available: |
|
40575
b82c365e04e8
Rename presence.[ch] to purplepresence.[ch], fix some docs, and other tweaks.
Gary Kramlich <grim@reaperworld.com>
parents:
40539
diff
changeset
|
147 | * @presence: The #PurplePresence instance. |
|
35397
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
148 | * |
|
40575
b82c365e04e8
Rename presence.[ch] to purplepresence.[ch], fix some docs, and other tweaks.
Gary Kramlich <grim@reaperworld.com>
parents:
40539
diff
changeset
|
149 | * Gets whether or not @presence is available. |
|
34834
f45f0745da61
Started GObjectification of PurplePresence.
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
150 | * |
|
f45f0745da61
Started GObjectification of PurplePresence.
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
151 | * Available presences are online and possibly invisible, but not away or idle. |
|
f45f0745da61
Started GObjectification of PurplePresence.
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
152 | * |
|
40575
b82c365e04e8
Rename presence.[ch] to purplepresence.[ch], fix some docs, and other tweaks.
Gary Kramlich <grim@reaperworld.com>
parents:
40539
diff
changeset
|
153 | * Returns: %TRUE if the presence is available, or %FALSE otherwise. |
|
42414
dde461efd3e0
Add Since and visibility tags for status API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42391
diff
changeset
|
154 | * |
|
42615
2f3308794a8f
Remove the micro version from since tags for libpurple part 4
Gary Kramlich <grim@reaperworld.com>
parents:
42594
diff
changeset
|
155 | * Since: 2.0 |
|
34834
f45f0745da61
Started GObjectification of PurplePresence.
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
156 | */ |
|
42414
dde461efd3e0
Add Since and visibility tags for status API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42391
diff
changeset
|
157 | PURPLE_AVAILABLE_IN_ALL |
|
39435
b30e04a71ecf
Use G_DEFINE_TYPE_WITH_PRIVATE for Purple*Presence.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
38716
diff
changeset
|
158 | gboolean purple_presence_is_available(PurplePresence *presence); |
|
34834
f45f0745da61
Started GObjectification of PurplePresence.
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
159 | |
|
f45f0745da61
Started GObjectification of PurplePresence.
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
160 | /** |
|
35397
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
161 | * purple_presence_is_online: |
|
40575
b82c365e04e8
Rename presence.[ch] to purplepresence.[ch], fix some docs, and other tweaks.
Gary Kramlich <grim@reaperworld.com>
parents:
40539
diff
changeset
|
162 | * @presence: The #PurplePresence instance. |
|
34834
f45f0745da61
Started GObjectification of PurplePresence.
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
163 | * |
|
40575
b82c365e04e8
Rename presence.[ch] to purplepresence.[ch], fix some docs, and other tweaks.
Gary Kramlich <grim@reaperworld.com>
parents:
40539
diff
changeset
|
164 | * Gets whether or not @presence is online. |
|
34834
f45f0745da61
Started GObjectification of PurplePresence.
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
165 | * |
|
40575
b82c365e04e8
Rename presence.[ch] to purplepresence.[ch], fix some docs, and other tweaks.
Gary Kramlich <grim@reaperworld.com>
parents:
40539
diff
changeset
|
166 | * Returns: %TRUE if the presence is online, or %FALSE otherwise. |
|
42414
dde461efd3e0
Add Since and visibility tags for status API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42391
diff
changeset
|
167 | * |
|
42615
2f3308794a8f
Remove the micro version from since tags for libpurple part 4
Gary Kramlich <grim@reaperworld.com>
parents:
42594
diff
changeset
|
168 | * Since: 2.0 |
|
34834
f45f0745da61
Started GObjectification of PurplePresence.
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
169 | */ |
|
42414
dde461efd3e0
Add Since and visibility tags for status API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42391
diff
changeset
|
170 | PURPLE_AVAILABLE_IN_ALL |
|
39435
b30e04a71ecf
Use G_DEFINE_TYPE_WITH_PRIVATE for Purple*Presence.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
38716
diff
changeset
|
171 | gboolean purple_presence_is_online(PurplePresence *presence); |
|
34834
f45f0745da61
Started GObjectification of PurplePresence.
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
172 | |
|
f45f0745da61
Started GObjectification of PurplePresence.
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
173 | /** |
|
35397
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
174 | * purple_presence_is_idle: |
|
40575
b82c365e04e8
Rename presence.[ch] to purplepresence.[ch], fix some docs, and other tweaks.
Gary Kramlich <grim@reaperworld.com>
parents:
40539
diff
changeset
|
175 | * @presence: The #PurplePresence instance. |
|
34834
f45f0745da61
Started GObjectification of PurplePresence.
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
176 | * |
|
40575
b82c365e04e8
Rename presence.[ch] to purplepresence.[ch], fix some docs, and other tweaks.
Gary Kramlich <grim@reaperworld.com>
parents:
40539
diff
changeset
|
177 | * Gets whether or not @presence is idle. |
|
34834
f45f0745da61
Started GObjectification of PurplePresence.
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
178 | * |
|
40575
b82c365e04e8
Rename presence.[ch] to purplepresence.[ch], fix some docs, and other tweaks.
Gary Kramlich <grim@reaperworld.com>
parents:
40539
diff
changeset
|
179 | * Returns: %TRUE if the presence is idle, or %FALSE otherwise. If the |
|
b82c365e04e8
Rename presence.[ch] to purplepresence.[ch], fix some docs, and other tweaks.
Gary Kramlich <grim@reaperworld.com>
parents:
40539
diff
changeset
|
180 | * presence is offline (purple_presence_is_online() returns %FALSE) |
|
b82c365e04e8
Rename presence.[ch] to purplepresence.[ch], fix some docs, and other tweaks.
Gary Kramlich <grim@reaperworld.com>
parents:
40539
diff
changeset
|
181 | * then %FALSE is returned. |
|
42414
dde461efd3e0
Add Since and visibility tags for status API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42391
diff
changeset
|
182 | * |
|
42615
2f3308794a8f
Remove the micro version from since tags for libpurple part 4
Gary Kramlich <grim@reaperworld.com>
parents:
42594
diff
changeset
|
183 | * Since: 2.0 |
|
34834
f45f0745da61
Started GObjectification of PurplePresence.
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
184 | */ |
|
42414
dde461efd3e0
Add Since and visibility tags for status API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42391
diff
changeset
|
185 | PURPLE_AVAILABLE_IN_ALL |
|
39435
b30e04a71ecf
Use G_DEFINE_TYPE_WITH_PRIVATE for Purple*Presence.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
38716
diff
changeset
|
186 | gboolean purple_presence_is_idle(PurplePresence *presence); |
|
34834
f45f0745da61
Started GObjectification of PurplePresence.
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
187 | |
|
f45f0745da61
Started GObjectification of PurplePresence.
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
188 | /** |
|
35397
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
189 | * purple_presence_get_idle_time: |
|
40575
b82c365e04e8
Rename presence.[ch] to purplepresence.[ch], fix some docs, and other tweaks.
Gary Kramlich <grim@reaperworld.com>
parents:
40539
diff
changeset
|
190 | * @presence: The #PurplePresence instance. |
|
34834
f45f0745da61
Started GObjectification of PurplePresence.
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
191 | * |
|
42071
a719f0f3c600
Convert idle_time in PurplePresence to GDateTime
Gary Kramlich <grim@reaperworld.com>
parents:
42051
diff
changeset
|
192 | * Gets the idle time of @presence. This can be %NULL if the protocol doesn't |
|
a719f0f3c600
Convert idle_time in PurplePresence to GDateTime
Gary Kramlich <grim@reaperworld.com>
parents:
42051
diff
changeset
|
193 | * support idle times or if the presence isn't in an idle state. |
|
34834
f45f0745da61
Started GObjectification of PurplePresence.
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
194 | * |
|
42071
a719f0f3c600
Convert idle_time in PurplePresence to GDateTime
Gary Kramlich <grim@reaperworld.com>
parents:
42051
diff
changeset
|
195 | * Returns: (nullable): The idle time of @presence or %NULL. |
|
42414
dde461efd3e0
Add Since and visibility tags for status API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42391
diff
changeset
|
196 | * |
|
42615
2f3308794a8f
Remove the micro version from since tags for libpurple part 4
Gary Kramlich <grim@reaperworld.com>
parents:
42594
diff
changeset
|
197 | * Since: 2.0 |
|
34834
f45f0745da61
Started GObjectification of PurplePresence.
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
198 | */ |
|
42414
dde461efd3e0
Add Since and visibility tags for status API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42391
diff
changeset
|
199 | PURPLE_AVAILABLE_IN_ALL |
|
42071
a719f0f3c600
Convert idle_time in PurplePresence to GDateTime
Gary Kramlich <grim@reaperworld.com>
parents:
42051
diff
changeset
|
200 | GDateTime *purple_presence_get_idle_time(PurplePresence *presence); |
|
34834
f45f0745da61
Started GObjectification of PurplePresence.
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
201 | |
|
f45f0745da61
Started GObjectification of PurplePresence.
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
202 | /** |
|
35397
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
203 | * purple_presence_get_login_time: |
|
40575
b82c365e04e8
Rename presence.[ch] to purplepresence.[ch], fix some docs, and other tweaks.
Gary Kramlich <grim@reaperworld.com>
parents:
40539
diff
changeset
|
204 | * @presence: The #PurplePresence instance. |
|
34834
f45f0745da61
Started GObjectification of PurplePresence.
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
205 | * |
|
40575
b82c365e04e8
Rename presence.[ch] to purplepresence.[ch], fix some docs, and other tweaks.
Gary Kramlich <grim@reaperworld.com>
parents:
40539
diff
changeset
|
206 | * Gets the login time of @presence. |
|
34834
f45f0745da61
Started GObjectification of PurplePresence.
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
207 | * |
|
41963
d140e4f6bb02
Move the PurplePresence::login-time property from time_t to GDateTime
Gary Kramlich <grim@reaperworld.com>
parents:
41740
diff
changeset
|
208 | * Returns: (transfer none): The login time of @presence. |
|
42414
dde461efd3e0
Add Since and visibility tags for status API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42391
diff
changeset
|
209 | * |
|
42615
2f3308794a8f
Remove the micro version from since tags for libpurple part 4
Gary Kramlich <grim@reaperworld.com>
parents:
42594
diff
changeset
|
210 | * Since: 2.0 |
|
34834
f45f0745da61
Started GObjectification of PurplePresence.
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
211 | */ |
|
42414
dde461efd3e0
Add Since and visibility tags for status API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42391
diff
changeset
|
212 | PURPLE_AVAILABLE_IN_ALL |
|
41963
d140e4f6bb02
Move the PurplePresence::login-time property from time_t to GDateTime
Gary Kramlich <grim@reaperworld.com>
parents:
41740
diff
changeset
|
213 | GDateTime *purple_presence_get_login_time(PurplePresence *presence); |
|
34834
f45f0745da61
Started GObjectification of PurplePresence.
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
214 | |
|
41740
d8fcd2907c3d
Add purple_presence_compare
Gary Kramlich <grim@reaperworld.com>
parents:
41686
diff
changeset
|
215 | /** |
|
d8fcd2907c3d
Add purple_presence_compare
Gary Kramlich <grim@reaperworld.com>
parents:
41686
diff
changeset
|
216 | * purple_presence_compare: |
|
d8fcd2907c3d
Add purple_presence_compare
Gary Kramlich <grim@reaperworld.com>
parents:
41686
diff
changeset
|
217 | * @presence1: The first presence. |
|
d8fcd2907c3d
Add purple_presence_compare
Gary Kramlich <grim@reaperworld.com>
parents:
41686
diff
changeset
|
218 | * @presence2: The second presence. |
|
d8fcd2907c3d
Add purple_presence_compare
Gary Kramlich <grim@reaperworld.com>
parents:
41686
diff
changeset
|
219 | * |
|
d8fcd2907c3d
Add purple_presence_compare
Gary Kramlich <grim@reaperworld.com>
parents:
41686
diff
changeset
|
220 | * Compares the presences for availability. |
|
d8fcd2907c3d
Add purple_presence_compare
Gary Kramlich <grim@reaperworld.com>
parents:
41686
diff
changeset
|
221 | * |
|
d8fcd2907c3d
Add purple_presence_compare
Gary Kramlich <grim@reaperworld.com>
parents:
41686
diff
changeset
|
222 | * Returns: -1 if @presence1 is more available than @presence2. |
|
d8fcd2907c3d
Add purple_presence_compare
Gary Kramlich <grim@reaperworld.com>
parents:
41686
diff
changeset
|
223 | * 0 if @presence1 is equal to @presence2. |
|
d8fcd2907c3d
Add purple_presence_compare
Gary Kramlich <grim@reaperworld.com>
parents:
41686
diff
changeset
|
224 | * 1 if @presence1 is less available than @presence2. |
|
42414
dde461efd3e0
Add Since and visibility tags for status API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42391
diff
changeset
|
225 | * |
|
42615
2f3308794a8f
Remove the micro version from since tags for libpurple part 4
Gary Kramlich <grim@reaperworld.com>
parents:
42594
diff
changeset
|
226 | * Since: 2.0 |
|
41740
d8fcd2907c3d
Add purple_presence_compare
Gary Kramlich <grim@reaperworld.com>
parents:
41686
diff
changeset
|
227 | */ |
|
42414
dde461efd3e0
Add Since and visibility tags for status API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42391
diff
changeset
|
228 | PURPLE_AVAILABLE_IN_ALL |
|
42859
939cdcccf5ae
Modernize PurplePresence and its unit tests
Gary Kramlich <grim@reaperworld.com>
parents:
42751
diff
changeset
|
229 | int purple_presence_compare(PurplePresence *presence1, PurplePresence *presence2); |
|
41740
d8fcd2907c3d
Add purple_presence_compare
Gary Kramlich <grim@reaperworld.com>
parents:
41686
diff
changeset
|
230 | |
|
42051
18adb1710a54
Add read-only properties for primitive and message to PurplePresence
Gary Kramlich <grim@reaperworld.com>
parents:
41963
diff
changeset
|
231 | /** |
|
18adb1710a54
Add read-only properties for primitive and message to PurplePresence
Gary Kramlich <grim@reaperworld.com>
parents:
41963
diff
changeset
|
232 | * purple_presence_get_primitive: |
|
18adb1710a54
Add read-only properties for primitive and message to PurplePresence
Gary Kramlich <grim@reaperworld.com>
parents:
41963
diff
changeset
|
233 | * @presence: The instance. |
|
18adb1710a54
Add read-only properties for primitive and message to PurplePresence
Gary Kramlich <grim@reaperworld.com>
parents:
41963
diff
changeset
|
234 | * |
|
42177
d5722fdbdf86
Add "new-status" properties to PurplePresence with fallbacks were applicable
Gary Kramlich <grim@reaperworld.com>
parents:
42173
diff
changeset
|
235 | * Gets the [enum@Purple.PresencePrimitive] for @presence. |
|
42051
18adb1710a54
Add read-only properties for primitive and message to PurplePresence
Gary Kramlich <grim@reaperworld.com>
parents:
41963
diff
changeset
|
236 | * |
|
18adb1710a54
Add read-only properties for primitive and message to PurplePresence
Gary Kramlich <grim@reaperworld.com>
parents:
41963
diff
changeset
|
237 | * Returns: The current primitive. |
|
18adb1710a54
Add read-only properties for primitive and message to PurplePresence
Gary Kramlich <grim@reaperworld.com>
parents:
41963
diff
changeset
|
238 | * |
|
42615
2f3308794a8f
Remove the micro version from since tags for libpurple part 4
Gary Kramlich <grim@reaperworld.com>
parents:
42594
diff
changeset
|
239 | * Since: 3.0 |
|
42051
18adb1710a54
Add read-only properties for primitive and message to PurplePresence
Gary Kramlich <grim@reaperworld.com>
parents:
41963
diff
changeset
|
240 | */ |
|
42387
d9350cda1556
Export symbols added for 3.0.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42310
diff
changeset
|
241 | PURPLE_AVAILABLE_IN_3_0 |
|
42177
d5722fdbdf86
Add "new-status" properties to PurplePresence with fallbacks were applicable
Gary Kramlich <grim@reaperworld.com>
parents:
42173
diff
changeset
|
242 | PurplePresencePrimitive purple_presence_get_primitive(PurplePresence *presence); |
|
d5722fdbdf86
Add "new-status" properties to PurplePresence with fallbacks were applicable
Gary Kramlich <grim@reaperworld.com>
parents:
42173
diff
changeset
|
243 | |
|
d5722fdbdf86
Add "new-status" properties to PurplePresence with fallbacks were applicable
Gary Kramlich <grim@reaperworld.com>
parents:
42173
diff
changeset
|
244 | /** |
|
d5722fdbdf86
Add "new-status" properties to PurplePresence with fallbacks were applicable
Gary Kramlich <grim@reaperworld.com>
parents:
42173
diff
changeset
|
245 | * purple_presence_set_primitive: |
|
d5722fdbdf86
Add "new-status" properties to PurplePresence with fallbacks were applicable
Gary Kramlich <grim@reaperworld.com>
parents:
42173
diff
changeset
|
246 | * @presence: The instance. |
|
d5722fdbdf86
Add "new-status" properties to PurplePresence with fallbacks were applicable
Gary Kramlich <grim@reaperworld.com>
parents:
42173
diff
changeset
|
247 | * @primitive: The new primitive. |
|
d5722fdbdf86
Add "new-status" properties to PurplePresence with fallbacks were applicable
Gary Kramlich <grim@reaperworld.com>
parents:
42173
diff
changeset
|
248 | * |
|
42705
e78a46048ae7
Remove the old status API
Gary Kramlich <grim@reaperworld.com>
parents:
42615
diff
changeset
|
249 | * Sets the [enum@Purple.PresencePrimitive] for @presence to @primitive. |
|
42177
d5722fdbdf86
Add "new-status" properties to PurplePresence with fallbacks were applicable
Gary Kramlich <grim@reaperworld.com>
parents:
42173
diff
changeset
|
250 | * |
|
42615
2f3308794a8f
Remove the micro version from since tags for libpurple part 4
Gary Kramlich <grim@reaperworld.com>
parents:
42594
diff
changeset
|
251 | * Since: 3.0 |
|
42177
d5722fdbdf86
Add "new-status" properties to PurplePresence with fallbacks were applicable
Gary Kramlich <grim@reaperworld.com>
parents:
42173
diff
changeset
|
252 | */ |
|
42387
d9350cda1556
Export symbols added for 3.0.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42310
diff
changeset
|
253 | PURPLE_AVAILABLE_IN_3_0 |
|
42177
d5722fdbdf86
Add "new-status" properties to PurplePresence with fallbacks were applicable
Gary Kramlich <grim@reaperworld.com>
parents:
42173
diff
changeset
|
254 | void purple_presence_set_primitive(PurplePresence *presence, PurplePresencePrimitive primitive); |
|
42051
18adb1710a54
Add read-only properties for primitive and message to PurplePresence
Gary Kramlich <grim@reaperworld.com>
parents:
41963
diff
changeset
|
255 | |
|
18adb1710a54
Add read-only properties for primitive and message to PurplePresence
Gary Kramlich <grim@reaperworld.com>
parents:
41963
diff
changeset
|
256 | /** |
|
18adb1710a54
Add read-only properties for primitive and message to PurplePresence
Gary Kramlich <grim@reaperworld.com>
parents:
41963
diff
changeset
|
257 | * purple_presence_get_message: |
|
18adb1710a54
Add read-only properties for primitive and message to PurplePresence
Gary Kramlich <grim@reaperworld.com>
parents:
41963
diff
changeset
|
258 | * @presence: The instance. |
|
18adb1710a54
Add read-only properties for primitive and message to PurplePresence
Gary Kramlich <grim@reaperworld.com>
parents:
41963
diff
changeset
|
259 | * |
|
18adb1710a54
Add read-only properties for primitive and message to PurplePresence
Gary Kramlich <grim@reaperworld.com>
parents:
41963
diff
changeset
|
260 | * Gets the status message for @presence if one is set. |
|
18adb1710a54
Add read-only properties for primitive and message to PurplePresence
Gary Kramlich <grim@reaperworld.com>
parents:
41963
diff
changeset
|
261 | * |
|
18adb1710a54
Add read-only properties for primitive and message to PurplePresence
Gary Kramlich <grim@reaperworld.com>
parents:
41963
diff
changeset
|
262 | * Returns: (nullable): The status message of @presence. |
|
18adb1710a54
Add read-only properties for primitive and message to PurplePresence
Gary Kramlich <grim@reaperworld.com>
parents:
41963
diff
changeset
|
263 | * |
|
42615
2f3308794a8f
Remove the micro version from since tags for libpurple part 4
Gary Kramlich <grim@reaperworld.com>
parents:
42594
diff
changeset
|
264 | * Since: 3.0 |
|
42051
18adb1710a54
Add read-only properties for primitive and message to PurplePresence
Gary Kramlich <grim@reaperworld.com>
parents:
41963
diff
changeset
|
265 | */ |
|
42387
d9350cda1556
Export symbols added for 3.0.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42310
diff
changeset
|
266 | PURPLE_AVAILABLE_IN_3_0 |
|
42051
18adb1710a54
Add read-only properties for primitive and message to PurplePresence
Gary Kramlich <grim@reaperworld.com>
parents:
41963
diff
changeset
|
267 | const char *purple_presence_get_message(PurplePresence *presence); |
|
18adb1710a54
Add read-only properties for primitive and message to PurplePresence
Gary Kramlich <grim@reaperworld.com>
parents:
41963
diff
changeset
|
268 | |
|
42173
50558d740eff
Add purple_presence_primitive_to_string for easier display
Gary Kramlich <grim@reaperworld.com>
parents:
42077
diff
changeset
|
269 | /** |
|
42177
d5722fdbdf86
Add "new-status" properties to PurplePresence with fallbacks were applicable
Gary Kramlich <grim@reaperworld.com>
parents:
42173
diff
changeset
|
270 | * purple_presence_set_message: |
|
d5722fdbdf86
Add "new-status" properties to PurplePresence with fallbacks were applicable
Gary Kramlich <grim@reaperworld.com>
parents:
42173
diff
changeset
|
271 | * @presence: The instance. |
|
d5722fdbdf86
Add "new-status" properties to PurplePresence with fallbacks were applicable
Gary Kramlich <grim@reaperworld.com>
parents:
42173
diff
changeset
|
272 | * @message: (nullable): The new message. |
|
d5722fdbdf86
Add "new-status" properties to PurplePresence with fallbacks were applicable
Gary Kramlich <grim@reaperworld.com>
parents:
42173
diff
changeset
|
273 | * |
|
d5722fdbdf86
Add "new-status" properties to PurplePresence with fallbacks were applicable
Gary Kramlich <grim@reaperworld.com>
parents:
42173
diff
changeset
|
274 | * Sets the status message of @presence to @message. |
|
d5722fdbdf86
Add "new-status" properties to PurplePresence with fallbacks were applicable
Gary Kramlich <grim@reaperworld.com>
parents:
42173
diff
changeset
|
275 | * |
|
42615
2f3308794a8f
Remove the micro version from since tags for libpurple part 4
Gary Kramlich <grim@reaperworld.com>
parents:
42594
diff
changeset
|
276 | * Since: 3.0 |
|
42177
d5722fdbdf86
Add "new-status" properties to PurplePresence with fallbacks were applicable
Gary Kramlich <grim@reaperworld.com>
parents:
42173
diff
changeset
|
277 | */ |
|
42387
d9350cda1556
Export symbols added for 3.0.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42310
diff
changeset
|
278 | PURPLE_AVAILABLE_IN_3_0 |
|
42177
d5722fdbdf86
Add "new-status" properties to PurplePresence with fallbacks were applicable
Gary Kramlich <grim@reaperworld.com>
parents:
42173
diff
changeset
|
279 | void purple_presence_set_message(PurplePresence *presence, const char *message); |
|
d5722fdbdf86
Add "new-status" properties to PurplePresence with fallbacks were applicable
Gary Kramlich <grim@reaperworld.com>
parents:
42173
diff
changeset
|
280 | |
|
d5722fdbdf86
Add "new-status" properties to PurplePresence with fallbacks were applicable
Gary Kramlich <grim@reaperworld.com>
parents:
42173
diff
changeset
|
281 | /** |
|
d5722fdbdf86
Add "new-status" properties to PurplePresence with fallbacks were applicable
Gary Kramlich <grim@reaperworld.com>
parents:
42173
diff
changeset
|
282 | * purple_presence_get_emoji: |
|
d5722fdbdf86
Add "new-status" properties to PurplePresence with fallbacks were applicable
Gary Kramlich <grim@reaperworld.com>
parents:
42173
diff
changeset
|
283 | * @presence: The instance. |
|
d5722fdbdf86
Add "new-status" properties to PurplePresence with fallbacks were applicable
Gary Kramlich <grim@reaperworld.com>
parents:
42173
diff
changeset
|
284 | * |
|
d5722fdbdf86
Add "new-status" properties to PurplePresence with fallbacks were applicable
Gary Kramlich <grim@reaperworld.com>
parents:
42173
diff
changeset
|
285 | * Gets the current emoji, sometimes referred to as a mood, of @presence. |
|
d5722fdbdf86
Add "new-status" properties to PurplePresence with fallbacks were applicable
Gary Kramlich <grim@reaperworld.com>
parents:
42173
diff
changeset
|
286 | * |
|
d5722fdbdf86
Add "new-status" properties to PurplePresence with fallbacks were applicable
Gary Kramlich <grim@reaperworld.com>
parents:
42173
diff
changeset
|
287 | * Returns: The current emoji or %NULL if none is set. |
|
d5722fdbdf86
Add "new-status" properties to PurplePresence with fallbacks were applicable
Gary Kramlich <grim@reaperworld.com>
parents:
42173
diff
changeset
|
288 | * |
|
42615
2f3308794a8f
Remove the micro version from since tags for libpurple part 4
Gary Kramlich <grim@reaperworld.com>
parents:
42594
diff
changeset
|
289 | * Since: 3.0 |
|
42177
d5722fdbdf86
Add "new-status" properties to PurplePresence with fallbacks were applicable
Gary Kramlich <grim@reaperworld.com>
parents:
42173
diff
changeset
|
290 | */ |
|
42387
d9350cda1556
Export symbols added for 3.0.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42310
diff
changeset
|
291 | PURPLE_AVAILABLE_IN_3_0 |
|
42177
d5722fdbdf86
Add "new-status" properties to PurplePresence with fallbacks were applicable
Gary Kramlich <grim@reaperworld.com>
parents:
42173
diff
changeset
|
292 | const char *purple_presence_get_emoji(PurplePresence *presence); |
|
d5722fdbdf86
Add "new-status" properties to PurplePresence with fallbacks were applicable
Gary Kramlich <grim@reaperworld.com>
parents:
42173
diff
changeset
|
293 | |
|
d5722fdbdf86
Add "new-status" properties to PurplePresence with fallbacks were applicable
Gary Kramlich <grim@reaperworld.com>
parents:
42173
diff
changeset
|
294 | /** |
|
d5722fdbdf86
Add "new-status" properties to PurplePresence with fallbacks were applicable
Gary Kramlich <grim@reaperworld.com>
parents:
42173
diff
changeset
|
295 | * purple_presence_set_emoji: |
|
d5722fdbdf86
Add "new-status" properties to PurplePresence with fallbacks were applicable
Gary Kramlich <grim@reaperworld.com>
parents:
42173
diff
changeset
|
296 | * @presence: The instance. |
|
d5722fdbdf86
Add "new-status" properties to PurplePresence with fallbacks were applicable
Gary Kramlich <grim@reaperworld.com>
parents:
42173
diff
changeset
|
297 | * @emoji: (nullable): The new emoji to set. |
|
d5722fdbdf86
Add "new-status" properties to PurplePresence with fallbacks were applicable
Gary Kramlich <grim@reaperworld.com>
parents:
42173
diff
changeset
|
298 | * |
|
d5722fdbdf86
Add "new-status" properties to PurplePresence with fallbacks were applicable
Gary Kramlich <grim@reaperworld.com>
parents:
42173
diff
changeset
|
299 | * Sets the current emoji, sometimes referred to as a mood, of @presence to |
|
d5722fdbdf86
Add "new-status" properties to PurplePresence with fallbacks were applicable
Gary Kramlich <grim@reaperworld.com>
parents:
42173
diff
changeset
|
300 | * @emoji. |
|
d5722fdbdf86
Add "new-status" properties to PurplePresence with fallbacks were applicable
Gary Kramlich <grim@reaperworld.com>
parents:
42173
diff
changeset
|
301 | * |
|
42615
2f3308794a8f
Remove the micro version from since tags for libpurple part 4
Gary Kramlich <grim@reaperworld.com>
parents:
42594
diff
changeset
|
302 | * Since: 3.0 |
|
42177
d5722fdbdf86
Add "new-status" properties to PurplePresence with fallbacks were applicable
Gary Kramlich <grim@reaperworld.com>
parents:
42173
diff
changeset
|
303 | */ |
|
42387
d9350cda1556
Export symbols added for 3.0.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42310
diff
changeset
|
304 | PURPLE_AVAILABLE_IN_3_0 |
|
42177
d5722fdbdf86
Add "new-status" properties to PurplePresence with fallbacks were applicable
Gary Kramlich <grim@reaperworld.com>
parents:
42173
diff
changeset
|
305 | void purple_presence_set_emoji(PurplePresence *presence, const char *emoji); |
|
d5722fdbdf86
Add "new-status" properties to PurplePresence with fallbacks were applicable
Gary Kramlich <grim@reaperworld.com>
parents:
42173
diff
changeset
|
306 | |
|
d5722fdbdf86
Add "new-status" properties to PurplePresence with fallbacks were applicable
Gary Kramlich <grim@reaperworld.com>
parents:
42173
diff
changeset
|
307 | /** |
|
d5722fdbdf86
Add "new-status" properties to PurplePresence with fallbacks were applicable
Gary Kramlich <grim@reaperworld.com>
parents:
42173
diff
changeset
|
308 | * purple_presence_get_mobile: |
|
d5722fdbdf86
Add "new-status" properties to PurplePresence with fallbacks were applicable
Gary Kramlich <grim@reaperworld.com>
parents:
42173
diff
changeset
|
309 | * @presence: The instance. |
|
d5722fdbdf86
Add "new-status" properties to PurplePresence with fallbacks were applicable
Gary Kramlich <grim@reaperworld.com>
parents:
42173
diff
changeset
|
310 | * |
|
d5722fdbdf86
Add "new-status" properties to PurplePresence with fallbacks were applicable
Gary Kramlich <grim@reaperworld.com>
parents:
42173
diff
changeset
|
311 | * Gets whether or not @presence is on a mobile device. |
|
d5722fdbdf86
Add "new-status" properties to PurplePresence with fallbacks were applicable
Gary Kramlich <grim@reaperworld.com>
parents:
42173
diff
changeset
|
312 | * |
|
d5722fdbdf86
Add "new-status" properties to PurplePresence with fallbacks were applicable
Gary Kramlich <grim@reaperworld.com>
parents:
42173
diff
changeset
|
313 | * Returns: %TRUE if @presence is on a mobile device, otherwise %FALSE. |
|
d5722fdbdf86
Add "new-status" properties to PurplePresence with fallbacks were applicable
Gary Kramlich <grim@reaperworld.com>
parents:
42173
diff
changeset
|
314 | * |
|
42615
2f3308794a8f
Remove the micro version from since tags for libpurple part 4
Gary Kramlich <grim@reaperworld.com>
parents:
42594
diff
changeset
|
315 | * Since: 3.0 |
|
42177
d5722fdbdf86
Add "new-status" properties to PurplePresence with fallbacks were applicable
Gary Kramlich <grim@reaperworld.com>
parents:
42173
diff
changeset
|
316 | */ |
|
42387
d9350cda1556
Export symbols added for 3.0.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42310
diff
changeset
|
317 | PURPLE_AVAILABLE_IN_3_0 |
|
42177
d5722fdbdf86
Add "new-status" properties to PurplePresence with fallbacks were applicable
Gary Kramlich <grim@reaperworld.com>
parents:
42173
diff
changeset
|
318 | gboolean purple_presence_get_mobile(PurplePresence *presence); |
|
d5722fdbdf86
Add "new-status" properties to PurplePresence with fallbacks were applicable
Gary Kramlich <grim@reaperworld.com>
parents:
42173
diff
changeset
|
319 | |
|
d5722fdbdf86
Add "new-status" properties to PurplePresence with fallbacks were applicable
Gary Kramlich <grim@reaperworld.com>
parents:
42173
diff
changeset
|
320 | /** |
|
d5722fdbdf86
Add "new-status" properties to PurplePresence with fallbacks were applicable
Gary Kramlich <grim@reaperworld.com>
parents:
42173
diff
changeset
|
321 | * purple_presence_set_mobile: |
|
d5722fdbdf86
Add "new-status" properties to PurplePresence with fallbacks were applicable
Gary Kramlich <grim@reaperworld.com>
parents:
42173
diff
changeset
|
322 | * @presence: The instance. |
|
d5722fdbdf86
Add "new-status" properties to PurplePresence with fallbacks were applicable
Gary Kramlich <grim@reaperworld.com>
parents:
42173
diff
changeset
|
323 | * @mobile: The new mobile status. |
|
d5722fdbdf86
Add "new-status" properties to PurplePresence with fallbacks were applicable
Gary Kramlich <grim@reaperworld.com>
parents:
42173
diff
changeset
|
324 | * |
|
d5722fdbdf86
Add "new-status" properties to PurplePresence with fallbacks were applicable
Gary Kramlich <grim@reaperworld.com>
parents:
42173
diff
changeset
|
325 | * Sets whether or not @presence is on a mobile device. |
|
d5722fdbdf86
Add "new-status" properties to PurplePresence with fallbacks were applicable
Gary Kramlich <grim@reaperworld.com>
parents:
42173
diff
changeset
|
326 | * |
|
42615
2f3308794a8f
Remove the micro version from since tags for libpurple part 4
Gary Kramlich <grim@reaperworld.com>
parents:
42594
diff
changeset
|
327 | * Since: 3.0 |
|
42177
d5722fdbdf86
Add "new-status" properties to PurplePresence with fallbacks were applicable
Gary Kramlich <grim@reaperworld.com>
parents:
42173
diff
changeset
|
328 | */ |
|
42387
d9350cda1556
Export symbols added for 3.0.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42310
diff
changeset
|
329 | PURPLE_AVAILABLE_IN_3_0 |
|
42177
d5722fdbdf86
Add "new-status" properties to PurplePresence with fallbacks were applicable
Gary Kramlich <grim@reaperworld.com>
parents:
42173
diff
changeset
|
330 | void purple_presence_set_mobile(PurplePresence *presence, gboolean mobile); |
|
d5722fdbdf86
Add "new-status" properties to PurplePresence with fallbacks were applicable
Gary Kramlich <grim@reaperworld.com>
parents:
42173
diff
changeset
|
331 | |
|
d5722fdbdf86
Add "new-status" properties to PurplePresence with fallbacks were applicable
Gary Kramlich <grim@reaperworld.com>
parents:
42173
diff
changeset
|
332 | /** |
|
42310
eea341b0d614
Add a notifications-disabled property to PurplePresence
Gary Kramlich <grim@reaperworld.com>
parents:
42177
diff
changeset
|
333 | * purple_presence_get_notifications_disabled: |
|
eea341b0d614
Add a notifications-disabled property to PurplePresence
Gary Kramlich <grim@reaperworld.com>
parents:
42177
diff
changeset
|
334 | * @presence: The instance. |
|
eea341b0d614
Add a notifications-disabled property to PurplePresence
Gary Kramlich <grim@reaperworld.com>
parents:
42177
diff
changeset
|
335 | * |
|
eea341b0d614
Add a notifications-disabled property to PurplePresence
Gary Kramlich <grim@reaperworld.com>
parents:
42177
diff
changeset
|
336 | * Gets whether or not @presence has notifications disabled. |
|
eea341b0d614
Add a notifications-disabled property to PurplePresence
Gary Kramlich <grim@reaperworld.com>
parents:
42177
diff
changeset
|
337 | * |
|
eea341b0d614
Add a notifications-disabled property to PurplePresence
Gary Kramlich <grim@reaperworld.com>
parents:
42177
diff
changeset
|
338 | * Returns: %TRUE if @presence has notifications disabled, otherwise %FALSE. |
|
eea341b0d614
Add a notifications-disabled property to PurplePresence
Gary Kramlich <grim@reaperworld.com>
parents:
42177
diff
changeset
|
339 | * |
|
42615
2f3308794a8f
Remove the micro version from since tags for libpurple part 4
Gary Kramlich <grim@reaperworld.com>
parents:
42594
diff
changeset
|
340 | * Since: 3.0 |
|
42310
eea341b0d614
Add a notifications-disabled property to PurplePresence
Gary Kramlich <grim@reaperworld.com>
parents:
42177
diff
changeset
|
341 | */ |
|
42387
d9350cda1556
Export symbols added for 3.0.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42310
diff
changeset
|
342 | PURPLE_AVAILABLE_IN_3_0 |
|
42310
eea341b0d614
Add a notifications-disabled property to PurplePresence
Gary Kramlich <grim@reaperworld.com>
parents:
42177
diff
changeset
|
343 | gboolean purple_presence_get_notifications_disabled(PurplePresence *presence); |
|
eea341b0d614
Add a notifications-disabled property to PurplePresence
Gary Kramlich <grim@reaperworld.com>
parents:
42177
diff
changeset
|
344 | |
|
eea341b0d614
Add a notifications-disabled property to PurplePresence
Gary Kramlich <grim@reaperworld.com>
parents:
42177
diff
changeset
|
345 | /** |
|
eea341b0d614
Add a notifications-disabled property to PurplePresence
Gary Kramlich <grim@reaperworld.com>
parents:
42177
diff
changeset
|
346 | * purple_presence_set_notifications_disabled: |
|
eea341b0d614
Add a notifications-disabled property to PurplePresence
Gary Kramlich <grim@reaperworld.com>
parents:
42177
diff
changeset
|
347 | * @presence: The instance. |
|
eea341b0d614
Add a notifications-disabled property to PurplePresence
Gary Kramlich <grim@reaperworld.com>
parents:
42177
diff
changeset
|
348 | * @notifications_disabled: Whether notifications are disabled or not. |
|
eea341b0d614
Add a notifications-disabled property to PurplePresence
Gary Kramlich <grim@reaperworld.com>
parents:
42177
diff
changeset
|
349 | * |
|
eea341b0d614
Add a notifications-disabled property to PurplePresence
Gary Kramlich <grim@reaperworld.com>
parents:
42177
diff
changeset
|
350 | * Sets whether or not @presence has notifications disabled. |
|
eea341b0d614
Add a notifications-disabled property to PurplePresence
Gary Kramlich <grim@reaperworld.com>
parents:
42177
diff
changeset
|
351 | * |
|
42615
2f3308794a8f
Remove the micro version from since tags for libpurple part 4
Gary Kramlich <grim@reaperworld.com>
parents:
42594
diff
changeset
|
352 | * Since: 3.0 |
|
42310
eea341b0d614
Add a notifications-disabled property to PurplePresence
Gary Kramlich <grim@reaperworld.com>
parents:
42177
diff
changeset
|
353 | */ |
|
42387
d9350cda1556
Export symbols added for 3.0.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42310
diff
changeset
|
354 | PURPLE_AVAILABLE_IN_3_0 |
|
42310
eea341b0d614
Add a notifications-disabled property to PurplePresence
Gary Kramlich <grim@reaperworld.com>
parents:
42177
diff
changeset
|
355 | void purple_presence_set_notifications_disabled(PurplePresence *presence, gboolean notifications_disabled); |
|
eea341b0d614
Add a notifications-disabled property to PurplePresence
Gary Kramlich <grim@reaperworld.com>
parents:
42177
diff
changeset
|
356 | |
|
eea341b0d614
Add a notifications-disabled property to PurplePresence
Gary Kramlich <grim@reaperworld.com>
parents:
42177
diff
changeset
|
357 | /** |
|
42173
50558d740eff
Add purple_presence_primitive_to_string for easier display
Gary Kramlich <grim@reaperworld.com>
parents:
42077
diff
changeset
|
358 | * purple_presence_primitive_to_string: |
|
50558d740eff
Add purple_presence_primitive_to_string for easier display
Gary Kramlich <grim@reaperworld.com>
parents:
42077
diff
changeset
|
359 | * @primitive: The [enum@Purple.PresencePrimitive] value. |
|
50558d740eff
Add purple_presence_primitive_to_string for easier display
Gary Kramlich <grim@reaperworld.com>
parents:
42077
diff
changeset
|
360 | * |
|
50558d740eff
Add purple_presence_primitive_to_string for easier display
Gary Kramlich <grim@reaperworld.com>
parents:
42077
diff
changeset
|
361 | * Gets a string representation for @primitive that is suitable for display to |
|
50558d740eff
Add purple_presence_primitive_to_string for easier display
Gary Kramlich <grim@reaperworld.com>
parents:
42077
diff
changeset
|
362 | * users. |
|
50558d740eff
Add purple_presence_primitive_to_string for easier display
Gary Kramlich <grim@reaperworld.com>
parents:
42077
diff
changeset
|
363 | * |
|
50558d740eff
Add purple_presence_primitive_to_string for easier display
Gary Kramlich <grim@reaperworld.com>
parents:
42077
diff
changeset
|
364 | * Returns: The string representation. |
|
50558d740eff
Add purple_presence_primitive_to_string for easier display
Gary Kramlich <grim@reaperworld.com>
parents:
42077
diff
changeset
|
365 | * |
|
42615
2f3308794a8f
Remove the micro version from since tags for libpurple part 4
Gary Kramlich <grim@reaperworld.com>
parents:
42594
diff
changeset
|
366 | * Since: 3.0 |
|
42173
50558d740eff
Add purple_presence_primitive_to_string for easier display
Gary Kramlich <grim@reaperworld.com>
parents:
42077
diff
changeset
|
367 | */ |
|
42387
d9350cda1556
Export symbols added for 3.0.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42310
diff
changeset
|
368 | PURPLE_AVAILABLE_IN_3_0 |
|
42173
50558d740eff
Add purple_presence_primitive_to_string for easier display
Gary Kramlich <grim@reaperworld.com>
parents:
42077
diff
changeset
|
369 | const char *purple_presence_primitive_to_string(PurplePresencePrimitive primitive); |
|
50558d740eff
Add purple_presence_primitive_to_string for easier display
Gary Kramlich <grim@reaperworld.com>
parents:
42077
diff
changeset
|
370 | |
|
34834
f45f0745da61
Started GObjectification of PurplePresence.
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
371 | G_END_DECLS |
|
f45f0745da61
Started GObjectification of PurplePresence.
Ankit Vani <a@nevitus.org>
parents:
diff
changeset
|
372 | |
|
39659
e4dfb99b0cef
Fix libpurple header guards using reserved names.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
39539
diff
changeset
|
373 | #endif /* PURPLE_PRESENCE_H */ |