Sat, 09 Aug 2025 02:43:31 -0500
Fix some broken logic in Purple.Conversation.send_message_async
The callback was doing some nonsense trying to give the user an error if
Purple.ProtocolConversation.send_message_async returned false without setting
error. This was then clearing the error using g_clear_error even if error was
set, but G.Task.return_error takes ownership of the error which is what lead
to the crash.
This wasn't caught by the unit tests because we don't have a test for
purple_conversation_send_message_async and
purple_conversation_send_message_finish. We should add one at some point as we
also weren't exposing purple_conversation_send_message_finish which I
discovered while debugging this.
Anyways, we should implement a unit test for this but it needs a protocol
as well and I didn't want to bother with this right now as the fix is more
important.
Testing Done:
Modified the demo protocol to return errors and verified the crash was gone. Reverted that and verified that sending messages worked.
Also called in the turtles.
Reviewed at https://reviews.imfreedom.org/r/4095/
|
42114
d3fe2b899c89
Add membership management to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42070
diff
changeset
|
1 | /* |
|
d3fe2b899c89
Add membership management to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42070
diff
changeset
|
2 | * Purple - Internet Messaging Library |
|
d3fe2b899c89
Add membership management to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42070
diff
changeset
|
3 | * Copyright (C) Pidgin Developers <devel@pidgin.im> |
|
6485
3c7ba18e32f1
[gaim-migrate @ 6999]
Christian Hammond <chipx86@chipx86.com>
parents:
6414
diff
changeset
|
4 | * |
|
42594
eddde70cedd8
Create a test for verifying license headers and correct the ones that were wrong
Gary Kramlich <grim@reaperworld.com>
parents:
42548
diff
changeset
|
5 | * Purple is the legal property of its developers, whose names are too numerous |
|
eddde70cedd8
Create a test for verifying license headers and correct the ones that were wrong
Gary Kramlich <grim@reaperworld.com>
parents:
42548
diff
changeset
|
6 | * to list here. Please refer to the COPYRIGHT file distributed with this |
|
eddde70cedd8
Create a test for verifying license headers and correct the ones that were wrong
Gary Kramlich <grim@reaperworld.com>
parents:
42548
diff
changeset
|
7 | * source distribution. |
| 4359 | 8 | * |
|
42594
eddde70cedd8
Create a test for verifying license headers and correct the ones that were wrong
Gary Kramlich <grim@reaperworld.com>
parents:
42548
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:
42548
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:
42548
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:
42548
diff
changeset
|
12 | * any later version. |
| 4359 | 13 | * |
|
42594
eddde70cedd8
Create a test for verifying license headers and correct the ones that were wrong
Gary Kramlich <grim@reaperworld.com>
parents:
42548
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:
42548
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:
42548
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:
42548
diff
changeset
|
17 | * more details. |
|
eddde70cedd8
Create a test for verifying license headers and correct the ones that were wrong
Gary Kramlich <grim@reaperworld.com>
parents:
42548
diff
changeset
|
18 | * |
|
eddde70cedd8
Create a test for verifying license headers and correct the ones that were wrong
Gary Kramlich <grim@reaperworld.com>
parents:
42548
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:
42548
diff
changeset
|
20 | * this library; if not, see <https://www.gnu.org/licenses/>. |
| 4359 | 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:
40304
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:
40304
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:
40304
diff
changeset
|
25 | #endif |
|
1341be8e3402
Make it so only libpurple can directly include libpurple header files.
Gary Kramlich <grim@reaperworld.com>
parents:
40304
diff
changeset
|
26 | |
|
39659
e4dfb99b0cef
Fix libpurple header guards using reserved names.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
39481
diff
changeset
|
27 | #ifndef PURPLE_CONVERSATION_H |
|
e4dfb99b0cef
Fix libpurple header guards using reserved names.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
39481
diff
changeset
|
28 | #define PURPLE_CONVERSATION_H |
|
40854
f1b7c03f6cc7
Use G_DECLARE_DERIVABLE_TYPE for PurpleConversation and additional cleanups
Gary Kramlich <grim@reaperworld.com>
parents:
40853
diff
changeset
|
29 | |
|
f1b7c03f6cc7
Use G_DECLARE_DERIVABLE_TYPE for PurpleConversation and additional cleanups
Gary Kramlich <grim@reaperworld.com>
parents:
40853
diff
changeset
|
30 | #include <glib.h> |
|
f1b7c03f6cc7
Use G_DECLARE_DERIVABLE_TYPE for PurpleConversation and additional cleanups
Gary Kramlich <grim@reaperworld.com>
parents:
40853
diff
changeset
|
31 | #include <glib-object.h> |
|
34609
28b0f26f011f
Added GObject boilerplate code for headers, also _new() and _get_type() functions.
Ankit Vani <a@nevitus.org>
parents:
34608
diff
changeset
|
32 | |
|
43301
0e43dc8462e8
Replace Purple.Avatar with Purple.Image
Gary Kramlich <grim@reaperworld.com>
parents:
43234
diff
changeset
|
33 | #include "purpleimage.h" |
|
42891
7f8daf96e7d3
Move Purple.Conversation:members to Purple.ConversationMembers
Gary Kramlich <grim@reaperworld.com>
parents:
42884
diff
changeset
|
34 | #include "purpleconversationmembers.h" |
|
42884
5a7d425c9d1b
Add a typing-state property to Purple.Conversation
Gary Kramlich <grim@reaperworld.com>
parents:
42857
diff
changeset
|
35 | #include "purpletyping.h" |
|
42400
64c85dc25cd4
Tag some miscellanous Since and exports
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42391
diff
changeset
|
36 | #include "purpleversion.h" |
|
64c85dc25cd4
Tag some miscellanous Since and exports
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42391
diff
changeset
|
37 | |
|
42743
bcc726c6c61a
Add purple_conversation_send_message_async and _finish
Gary Kramlich <grim@reaperworld.com>
parents:
42740
diff
changeset
|
38 | /** |
|
bcc726c6c61a
Add purple_conversation_send_message_async and _finish
Gary Kramlich <grim@reaperworld.com>
parents:
42740
diff
changeset
|
39 | * PURPLE_CONVERSATION_DOMAIN: |
|
bcc726c6c61a
Add purple_conversation_send_message_async and _finish
Gary Kramlich <grim@reaperworld.com>
parents:
42740
diff
changeset
|
40 | * |
|
bcc726c6c61a
Add purple_conversation_send_message_async and _finish
Gary Kramlich <grim@reaperworld.com>
parents:
42740
diff
changeset
|
41 | * A GError domain for PurpleConversation. |
|
bcc726c6c61a
Add purple_conversation_send_message_async and _finish
Gary Kramlich <grim@reaperworld.com>
parents:
42740
diff
changeset
|
42 | * |
|
bcc726c6c61a
Add purple_conversation_send_message_async and _finish
Gary Kramlich <grim@reaperworld.com>
parents:
42740
diff
changeset
|
43 | * Since: 3.0 |
|
bcc726c6c61a
Add purple_conversation_send_message_async and _finish
Gary Kramlich <grim@reaperworld.com>
parents:
42740
diff
changeset
|
44 | */ |
|
bcc726c6c61a
Add purple_conversation_send_message_async and _finish
Gary Kramlich <grim@reaperworld.com>
parents:
42740
diff
changeset
|
45 | #define PURPLE_CONVERSATION_DOMAIN \ |
|
bcc726c6c61a
Add purple_conversation_send_message_async and _finish
Gary Kramlich <grim@reaperworld.com>
parents:
42740
diff
changeset
|
46 | (g_quark_from_static_string("purple-conversatin")) \ |
|
bcc726c6c61a
Add purple_conversation_send_message_async and _finish
Gary Kramlich <grim@reaperworld.com>
parents:
42740
diff
changeset
|
47 | PURPLE_AVAILABLE_MACRO_IN_3_0 |
|
bcc726c6c61a
Add purple_conversation_send_message_async and _finish
Gary Kramlich <grim@reaperworld.com>
parents:
42740
diff
changeset
|
48 | |
|
40854
f1b7c03f6cc7
Use G_DECLARE_DERIVABLE_TYPE for PurpleConversation and additional cleanups
Gary Kramlich <grim@reaperworld.com>
parents:
40853
diff
changeset
|
49 | #define PURPLE_TYPE_CONVERSATION (purple_conversation_get_type()) |
|
42400
64c85dc25cd4
Tag some miscellanous Since and exports
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42391
diff
changeset
|
50 | |
|
64c85dc25cd4
Tag some miscellanous Since and exports
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42391
diff
changeset
|
51 | PURPLE_AVAILABLE_IN_ALL |
|
42734
4e0eef85cd80
Make PurpleConversation final
Gary Kramlich <grim@reaperworld.com>
parents:
42732
diff
changeset
|
52 | G_DECLARE_FINAL_TYPE(PurpleConversation, purple_conversation, PURPLE, |
|
4e0eef85cd80
Make PurpleConversation final
Gary Kramlich <grim@reaperworld.com>
parents:
42732
diff
changeset
|
53 | CONVERSATION, GObject) |
| 11581 | 54 | |
|
42340
807dda9de806
Fix more internal includes that were using just angle brackets
Gary Kramlich <grim@reaperworld.com>
parents:
42318
diff
changeset
|
55 | #include "purplecontactinfo.h" |
|
807dda9de806
Fix more internal includes that were using just angle brackets
Gary Kramlich <grim@reaperworld.com>
parents:
42318
diff
changeset
|
56 | #include "purpleconversationmember.h" |
|
807dda9de806
Fix more internal includes that were using just angle brackets
Gary Kramlich <grim@reaperworld.com>
parents:
42318
diff
changeset
|
57 | #include "purplemessage.h" |
|
41917
b3eda1d781c6
Fix some include loops
Gary Kramlich <grim@reaperworld.com>
parents:
41686
diff
changeset
|
58 | |
| 4359 | 59 | /** |
|
42316
3985c3404f20
Add PurpleConversationType
Gary Kramlich <grim@reaperworld.com>
parents:
42302
diff
changeset
|
60 | * PurpleConversationType: |
|
42653
584895b844d2
PurpleConversationType's values were pascal case when they should be upper snake case
Gary Kramlich <grim@reaperworld.com>
parents:
42613
diff
changeset
|
61 | * @PURPLE_CONVERSATION_TYPE_UNSET: A value to specify that the property has |
|
584895b844d2
PurpleConversationType's values were pascal case when they should be upper snake case
Gary Kramlich <grim@reaperworld.com>
parents:
42613
diff
changeset
|
62 | * not been set. |
|
584895b844d2
PurpleConversationType's values were pascal case when they should be upper snake case
Gary Kramlich <grim@reaperworld.com>
parents:
42613
diff
changeset
|
63 | * @PURPLE_CONVERSATION_TYPE_DM: A direct message between two contacts. |
|
584895b844d2
PurpleConversationType's values were pascal case when they should be upper snake case
Gary Kramlich <grim@reaperworld.com>
parents:
42613
diff
changeset
|
64 | * @PURPLE_CONVERSATION_TYPE_GROUP_DM: A direct message between a protocol |
|
584895b844d2
PurpleConversationType's values were pascal case when they should be upper snake case
Gary Kramlich <grim@reaperworld.com>
parents:
42613
diff
changeset
|
65 | * dependent number of contacts. |
|
584895b844d2
PurpleConversationType's values were pascal case when they should be upper snake case
Gary Kramlich <grim@reaperworld.com>
parents:
42613
diff
changeset
|
66 | * @PURPLE_CONVERSATION_TYPE_CHANNEL: A multi-user chat that is available to |
|
584895b844d2
PurpleConversationType's values were pascal case when they should be upper snake case
Gary Kramlich <grim@reaperworld.com>
parents:
42613
diff
changeset
|
67 | * all users on the protocol and has |
|
584895b844d2
PurpleConversationType's values were pascal case when they should be upper snake case
Gary Kramlich <grim@reaperworld.com>
parents:
42613
diff
changeset
|
68 | * features like moderation. |
|
584895b844d2
PurpleConversationType's values were pascal case when they should be upper snake case
Gary Kramlich <grim@reaperworld.com>
parents:
42613
diff
changeset
|
69 | * @PURPLE_CONVERSATION_TYPE_THREAD: A thread is a subset of messages from a |
|
584895b844d2
PurpleConversationType's values were pascal case when they should be upper snake case
Gary Kramlich <grim@reaperworld.com>
parents:
42613
diff
changeset
|
70 | * conversation that are related. |
|
42316
3985c3404f20
Add PurpleConversationType
Gary Kramlich <grim@reaperworld.com>
parents:
42302
diff
changeset
|
71 | * |
|
3985c3404f20
Add PurpleConversationType
Gary Kramlich <grim@reaperworld.com>
parents:
42302
diff
changeset
|
72 | * The type of the conversation. This is mostly ignored, but could be useful in |
|
3985c3404f20
Add PurpleConversationType
Gary Kramlich <grim@reaperworld.com>
parents:
42302
diff
changeset
|
73 | * ways we can't imagine right now. If you come up with one in the future, |
|
3985c3404f20
Add PurpleConversationType
Gary Kramlich <grim@reaperworld.com>
parents:
42302
diff
changeset
|
74 | * please let us know! |
|
3985c3404f20
Add PurpleConversationType
Gary Kramlich <grim@reaperworld.com>
parents:
42302
diff
changeset
|
75 | * |
|
42613
780d7efe37c2
Remove the micro version from since tags for libpurple part 2
Gary Kramlich <grim@reaperworld.com>
parents:
42594
diff
changeset
|
76 | * Since: 3.0 |
|
42316
3985c3404f20
Add PurpleConversationType
Gary Kramlich <grim@reaperworld.com>
parents:
42302
diff
changeset
|
77 | */ |
|
42387
d9350cda1556
Export symbols added for 3.0.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42355
diff
changeset
|
78 | PURPLE_AVAILABLE_TYPE_IN_3_0 |
|
42316
3985c3404f20
Add PurpleConversationType
Gary Kramlich <grim@reaperworld.com>
parents:
42302
diff
changeset
|
79 | typedef enum { |
|
42653
584895b844d2
PurpleConversationType's values were pascal case when they should be upper snake case
Gary Kramlich <grim@reaperworld.com>
parents:
42613
diff
changeset
|
80 | PURPLE_CONVERSATION_TYPE_UNSET, |
|
584895b844d2
PurpleConversationType's values were pascal case when they should be upper snake case
Gary Kramlich <grim@reaperworld.com>
parents:
42613
diff
changeset
|
81 | PURPLE_CONVERSATION_TYPE_DM, |
|
584895b844d2
PurpleConversationType's values were pascal case when they should be upper snake case
Gary Kramlich <grim@reaperworld.com>
parents:
42613
diff
changeset
|
82 | PURPLE_CONVERSATION_TYPE_GROUP_DM, |
|
584895b844d2
PurpleConversationType's values were pascal case when they should be upper snake case
Gary Kramlich <grim@reaperworld.com>
parents:
42613
diff
changeset
|
83 | PURPLE_CONVERSATION_TYPE_CHANNEL, |
|
584895b844d2
PurpleConversationType's values were pascal case when they should be upper snake case
Gary Kramlich <grim@reaperworld.com>
parents:
42613
diff
changeset
|
84 | PURPLE_CONVERSATION_TYPE_THREAD, |
|
42316
3985c3404f20
Add PurpleConversationType
Gary Kramlich <grim@reaperworld.com>
parents:
42302
diff
changeset
|
85 | } PurpleConversationType; |
|
3985c3404f20
Add PurpleConversationType
Gary Kramlich <grim@reaperworld.com>
parents:
42302
diff
changeset
|
86 | |
|
3985c3404f20
Add PurpleConversationType
Gary Kramlich <grim@reaperworld.com>
parents:
42302
diff
changeset
|
87 | /** |
|
35397
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
88 | * PurpleConversation: |
|
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
89 | * |
|
34747
2d77da77b594
Fixed documentation for PurpleConversation and PurpleConversationPrivate structs
Ankit Vani <a@nevitus.org>
parents:
34724
diff
changeset
|
90 | * A core representation of a conversation between two or more people. |
|
2d77da77b594
Fixed documentation for PurpleConversation and PurpleConversationPrivate structs
Ankit Vani <a@nevitus.org>
parents:
34724
diff
changeset
|
91 | * |
|
2d77da77b594
Fixed documentation for PurpleConversation and PurpleConversationPrivate structs
Ankit Vani <a@nevitus.org>
parents:
34724
diff
changeset
|
92 | * The conversation can be an IM or a chat. |
|
34772
618830ebcdcb
Added a note about destruction of a conversation in PurpleConversation's documentation
Ankit Vani <a@nevitus.org>
parents:
34747
diff
changeset
|
93 | * |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35047
diff
changeset
|
94 | * Note: When a conversation is destroyed with the last g_object_unref(), the |
|
34835
704ff889e9f6
Reworded the conversation destruction note
Ankit Vani <a@nevitus.org>
parents:
34772
diff
changeset
|
95 | * specified conversation is removed from the parent window. If this |
|
704ff889e9f6
Reworded the conversation destruction note
Ankit Vani <a@nevitus.org>
parents:
34772
diff
changeset
|
96 | * conversation is the only one contained in the parent window, that |
|
704ff889e9f6
Reworded the conversation destruction note
Ankit Vani <a@nevitus.org>
parents:
34772
diff
changeset
|
97 | * window is also destroyed. |
|
42409
35ac55f4809d
Mark enough Since/visibility exports for test UI
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42400
diff
changeset
|
98 | * |
|
42613
780d7efe37c2
Remove the micro version from since tags for libpurple part 2
Gary Kramlich <grim@reaperworld.com>
parents:
42594
diff
changeset
|
99 | * Since: 2.0 |
|
9554
1609ba3612c3
[gaim-migrate @ 10387]
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
9260
diff
changeset
|
100 | */ |
| 11581 | 101 | |
|
42344
c51d37734155
Rename account.[ch] to purpleaccount.[ch]
Gary Kramlich <grim@reaperworld.com>
parents:
42340
diff
changeset
|
102 | #include "purpleaccount.h" |
|
5872
754c63f29b77
[gaim-migrate @ 6304]
Christian Hammond <chipx86@chipx86.com>
parents:
5858
diff
changeset
|
103 | |
|
32787
7072f190d6ad
Use G_BEGIN/END_DECLS in public libpurple files. This was
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32698
diff
changeset
|
104 | G_BEGIN_DECLS |
| 8256 | 105 | |
|
9554
1609ba3612c3
[gaim-migrate @ 10387]
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
9260
diff
changeset
|
106 | /** |
|
42669
6d41b29637ef
Add some "is" methods to PurpleConversation to make type checking easier
Gary Kramlich <grim@reaperworld.com>
parents:
42656
diff
changeset
|
107 | * purple_conversation_is_dm: |
|
6d41b29637ef
Add some "is" methods to PurpleConversation to make type checking easier
Gary Kramlich <grim@reaperworld.com>
parents:
42656
diff
changeset
|
108 | * @conversation: The instance. |
|
6d41b29637ef
Add some "is" methods to PurpleConversation to make type checking easier
Gary Kramlich <grim@reaperworld.com>
parents:
42656
diff
changeset
|
109 | * |
|
6d41b29637ef
Add some "is" methods to PurpleConversation to make type checking easier
Gary Kramlich <grim@reaperworld.com>
parents:
42656
diff
changeset
|
110 | * Checks if @conversation is a direct message or not. |
|
6d41b29637ef
Add some "is" methods to PurpleConversation to make type checking easier
Gary Kramlich <grim@reaperworld.com>
parents:
42656
diff
changeset
|
111 | * |
|
6d41b29637ef
Add some "is" methods to PurpleConversation to make type checking easier
Gary Kramlich <grim@reaperworld.com>
parents:
42656
diff
changeset
|
112 | * This is a quick helper around manually checking the results of |
|
6d41b29637ef
Add some "is" methods to PurpleConversation to make type checking easier
Gary Kramlich <grim@reaperworld.com>
parents:
42656
diff
changeset
|
113 | * [method@Conversation.get_conversation_type]. |
|
6d41b29637ef
Add some "is" methods to PurpleConversation to make type checking easier
Gary Kramlich <grim@reaperworld.com>
parents:
42656
diff
changeset
|
114 | * |
|
6d41b29637ef
Add some "is" methods to PurpleConversation to make type checking easier
Gary Kramlich <grim@reaperworld.com>
parents:
42656
diff
changeset
|
115 | * Returns: %TRUE if @conversation is a direct message, otherwise %FALSE. |
|
6d41b29637ef
Add some "is" methods to PurpleConversation to make type checking easier
Gary Kramlich <grim@reaperworld.com>
parents:
42656
diff
changeset
|
116 | * |
|
6d41b29637ef
Add some "is" methods to PurpleConversation to make type checking easier
Gary Kramlich <grim@reaperworld.com>
parents:
42656
diff
changeset
|
117 | * Since: 3.0 |
|
6d41b29637ef
Add some "is" methods to PurpleConversation to make type checking easier
Gary Kramlich <grim@reaperworld.com>
parents:
42656
diff
changeset
|
118 | */ |
|
6d41b29637ef
Add some "is" methods to PurpleConversation to make type checking easier
Gary Kramlich <grim@reaperworld.com>
parents:
42656
diff
changeset
|
119 | PURPLE_AVAILABLE_IN_3_0 |
|
6d41b29637ef
Add some "is" methods to PurpleConversation to make type checking easier
Gary Kramlich <grim@reaperworld.com>
parents:
42656
diff
changeset
|
120 | gboolean purple_conversation_is_dm(PurpleConversation *conversation); |
|
6d41b29637ef
Add some "is" methods to PurpleConversation to make type checking easier
Gary Kramlich <grim@reaperworld.com>
parents:
42656
diff
changeset
|
121 | |
|
6d41b29637ef
Add some "is" methods to PurpleConversation to make type checking easier
Gary Kramlich <grim@reaperworld.com>
parents:
42656
diff
changeset
|
122 | /** |
|
6d41b29637ef
Add some "is" methods to PurpleConversation to make type checking easier
Gary Kramlich <grim@reaperworld.com>
parents:
42656
diff
changeset
|
123 | * purple_conversation_is_group_dm: |
|
6d41b29637ef
Add some "is" methods to PurpleConversation to make type checking easier
Gary Kramlich <grim@reaperworld.com>
parents:
42656
diff
changeset
|
124 | * @conversation: The instance. |
|
6d41b29637ef
Add some "is" methods to PurpleConversation to make type checking easier
Gary Kramlich <grim@reaperworld.com>
parents:
42656
diff
changeset
|
125 | * |
|
6d41b29637ef
Add some "is" methods to PurpleConversation to make type checking easier
Gary Kramlich <grim@reaperworld.com>
parents:
42656
diff
changeset
|
126 | * Checks if @conversation is a group direct message or not. |
|
6d41b29637ef
Add some "is" methods to PurpleConversation to make type checking easier
Gary Kramlich <grim@reaperworld.com>
parents:
42656
diff
changeset
|
127 | * |
|
6d41b29637ef
Add some "is" methods to PurpleConversation to make type checking easier
Gary Kramlich <grim@reaperworld.com>
parents:
42656
diff
changeset
|
128 | * This is a quick helper around manually checking the results of |
|
6d41b29637ef
Add some "is" methods to PurpleConversation to make type checking easier
Gary Kramlich <grim@reaperworld.com>
parents:
42656
diff
changeset
|
129 | * [method@Conversation.get_conversation_type]. |
|
6d41b29637ef
Add some "is" methods to PurpleConversation to make type checking easier
Gary Kramlich <grim@reaperworld.com>
parents:
42656
diff
changeset
|
130 | * |
|
6d41b29637ef
Add some "is" methods to PurpleConversation to make type checking easier
Gary Kramlich <grim@reaperworld.com>
parents:
42656
diff
changeset
|
131 | * Returns: %TRUE if @conversation is a group direct message, otherwise %FALSE. |
|
6d41b29637ef
Add some "is" methods to PurpleConversation to make type checking easier
Gary Kramlich <grim@reaperworld.com>
parents:
42656
diff
changeset
|
132 | * |
|
6d41b29637ef
Add some "is" methods to PurpleConversation to make type checking easier
Gary Kramlich <grim@reaperworld.com>
parents:
42656
diff
changeset
|
133 | * Since: 3.0 |
|
6d41b29637ef
Add some "is" methods to PurpleConversation to make type checking easier
Gary Kramlich <grim@reaperworld.com>
parents:
42656
diff
changeset
|
134 | */ |
|
6d41b29637ef
Add some "is" methods to PurpleConversation to make type checking easier
Gary Kramlich <grim@reaperworld.com>
parents:
42656
diff
changeset
|
135 | PURPLE_AVAILABLE_IN_3_0 |
|
6d41b29637ef
Add some "is" methods to PurpleConversation to make type checking easier
Gary Kramlich <grim@reaperworld.com>
parents:
42656
diff
changeset
|
136 | gboolean purple_conversation_is_group_dm(PurpleConversation *conversation); |
|
6d41b29637ef
Add some "is" methods to PurpleConversation to make type checking easier
Gary Kramlich <grim@reaperworld.com>
parents:
42656
diff
changeset
|
137 | |
|
6d41b29637ef
Add some "is" methods to PurpleConversation to make type checking easier
Gary Kramlich <grim@reaperworld.com>
parents:
42656
diff
changeset
|
138 | /** |
|
6d41b29637ef
Add some "is" methods to PurpleConversation to make type checking easier
Gary Kramlich <grim@reaperworld.com>
parents:
42656
diff
changeset
|
139 | * purple_conversation_is_channel: |
|
6d41b29637ef
Add some "is" methods to PurpleConversation to make type checking easier
Gary Kramlich <grim@reaperworld.com>
parents:
42656
diff
changeset
|
140 | * @conversation: The instance. |
|
6d41b29637ef
Add some "is" methods to PurpleConversation to make type checking easier
Gary Kramlich <grim@reaperworld.com>
parents:
42656
diff
changeset
|
141 | * |
|
6d41b29637ef
Add some "is" methods to PurpleConversation to make type checking easier
Gary Kramlich <grim@reaperworld.com>
parents:
42656
diff
changeset
|
142 | * Checks if @conversation is a channel or not. |
|
6d41b29637ef
Add some "is" methods to PurpleConversation to make type checking easier
Gary Kramlich <grim@reaperworld.com>
parents:
42656
diff
changeset
|
143 | * |
|
6d41b29637ef
Add some "is" methods to PurpleConversation to make type checking easier
Gary Kramlich <grim@reaperworld.com>
parents:
42656
diff
changeset
|
144 | * This is a quick helper around manually checking the results of |
|
6d41b29637ef
Add some "is" methods to PurpleConversation to make type checking easier
Gary Kramlich <grim@reaperworld.com>
parents:
42656
diff
changeset
|
145 | * [method@Conversation.get_conversation_type]. |
|
6d41b29637ef
Add some "is" methods to PurpleConversation to make type checking easier
Gary Kramlich <grim@reaperworld.com>
parents:
42656
diff
changeset
|
146 | * |
|
6d41b29637ef
Add some "is" methods to PurpleConversation to make type checking easier
Gary Kramlich <grim@reaperworld.com>
parents:
42656
diff
changeset
|
147 | * Returns: %TRUE if @conversation is a channel, otherwise %FALSE. |
|
6d41b29637ef
Add some "is" methods to PurpleConversation to make type checking easier
Gary Kramlich <grim@reaperworld.com>
parents:
42656
diff
changeset
|
148 | * |
|
6d41b29637ef
Add some "is" methods to PurpleConversation to make type checking easier
Gary Kramlich <grim@reaperworld.com>
parents:
42656
diff
changeset
|
149 | * Since: 3.0 |
|
6d41b29637ef
Add some "is" methods to PurpleConversation to make type checking easier
Gary Kramlich <grim@reaperworld.com>
parents:
42656
diff
changeset
|
150 | */ |
|
6d41b29637ef
Add some "is" methods to PurpleConversation to make type checking easier
Gary Kramlich <grim@reaperworld.com>
parents:
42656
diff
changeset
|
151 | PURPLE_AVAILABLE_IN_3_0 |
|
6d41b29637ef
Add some "is" methods to PurpleConversation to make type checking easier
Gary Kramlich <grim@reaperworld.com>
parents:
42656
diff
changeset
|
152 | gboolean purple_conversation_is_channel(PurpleConversation *conversation); |
|
6d41b29637ef
Add some "is" methods to PurpleConversation to make type checking easier
Gary Kramlich <grim@reaperworld.com>
parents:
42656
diff
changeset
|
153 | |
|
6d41b29637ef
Add some "is" methods to PurpleConversation to make type checking easier
Gary Kramlich <grim@reaperworld.com>
parents:
42656
diff
changeset
|
154 | /** |
|
6d41b29637ef
Add some "is" methods to PurpleConversation to make type checking easier
Gary Kramlich <grim@reaperworld.com>
parents:
42656
diff
changeset
|
155 | * purple_conversation_is_thread: |
|
6d41b29637ef
Add some "is" methods to PurpleConversation to make type checking easier
Gary Kramlich <grim@reaperworld.com>
parents:
42656
diff
changeset
|
156 | * @conversation: The instance. |
|
6d41b29637ef
Add some "is" methods to PurpleConversation to make type checking easier
Gary Kramlich <grim@reaperworld.com>
parents:
42656
diff
changeset
|
157 | * |
|
6d41b29637ef
Add some "is" methods to PurpleConversation to make type checking easier
Gary Kramlich <grim@reaperworld.com>
parents:
42656
diff
changeset
|
158 | * Checks if @conversation is a thread or not. |
|
6d41b29637ef
Add some "is" methods to PurpleConversation to make type checking easier
Gary Kramlich <grim@reaperworld.com>
parents:
42656
diff
changeset
|
159 | * |
|
6d41b29637ef
Add some "is" methods to PurpleConversation to make type checking easier
Gary Kramlich <grim@reaperworld.com>
parents:
42656
diff
changeset
|
160 | * This is a quick helper around manually checking the results of |
|
6d41b29637ef
Add some "is" methods to PurpleConversation to make type checking easier
Gary Kramlich <grim@reaperworld.com>
parents:
42656
diff
changeset
|
161 | * [method@Conversation.get_conversation_type]. |
|
6d41b29637ef
Add some "is" methods to PurpleConversation to make type checking easier
Gary Kramlich <grim@reaperworld.com>
parents:
42656
diff
changeset
|
162 | * |
|
6d41b29637ef
Add some "is" methods to PurpleConversation to make type checking easier
Gary Kramlich <grim@reaperworld.com>
parents:
42656
diff
changeset
|
163 | * Returns: %TRUE if @conversation is a thread, otherwise %FALSE. |
|
6d41b29637ef
Add some "is" methods to PurpleConversation to make type checking easier
Gary Kramlich <grim@reaperworld.com>
parents:
42656
diff
changeset
|
164 | * |
|
6d41b29637ef
Add some "is" methods to PurpleConversation to make type checking easier
Gary Kramlich <grim@reaperworld.com>
parents:
42656
diff
changeset
|
165 | * Since: 3.0 |
|
6d41b29637ef
Add some "is" methods to PurpleConversation to make type checking easier
Gary Kramlich <grim@reaperworld.com>
parents:
42656
diff
changeset
|
166 | */ |
|
6d41b29637ef
Add some "is" methods to PurpleConversation to make type checking easier
Gary Kramlich <grim@reaperworld.com>
parents:
42656
diff
changeset
|
167 | PURPLE_AVAILABLE_IN_3_0 |
|
6d41b29637ef
Add some "is" methods to PurpleConversation to make type checking easier
Gary Kramlich <grim@reaperworld.com>
parents:
42656
diff
changeset
|
168 | gboolean purple_conversation_is_thread(PurpleConversation *conversation); |
|
6d41b29637ef
Add some "is" methods to PurpleConversation to make type checking easier
Gary Kramlich <grim@reaperworld.com>
parents:
42656
diff
changeset
|
169 | |
|
6d41b29637ef
Add some "is" methods to PurpleConversation to make type checking easier
Gary Kramlich <grim@reaperworld.com>
parents:
42656
diff
changeset
|
170 | /** |
|
35397
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
171 | * purple_conversation_present: |
|
42735
441ec6ccbd93
A bunch of random cleanups for PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42734
diff
changeset
|
172 | * @conversation: The conversation to present |
| 4359 | 173 | * |
|
42736
630084f39cc5
Add a present signal to PurpleConversation and propagate it from PurpleConversationManager
Gary Kramlich <grim@reaperworld.com>
parents:
42735
diff
changeset
|
174 | * Emits [signal@Conversation::present]. |
|
42409
35ac55f4809d
Mark enough Since/visibility exports for test UI
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42400
diff
changeset
|
175 | * |
|
42613
780d7efe37c2
Remove the micro version from since tags for libpurple part 2
Gary Kramlich <grim@reaperworld.com>
parents:
42594
diff
changeset
|
176 | * Since: 2.0 |
|
12624
c1c92f08976b
[gaim-migrate @ 14960]
Christopher O'Brien <siege@pidgin.im>
parents:
12618
diff
changeset
|
177 | */ |
|
42409
35ac55f4809d
Mark enough Since/visibility exports for test UI
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42400
diff
changeset
|
178 | PURPLE_AVAILABLE_IN_ALL |
|
42735
441ec6ccbd93
A bunch of random cleanups for PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42734
diff
changeset
|
179 | void purple_conversation_present(PurpleConversation *conversation); |
|
12624
c1c92f08976b
[gaim-migrate @ 14960]
Christopher O'Brien <siege@pidgin.im>
parents:
12618
diff
changeset
|
180 | |
| 4359 | 181 | /** |
|
42272
015257326ad4
Add an id property to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42114
diff
changeset
|
182 | * purple_conversation_get_id: |
|
015257326ad4
Add an id property to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42114
diff
changeset
|
183 | * @conversation: The instance. |
|
015257326ad4
Add an id property to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42114
diff
changeset
|
184 | * |
|
015257326ad4
Add an id property to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42114
diff
changeset
|
185 | * Gets the opaque identifier from @conversation. |
|
015257326ad4
Add an id property to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42114
diff
changeset
|
186 | * |
|
42800
5c55680a1a6b
Add Purple.Conversation:global-id
Gary Kramlich <grim@reaperworld.com>
parents:
42773
diff
changeset
|
187 | * This value is specific to the protocol and could conflict with the same |
|
5c55680a1a6b
Add Purple.Conversation:global-id
Gary Kramlich <grim@reaperworld.com>
parents:
42773
diff
changeset
|
188 | * conversation on other accounts. To get a libpurple unique id see |
|
5c55680a1a6b
Add Purple.Conversation:global-id
Gary Kramlich <grim@reaperworld.com>
parents:
42773
diff
changeset
|
189 | * [method@Conversation.get_global_id]. |
|
5c55680a1a6b
Add Purple.Conversation:global-id
Gary Kramlich <grim@reaperworld.com>
parents:
42773
diff
changeset
|
190 | * |
|
42272
015257326ad4
Add an id property to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42114
diff
changeset
|
191 | * Returns: (nullable): The id of @conversation. |
|
015257326ad4
Add an id property to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42114
diff
changeset
|
192 | * |
|
42613
780d7efe37c2
Remove the micro version from since tags for libpurple part 2
Gary Kramlich <grim@reaperworld.com>
parents:
42594
diff
changeset
|
193 | * Since: 3.0 |
|
42272
015257326ad4
Add an id property to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42114
diff
changeset
|
194 | */ |
|
42387
d9350cda1556
Export symbols added for 3.0.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42355
diff
changeset
|
195 | PURPLE_AVAILABLE_IN_3_0 |
|
42272
015257326ad4
Add an id property to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42114
diff
changeset
|
196 | const char *purple_conversation_get_id(PurpleConversation *conversation); |
|
015257326ad4
Add an id property to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42114
diff
changeset
|
197 | |
|
015257326ad4
Add an id property to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42114
diff
changeset
|
198 | /** |
|
42800
5c55680a1a6b
Add Purple.Conversation:global-id
Gary Kramlich <grim@reaperworld.com>
parents:
42773
diff
changeset
|
199 | * purple_conversation_get_global_id: |
|
5c55680a1a6b
Add Purple.Conversation:global-id
Gary Kramlich <grim@reaperworld.com>
parents:
42773
diff
changeset
|
200 | * @conversation: The instance. |
|
5c55680a1a6b
Add Purple.Conversation:global-id
Gary Kramlich <grim@reaperworld.com>
parents:
42773
diff
changeset
|
201 | * |
|
5c55680a1a6b
Add Purple.Conversation:global-id
Gary Kramlich <grim@reaperworld.com>
parents:
42773
diff
changeset
|
202 | * Gets a globally unique id for @conversation. |
|
5c55680a1a6b
Add Purple.Conversation:global-id
Gary Kramlich <grim@reaperworld.com>
parents:
42773
diff
changeset
|
203 | * |
|
5c55680a1a6b
Add Purple.Conversation:global-id
Gary Kramlich <grim@reaperworld.com>
parents:
42773
diff
changeset
|
204 | * This id ties the [property@Conversation:id] to the [class@Account] that the |
|
5c55680a1a6b
Add Purple.Conversation:global-id
Gary Kramlich <grim@reaperworld.com>
parents:
42773
diff
changeset
|
205 | * conversation is for. |
|
5c55680a1a6b
Add Purple.Conversation:global-id
Gary Kramlich <grim@reaperworld.com>
parents:
42773
diff
changeset
|
206 | * |
|
5c55680a1a6b
Add Purple.Conversation:global-id
Gary Kramlich <grim@reaperworld.com>
parents:
42773
diff
changeset
|
207 | * Returns: (transfer full): A globally unique id of @conversation. |
|
5c55680a1a6b
Add Purple.Conversation:global-id
Gary Kramlich <grim@reaperworld.com>
parents:
42773
diff
changeset
|
208 | * |
|
5c55680a1a6b
Add Purple.Conversation:global-id
Gary Kramlich <grim@reaperworld.com>
parents:
42773
diff
changeset
|
209 | * Since: 3.0 |
|
5c55680a1a6b
Add Purple.Conversation:global-id
Gary Kramlich <grim@reaperworld.com>
parents:
42773
diff
changeset
|
210 | */ |
|
5c55680a1a6b
Add Purple.Conversation:global-id
Gary Kramlich <grim@reaperworld.com>
parents:
42773
diff
changeset
|
211 | PURPLE_AVAILABLE_IN_3_0 |
|
5c55680a1a6b
Add Purple.Conversation:global-id
Gary Kramlich <grim@reaperworld.com>
parents:
42773
diff
changeset
|
212 | char *purple_conversation_get_global_id(PurpleConversation *conversation); |
|
5c55680a1a6b
Add Purple.Conversation:global-id
Gary Kramlich <grim@reaperworld.com>
parents:
42773
diff
changeset
|
213 | |
|
5c55680a1a6b
Add Purple.Conversation:global-id
Gary Kramlich <grim@reaperworld.com>
parents:
42773
diff
changeset
|
214 | /** |
|
42316
3985c3404f20
Add PurpleConversationType
Gary Kramlich <grim@reaperworld.com>
parents:
42302
diff
changeset
|
215 | * purple_conversation_get_conversation_type: |
|
3985c3404f20
Add PurpleConversationType
Gary Kramlich <grim@reaperworld.com>
parents:
42302
diff
changeset
|
216 | * @conversation: The instance. |
|
3985c3404f20
Add PurpleConversationType
Gary Kramlich <grim@reaperworld.com>
parents:
42302
diff
changeset
|
217 | * |
|
3985c3404f20
Add PurpleConversationType
Gary Kramlich <grim@reaperworld.com>
parents:
42302
diff
changeset
|
218 | * Gets the type of @conversation. |
|
3985c3404f20
Add PurpleConversationType
Gary Kramlich <grim@reaperworld.com>
parents:
42302
diff
changeset
|
219 | * |
|
3985c3404f20
Add PurpleConversationType
Gary Kramlich <grim@reaperworld.com>
parents:
42302
diff
changeset
|
220 | * Returns: The [enum@ConversationType] of @conversation. |
|
3985c3404f20
Add PurpleConversationType
Gary Kramlich <grim@reaperworld.com>
parents:
42302
diff
changeset
|
221 | * |
|
42613
780d7efe37c2
Remove the micro version from since tags for libpurple part 2
Gary Kramlich <grim@reaperworld.com>
parents:
42594
diff
changeset
|
222 | * Since: 3.0 |
|
42316
3985c3404f20
Add PurpleConversationType
Gary Kramlich <grim@reaperworld.com>
parents:
42302
diff
changeset
|
223 | */ |
|
42387
d9350cda1556
Export symbols added for 3.0.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42355
diff
changeset
|
224 | PURPLE_AVAILABLE_IN_3_0 |
|
42316
3985c3404f20
Add PurpleConversationType
Gary Kramlich <grim@reaperworld.com>
parents:
42302
diff
changeset
|
225 | PurpleConversationType purple_conversation_get_conversation_type(PurpleConversation *conversation); |
|
3985c3404f20
Add PurpleConversationType
Gary Kramlich <grim@reaperworld.com>
parents:
42302
diff
changeset
|
226 | |
|
3985c3404f20
Add PurpleConversationType
Gary Kramlich <grim@reaperworld.com>
parents:
42302
diff
changeset
|
227 | /** |
|
35397
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
228 | * purple_conversation_get_account: |
|
42735
441ec6ccbd93
A bunch of random cleanups for PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42734
diff
changeset
|
229 | * @conversation: The conversation. |
|
35397
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
230 | * |
| 15884 | 231 | * Returns the specified conversation's purple_account. |
| 4359 | 232 | * |
| 15884 | 233 | * This purple_account represents the user using purple, not the person the user |
| 4359 | 234 | * is having a conversation/chat/flame with. |
| 235 | * | |
|
37403
7143e2dbdd8d
Improve documentation for Conversation API
Jorge Villaseñor <salinasv@pidgin.im>
parents:
37224
diff
changeset
|
236 | * Returns: (transfer none): The conversation's purple_account. |
|
42409
35ac55f4809d
Mark enough Since/visibility exports for test UI
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42400
diff
changeset
|
237 | * |
|
42613
780d7efe37c2
Remove the micro version from since tags for libpurple part 2
Gary Kramlich <grim@reaperworld.com>
parents:
42594
diff
changeset
|
238 | * Since: 2.0 |
| 4359 | 239 | */ |
|
42409
35ac55f4809d
Mark enough Since/visibility exports for test UI
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42400
diff
changeset
|
240 | PURPLE_AVAILABLE_IN_ALL |
|
42735
441ec6ccbd93
A bunch of random cleanups for PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42734
diff
changeset
|
241 | PurpleAccount *purple_conversation_get_account(PurpleConversation *conversation); |
| 4359 | 242 | |
| 243 | /** | |
|
35397
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
244 | * purple_conversation_get_connection: |
|
42735
441ec6ccbd93
A bunch of random cleanups for PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42734
diff
changeset
|
245 | * @conversation: The conversation. |
| 4359 | 246 | * |
| 15884 | 247 | * Returns the specified conversation's purple_connection. |
| 4359 | 248 | * |
|
37403
7143e2dbdd8d
Improve documentation for Conversation API
Jorge Villaseñor <salinasv@pidgin.im>
parents:
37224
diff
changeset
|
249 | * Returns: (transfer none): The conversation's purple_connection. |
|
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
|
250 | * |
|
42613
780d7efe37c2
Remove the micro version from since tags for libpurple part 2
Gary Kramlich <grim@reaperworld.com>
parents:
42594
diff
changeset
|
251 | * Since: 3.0 |
| 4359 | 252 | */ |
|
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
|
253 | PURPLE_AVAILABLE_IN_3_0 |
|
42735
441ec6ccbd93
A bunch of random cleanups for PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42734
diff
changeset
|
254 | PurpleConnection *purple_conversation_get_connection(PurpleConversation *conversation); |
| 4359 | 255 | |
| 256 | /** | |
|
35397
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
257 | * purple_conversation_set_title: |
|
42735
441ec6ccbd93
A bunch of random cleanups for PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42734
diff
changeset
|
258 | * @conversation: The conversation. |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35047
diff
changeset
|
259 | * @title: The title. |
| 4359 | 260 | * |
|
35397
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
261 | * Sets the specified conversation's title. |
|
42409
35ac55f4809d
Mark enough Since/visibility exports for test UI
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42400
diff
changeset
|
262 | * |
|
42613
780d7efe37c2
Remove the micro version from since tags for libpurple part 2
Gary Kramlich <grim@reaperworld.com>
parents:
42594
diff
changeset
|
263 | * Since: 2.0 |
| 4359 | 264 | */ |
|
42409
35ac55f4809d
Mark enough Since/visibility exports for test UI
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42400
diff
changeset
|
265 | PURPLE_AVAILABLE_IN_ALL |
|
42735
441ec6ccbd93
A bunch of random cleanups for PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42734
diff
changeset
|
266 | void purple_conversation_set_title(PurpleConversation *conversation, const char *title); |
| 4359 | 267 | |
| 268 | /** | |
|
35397
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
269 | * purple_conversation_get_title: |
|
42735
441ec6ccbd93
A bunch of random cleanups for PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42734
diff
changeset
|
270 | * @conversation: The conversation. |
| 4359 | 271 | * |
| 272 | * Returns the specified conversation's title. | |
| 273 | * | |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35047
diff
changeset
|
274 | * Returns: The title. |
|
42409
35ac55f4809d
Mark enough Since/visibility exports for test UI
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42400
diff
changeset
|
275 | * |
|
42613
780d7efe37c2
Remove the micro version from since tags for libpurple part 2
Gary Kramlich <grim@reaperworld.com>
parents:
42594
diff
changeset
|
276 | * Since: 2.0 |
| 4359 | 277 | */ |
|
42409
35ac55f4809d
Mark enough Since/visibility exports for test UI
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42400
diff
changeset
|
278 | PURPLE_AVAILABLE_IN_ALL |
|
42735
441ec6ccbd93
A bunch of random cleanups for PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42734
diff
changeset
|
279 | const char *purple_conversation_get_title(PurpleConversation *conversation); |
| 4359 | 280 | |
| 281 | /** | |
|
42760
0c293ecd56c2
Automatically generate titles for DMs and GroupDMs
Gary Kramlich <grim@reaperworld.com>
parents:
42743
diff
changeset
|
282 | * purple_conversation_generate_title: |
|
0c293ecd56c2
Automatically generate titles for DMs and GroupDMs
Gary Kramlich <grim@reaperworld.com>
parents:
42743
diff
changeset
|
283 | * @conversation: The instance. |
|
0c293ecd56c2
Automatically generate titles for DMs and GroupDMs
Gary Kramlich <grim@reaperworld.com>
parents:
42743
diff
changeset
|
284 | * |
|
0c293ecd56c2
Automatically generate titles for DMs and GroupDMs
Gary Kramlich <grim@reaperworld.com>
parents:
42743
diff
changeset
|
285 | * Sets the title for @conversation, which must be a DM or Group DM, to a comma |
|
0c293ecd56c2
Automatically generate titles for DMs and GroupDMs
Gary Kramlich <grim@reaperworld.com>
parents:
42743
diff
changeset
|
286 | * separated string of the display names for each [class@ConversationMember]. |
|
35397
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
287 | * |
|
42760
0c293ecd56c2
Automatically generate titles for DMs and GroupDMs
Gary Kramlich <grim@reaperworld.com>
parents:
42743
diff
changeset
|
288 | * If @conversation is not a DM or Group DM, no changes will be made. |
|
0c293ecd56c2
Automatically generate titles for DMs and GroupDMs
Gary Kramlich <grim@reaperworld.com>
parents:
42743
diff
changeset
|
289 | * |
|
0c293ecd56c2
Automatically generate titles for DMs and GroupDMs
Gary Kramlich <grim@reaperworld.com>
parents:
42743
diff
changeset
|
290 | * If no members are found, [property@Conversation:title] will not be changed. |
|
0c293ecd56c2
Automatically generate titles for DMs and GroupDMs
Gary Kramlich <grim@reaperworld.com>
parents:
42743
diff
changeset
|
291 | * |
|
0c293ecd56c2
Automatically generate titles for DMs and GroupDMs
Gary Kramlich <grim@reaperworld.com>
parents:
42743
diff
changeset
|
292 | * If the title is updated, [property@Conversation:title-generated] will be |
|
0c293ecd56c2
Automatically generate titles for DMs and GroupDMs
Gary Kramlich <grim@reaperworld.com>
parents:
42743
diff
changeset
|
293 | * updated as well. |
| 4359 | 294 | * |
|
42760
0c293ecd56c2
Automatically generate titles for DMs and GroupDMs
Gary Kramlich <grim@reaperworld.com>
parents:
42743
diff
changeset
|
295 | * Since: 3.0 |
|
0c293ecd56c2
Automatically generate titles for DMs and GroupDMs
Gary Kramlich <grim@reaperworld.com>
parents:
42743
diff
changeset
|
296 | */ |
|
0c293ecd56c2
Automatically generate titles for DMs and GroupDMs
Gary Kramlich <grim@reaperworld.com>
parents:
42743
diff
changeset
|
297 | PURPLE_AVAILABLE_IN_3_0 |
|
0c293ecd56c2
Automatically generate titles for DMs and GroupDMs
Gary Kramlich <grim@reaperworld.com>
parents:
42743
diff
changeset
|
298 | void purple_conversation_generate_title(PurpleConversation *conversation); |
|
0c293ecd56c2
Automatically generate titles for DMs and GroupDMs
Gary Kramlich <grim@reaperworld.com>
parents:
42743
diff
changeset
|
299 | |
|
0c293ecd56c2
Automatically generate titles for DMs and GroupDMs
Gary Kramlich <grim@reaperworld.com>
parents:
42743
diff
changeset
|
300 | /** |
|
0c293ecd56c2
Automatically generate titles for DMs and GroupDMs
Gary Kramlich <grim@reaperworld.com>
parents:
42743
diff
changeset
|
301 | * purple_conversation_get_title_generated: |
|
0c293ecd56c2
Automatically generate titles for DMs and GroupDMs
Gary Kramlich <grim@reaperworld.com>
parents:
42743
diff
changeset
|
302 | * @conversation: The instance. |
|
42409
35ac55f4809d
Mark enough Since/visibility exports for test UI
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42400
diff
changeset
|
303 | * |
|
42760
0c293ecd56c2
Automatically generate titles for DMs and GroupDMs
Gary Kramlich <grim@reaperworld.com>
parents:
42743
diff
changeset
|
304 | * Gets whether or not the current title was automatically generated via |
|
0c293ecd56c2
Automatically generate titles for DMs and GroupDMs
Gary Kramlich <grim@reaperworld.com>
parents:
42743
diff
changeset
|
305 | * [method@Conversation.generate_title]. |
|
0c293ecd56c2
Automatically generate titles for DMs and GroupDMs
Gary Kramlich <grim@reaperworld.com>
parents:
42743
diff
changeset
|
306 | * |
|
0c293ecd56c2
Automatically generate titles for DMs and GroupDMs
Gary Kramlich <grim@reaperworld.com>
parents:
42743
diff
changeset
|
307 | * Returns: %TRUE if the title was automatically generated. |
|
0c293ecd56c2
Automatically generate titles for DMs and GroupDMs
Gary Kramlich <grim@reaperworld.com>
parents:
42743
diff
changeset
|
308 | * |
|
0c293ecd56c2
Automatically generate titles for DMs and GroupDMs
Gary Kramlich <grim@reaperworld.com>
parents:
42743
diff
changeset
|
309 | * Since: 3.0 |
| 4359 | 310 | */ |
|
42760
0c293ecd56c2
Automatically generate titles for DMs and GroupDMs
Gary Kramlich <grim@reaperworld.com>
parents:
42743
diff
changeset
|
311 | PURPLE_AVAILABLE_IN_3_0 |
|
0c293ecd56c2
Automatically generate titles for DMs and GroupDMs
Gary Kramlich <grim@reaperworld.com>
parents:
42743
diff
changeset
|
312 | gboolean purple_conversation_get_title_generated(PurpleConversation *conversation); |
| 4359 | 313 | |
| 314 | /** | |
|
43137
8d1d2ab65c87
Add properties to track whether conversation properties are editable
Gary Kramlich <grim@reaperworld.com>
parents:
43135
diff
changeset
|
315 | * purple_conversation_get_title_editable: |
|
8d1d2ab65c87
Add properties to track whether conversation properties are editable
Gary Kramlich <grim@reaperworld.com>
parents:
43135
diff
changeset
|
316 | * |
|
8d1d2ab65c87
Add properties to track whether conversation properties are editable
Gary Kramlich <grim@reaperworld.com>
parents:
43135
diff
changeset
|
317 | * Gets whether or not the conversation title is editable. |
|
8d1d2ab65c87
Add properties to track whether conversation properties are editable
Gary Kramlich <grim@reaperworld.com>
parents:
43135
diff
changeset
|
318 | * |
|
8d1d2ab65c87
Add properties to track whether conversation properties are editable
Gary Kramlich <grim@reaperworld.com>
parents:
43135
diff
changeset
|
319 | * Returns: true if the user can edit the title; otherwise false. |
|
8d1d2ab65c87
Add properties to track whether conversation properties are editable
Gary Kramlich <grim@reaperworld.com>
parents:
43135
diff
changeset
|
320 | * |
|
8d1d2ab65c87
Add properties to track whether conversation properties are editable
Gary Kramlich <grim@reaperworld.com>
parents:
43135
diff
changeset
|
321 | * Since: 3.0 |
|
8d1d2ab65c87
Add properties to track whether conversation properties are editable
Gary Kramlich <grim@reaperworld.com>
parents:
43135
diff
changeset
|
322 | */ |
|
8d1d2ab65c87
Add properties to track whether conversation properties are editable
Gary Kramlich <grim@reaperworld.com>
parents:
43135
diff
changeset
|
323 | PURPLE_AVAILABLE_IN_3_0 |
|
8d1d2ab65c87
Add properties to track whether conversation properties are editable
Gary Kramlich <grim@reaperworld.com>
parents:
43135
diff
changeset
|
324 | gboolean purple_conversation_get_title_editable(PurpleConversation *conversation); |
|
8d1d2ab65c87
Add properties to track whether conversation properties are editable
Gary Kramlich <grim@reaperworld.com>
parents:
43135
diff
changeset
|
325 | |
|
8d1d2ab65c87
Add properties to track whether conversation properties are editable
Gary Kramlich <grim@reaperworld.com>
parents:
43135
diff
changeset
|
326 | /** |
|
8d1d2ab65c87
Add properties to track whether conversation properties are editable
Gary Kramlich <grim@reaperworld.com>
parents:
43135
diff
changeset
|
327 | * purple_conversation_set_title_editable: |
|
8d1d2ab65c87
Add properties to track whether conversation properties are editable
Gary Kramlich <grim@reaperworld.com>
parents:
43135
diff
changeset
|
328 | * @editable: the new value |
|
8d1d2ab65c87
Add properties to track whether conversation properties are editable
Gary Kramlich <grim@reaperworld.com>
parents:
43135
diff
changeset
|
329 | * |
|
8d1d2ab65c87
Add properties to track whether conversation properties are editable
Gary Kramlich <grim@reaperworld.com>
parents:
43135
diff
changeset
|
330 | * Sets whether or not a conversation's title is editable. |
|
8d1d2ab65c87
Add properties to track whether conversation properties are editable
Gary Kramlich <grim@reaperworld.com>
parents:
43135
diff
changeset
|
331 | * |
|
8d1d2ab65c87
Add properties to track whether conversation properties are editable
Gary Kramlich <grim@reaperworld.com>
parents:
43135
diff
changeset
|
332 | * This should primarily be called by a protocol when a user's permissions |
|
8d1d2ab65c87
Add properties to track whether conversation properties are editable
Gary Kramlich <grim@reaperworld.com>
parents:
43135
diff
changeset
|
333 | * change in the conversation. |
|
8d1d2ab65c87
Add properties to track whether conversation properties are editable
Gary Kramlich <grim@reaperworld.com>
parents:
43135
diff
changeset
|
334 | * |
|
8d1d2ab65c87
Add properties to track whether conversation properties are editable
Gary Kramlich <grim@reaperworld.com>
parents:
43135
diff
changeset
|
335 | * Since: 3.0 |
|
8d1d2ab65c87
Add properties to track whether conversation properties are editable
Gary Kramlich <grim@reaperworld.com>
parents:
43135
diff
changeset
|
336 | */ |
|
8d1d2ab65c87
Add properties to track whether conversation properties are editable
Gary Kramlich <grim@reaperworld.com>
parents:
43135
diff
changeset
|
337 | PURPLE_AVAILABLE_IN_3_0 |
|
8d1d2ab65c87
Add properties to track whether conversation properties are editable
Gary Kramlich <grim@reaperworld.com>
parents:
43135
diff
changeset
|
338 | void purple_conversation_set_title_editable(PurpleConversation *conversation, gboolean editable); |
|
8d1d2ab65c87
Add properties to track whether conversation properties are editable
Gary Kramlich <grim@reaperworld.com>
parents:
43135
diff
changeset
|
339 | |
|
8d1d2ab65c87
Add properties to track whether conversation properties are editable
Gary Kramlich <grim@reaperworld.com>
parents:
43135
diff
changeset
|
340 | /** |
|
35397
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
341 | * purple_conversation_write_message: |
|
42735
441ec6ccbd93
A bunch of random cleanups for PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42734
diff
changeset
|
342 | * @conversation: The conversation. |
|
441ec6ccbd93
A bunch of random cleanups for PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42734
diff
changeset
|
343 | * @message: The message to write. |
| 4359 | 344 | * |
|
35397
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
345 | * Writes to a chat or an IM. |
|
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
|
346 | * |
|
42613
780d7efe37c2
Remove the micro version from since tags for libpurple part 2
Gary Kramlich <grim@reaperworld.com>
parents:
42594
diff
changeset
|
347 | * Since: 3.0 |
| 4359 | 348 | */ |
|
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
|
349 | PURPLE_AVAILABLE_IN_3_0 |
|
42737
ce31b5b1186f
fix documentation warnings in purpleconversation
Markus Fischer <ivanhoe@fiscari.de>
parents:
42736
diff
changeset
|
350 | void purple_conversation_write_message(PurpleConversation *conversation, PurpleMessage *message); |
| 4359 | 351 | |
| 352 | /** | |
|
42743
bcc726c6c61a
Add purple_conversation_send_message_async and _finish
Gary Kramlich <grim@reaperworld.com>
parents:
42740
diff
changeset
|
353 | * purple_conversation_send_message_async: |
|
bcc726c6c61a
Add purple_conversation_send_message_async and _finish
Gary Kramlich <grim@reaperworld.com>
parents:
42740
diff
changeset
|
354 | * @conversation: The conversation. |
|
bcc726c6c61a
Add purple_conversation_send_message_async and _finish
Gary Kramlich <grim@reaperworld.com>
parents:
42740
diff
changeset
|
355 | * @message: The message to send. |
|
bcc726c6c61a
Add purple_conversation_send_message_async and _finish
Gary Kramlich <grim@reaperworld.com>
parents:
42740
diff
changeset
|
356 | * @cancellable: (nullable): optional GCancellable object, %NULL to ignore. |
|
bcc726c6c61a
Add purple_conversation_send_message_async and _finish
Gary Kramlich <grim@reaperworld.com>
parents:
42740
diff
changeset
|
357 | * @callback: (nullable) (scope async): The callback to call after the |
|
bcc726c6c61a
Add purple_conversation_send_message_async and _finish
Gary Kramlich <grim@reaperworld.com>
parents:
42740
diff
changeset
|
358 | * conversation has been created. |
|
bcc726c6c61a
Add purple_conversation_send_message_async and _finish
Gary Kramlich <grim@reaperworld.com>
parents:
42740
diff
changeset
|
359 | * @data: (nullable): Optional user data to pass to @callback. |
|
bcc726c6c61a
Add purple_conversation_send_message_async and _finish
Gary Kramlich <grim@reaperworld.com>
parents:
42740
diff
changeset
|
360 | * |
|
bcc726c6c61a
Add purple_conversation_send_message_async and _finish
Gary Kramlich <grim@reaperworld.com>
parents:
42740
diff
changeset
|
361 | * Sends @message to @conversation. |
|
bcc726c6c61a
Add purple_conversation_send_message_async and _finish
Gary Kramlich <grim@reaperworld.com>
parents:
42740
diff
changeset
|
362 | * |
|
bcc726c6c61a
Add purple_conversation_send_message_async and _finish
Gary Kramlich <grim@reaperworld.com>
parents:
42740
diff
changeset
|
363 | * This will lookup the account and protocol plugin that @conversation belongs |
|
bcc726c6c61a
Add purple_conversation_send_message_async and _finish
Gary Kramlich <grim@reaperworld.com>
parents:
42740
diff
changeset
|
364 | * to and call [method@ProtocolConversation.send_message_async] for @message. |
|
bcc726c6c61a
Add purple_conversation_send_message_async and _finish
Gary Kramlich <grim@reaperworld.com>
parents:
42740
diff
changeset
|
365 | * |
|
bcc726c6c61a
Add purple_conversation_send_message_async and _finish
Gary Kramlich <grim@reaperworld.com>
parents:
42740
diff
changeset
|
366 | * You will need to call [method@Conversation.send_message_finish] from |
|
bcc726c6c61a
Add purple_conversation_send_message_async and _finish
Gary Kramlich <grim@reaperworld.com>
parents:
42740
diff
changeset
|
367 | * @callback. |
|
bcc726c6c61a
Add purple_conversation_send_message_async and _finish
Gary Kramlich <grim@reaperworld.com>
parents:
42740
diff
changeset
|
368 | * |
|
42884
5a7d425c9d1b
Add a typing-state property to Purple.Conversation
Gary Kramlich <grim@reaperworld.com>
parents:
42857
diff
changeset
|
369 | * This will also reset [property@Conversation:typing-state] to `none`. |
|
5a7d425c9d1b
Add a typing-state property to Purple.Conversation
Gary Kramlich <grim@reaperworld.com>
parents:
42857
diff
changeset
|
370 | * |
|
42743
bcc726c6c61a
Add purple_conversation_send_message_async and _finish
Gary Kramlich <grim@reaperworld.com>
parents:
42740
diff
changeset
|
371 | * Since: 3.0 |
|
bcc726c6c61a
Add purple_conversation_send_message_async and _finish
Gary Kramlich <grim@reaperworld.com>
parents:
42740
diff
changeset
|
372 | */ |
|
bcc726c6c61a
Add purple_conversation_send_message_async and _finish
Gary Kramlich <grim@reaperworld.com>
parents:
42740
diff
changeset
|
373 | PURPLE_AVAILABLE_IN_3_0 |
|
bcc726c6c61a
Add purple_conversation_send_message_async and _finish
Gary Kramlich <grim@reaperworld.com>
parents:
42740
diff
changeset
|
374 | void purple_conversation_send_message_async(PurpleConversation *conversation, PurpleMessage *message, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer data); |
|
bcc726c6c61a
Add purple_conversation_send_message_async and _finish
Gary Kramlich <grim@reaperworld.com>
parents:
42740
diff
changeset
|
375 | |
|
bcc726c6c61a
Add purple_conversation_send_message_async and _finish
Gary Kramlich <grim@reaperworld.com>
parents:
42740
diff
changeset
|
376 | /** |
|
bcc726c6c61a
Add purple_conversation_send_message_async and _finish
Gary Kramlich <grim@reaperworld.com>
parents:
42740
diff
changeset
|
377 | * purple_conversation_send_message_finish: |
|
bcc726c6c61a
Add purple_conversation_send_message_async and _finish
Gary Kramlich <grim@reaperworld.com>
parents:
42740
diff
changeset
|
378 | * @conversation: The instance. |
|
bcc726c6c61a
Add purple_conversation_send_message_async and _finish
Gary Kramlich <grim@reaperworld.com>
parents:
42740
diff
changeset
|
379 | * @result: The result. |
|
bcc726c6c61a
Add purple_conversation_send_message_async and _finish
Gary Kramlich <grim@reaperworld.com>
parents:
42740
diff
changeset
|
380 | * @error: Return address for a #GError, or %NULL. |
|
bcc726c6c61a
Add purple_conversation_send_message_async and _finish
Gary Kramlich <grim@reaperworld.com>
parents:
42740
diff
changeset
|
381 | * |
|
bcc726c6c61a
Add purple_conversation_send_message_async and _finish
Gary Kramlich <grim@reaperworld.com>
parents:
42740
diff
changeset
|
382 | * Finishes a previous call to [method@Conversation.send_message_async]. |
|
bcc726c6c61a
Add purple_conversation_send_message_async and _finish
Gary Kramlich <grim@reaperworld.com>
parents:
42740
diff
changeset
|
383 | * |
|
bcc726c6c61a
Add purple_conversation_send_message_async and _finish
Gary Kramlich <grim@reaperworld.com>
parents:
42740
diff
changeset
|
384 | * Returns: %TRUE on success, otherwise %FALSE with error set. |
|
bcc726c6c61a
Add purple_conversation_send_message_async and _finish
Gary Kramlich <grim@reaperworld.com>
parents:
42740
diff
changeset
|
385 | * |
|
bcc726c6c61a
Add purple_conversation_send_message_async and _finish
Gary Kramlich <grim@reaperworld.com>
parents:
42740
diff
changeset
|
386 | * Since: 3.0 |
|
bcc726c6c61a
Add purple_conversation_send_message_async and _finish
Gary Kramlich <grim@reaperworld.com>
parents:
42740
diff
changeset
|
387 | */ |
|
43303
cddf3066f1bc
Fix some broken logic in Purple.Conversation.send_message_async
Gary Kramlich <grim@reaperworld.com>
parents:
43301
diff
changeset
|
388 | PURPLE_AVAILABLE_IN_3_0 |
|
42743
bcc726c6c61a
Add purple_conversation_send_message_async and _finish
Gary Kramlich <grim@reaperworld.com>
parents:
42740
diff
changeset
|
389 | gboolean purple_conversation_send_message_finish(PurpleConversation *conversation, GAsyncResult *result, GError **error); |
|
bcc726c6c61a
Add purple_conversation_send_message_async and _finish
Gary Kramlich <grim@reaperworld.com>
parents:
42740
diff
changeset
|
390 | |
|
bcc726c6c61a
Add purple_conversation_send_message_async and _finish
Gary Kramlich <grim@reaperworld.com>
parents:
42740
diff
changeset
|
391 | /** |
|
35397
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
392 | * purple_conversation_has_focus: |
|
42735
441ec6ccbd93
A bunch of random cleanups for PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42734
diff
changeset
|
393 | * @conversation: The conversation. |
|
9260
82d7b380220a
[gaim-migrate @ 10059]
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
9166
diff
changeset
|
394 | * |
|
82d7b380220a
[gaim-migrate @ 10059]
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
9166
diff
changeset
|
395 | * Determines if a conversation has focus |
|
82d7b380220a
[gaim-migrate @ 10059]
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
9166
diff
changeset
|
396 | * |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35047
diff
changeset
|
397 | * Returns: %TRUE if the conversation has focus, %FALSE if |
|
9260
82d7b380220a
[gaim-migrate @ 10059]
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
9166
diff
changeset
|
398 | * it does not or the UI does not have a concept of conversation focus |
|
42409
35ac55f4809d
Mark enough Since/visibility exports for test UI
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42400
diff
changeset
|
399 | * |
|
42613
780d7efe37c2
Remove the micro version from since tags for libpurple part 2
Gary Kramlich <grim@reaperworld.com>
parents:
42594
diff
changeset
|
400 | * Since: 2.0 |
|
9260
82d7b380220a
[gaim-migrate @ 10059]
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
9166
diff
changeset
|
401 | */ |
|
42409
35ac55f4809d
Mark enough Since/visibility exports for test UI
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42400
diff
changeset
|
402 | PURPLE_AVAILABLE_IN_ALL |
|
42737
ce31b5b1186f
fix documentation warnings in purpleconversation
Markus Fischer <ivanhoe@fiscari.de>
parents:
42736
diff
changeset
|
403 | gboolean purple_conversation_has_focus(PurpleConversation *conversation); |
|
9260
82d7b380220a
[gaim-migrate @ 10059]
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
9166
diff
changeset
|
404 | |
|
82d7b380220a
[gaim-migrate @ 10059]
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
9166
diff
changeset
|
405 | /** |
|
42292
5bc9561e5f2b
Add a bunch of properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42272
diff
changeset
|
406 | * purple_conversation_get_age_restricted: |
|
5bc9561e5f2b
Add a bunch of properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42272
diff
changeset
|
407 | * @conversation: The instance. |
|
5bc9561e5f2b
Add a bunch of properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42272
diff
changeset
|
408 | * |
|
5bc9561e5f2b
Add a bunch of properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42272
diff
changeset
|
409 | * Gets whether or not @conversation is age restricted. |
|
5bc9561e5f2b
Add a bunch of properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42272
diff
changeset
|
410 | * |
|
5bc9561e5f2b
Add a bunch of properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42272
diff
changeset
|
411 | * Returns: %TRUE if age restricted, otherwise %FALSE. |
|
5bc9561e5f2b
Add a bunch of properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42272
diff
changeset
|
412 | * |
|
42613
780d7efe37c2
Remove the micro version from since tags for libpurple part 2
Gary Kramlich <grim@reaperworld.com>
parents:
42594
diff
changeset
|
413 | * Since: 3.0 |
|
42292
5bc9561e5f2b
Add a bunch of properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42272
diff
changeset
|
414 | */ |
|
42387
d9350cda1556
Export symbols added for 3.0.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42355
diff
changeset
|
415 | PURPLE_AVAILABLE_IN_3_0 |
|
42292
5bc9561e5f2b
Add a bunch of properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42272
diff
changeset
|
416 | gboolean purple_conversation_get_age_restricted(PurpleConversation *conversation); |
|
5bc9561e5f2b
Add a bunch of properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42272
diff
changeset
|
417 | |
|
5bc9561e5f2b
Add a bunch of properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42272
diff
changeset
|
418 | /** |
|
5bc9561e5f2b
Add a bunch of properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42272
diff
changeset
|
419 | * purple_conversation_set_age_restricted: |
|
5bc9561e5f2b
Add a bunch of properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42272
diff
changeset
|
420 | * @conversation: The instance. |
|
5bc9561e5f2b
Add a bunch of properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42272
diff
changeset
|
421 | * @age_restricted: The new value. |
|
5bc9561e5f2b
Add a bunch of properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42272
diff
changeset
|
422 | * |
|
5bc9561e5f2b
Add a bunch of properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42272
diff
changeset
|
423 | * Sets whether or not @conversation is age restricted to the value of |
|
5bc9561e5f2b
Add a bunch of properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42272
diff
changeset
|
424 | * @age_restricted. |
|
5bc9561e5f2b
Add a bunch of properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42272
diff
changeset
|
425 | * |
|
42613
780d7efe37c2
Remove the micro version from since tags for libpurple part 2
Gary Kramlich <grim@reaperworld.com>
parents:
42594
diff
changeset
|
426 | * Since: 3.0 |
|
42292
5bc9561e5f2b
Add a bunch of properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42272
diff
changeset
|
427 | */ |
|
42387
d9350cda1556
Export symbols added for 3.0.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42355
diff
changeset
|
428 | PURPLE_AVAILABLE_IN_3_0 |
|
42292
5bc9561e5f2b
Add a bunch of properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42272
diff
changeset
|
429 | void purple_conversation_set_age_restricted(PurpleConversation *conversation, gboolean age_restricted); |
|
5bc9561e5f2b
Add a bunch of properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42272
diff
changeset
|
430 | |
|
5bc9561e5f2b
Add a bunch of properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42272
diff
changeset
|
431 | /** |
|
5bc9561e5f2b
Add a bunch of properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42272
diff
changeset
|
432 | * purple_conversation_get_description: |
|
5bc9561e5f2b
Add a bunch of properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42272
diff
changeset
|
433 | * @conversation: The instance. |
|
5bc9561e5f2b
Add a bunch of properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42272
diff
changeset
|
434 | * |
|
5bc9561e5f2b
Add a bunch of properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42272
diff
changeset
|
435 | * Gets the description of @conversation. |
|
5bc9561e5f2b
Add a bunch of properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42272
diff
changeset
|
436 | * |
|
5bc9561e5f2b
Add a bunch of properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42272
diff
changeset
|
437 | * Returns: The description of @conversation or %NULL. |
|
5bc9561e5f2b
Add a bunch of properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42272
diff
changeset
|
438 | * |
|
42613
780d7efe37c2
Remove the micro version from since tags for libpurple part 2
Gary Kramlich <grim@reaperworld.com>
parents:
42594
diff
changeset
|
439 | * Since: 3.0 |
|
42292
5bc9561e5f2b
Add a bunch of properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42272
diff
changeset
|
440 | */ |
|
42387
d9350cda1556
Export symbols added for 3.0.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42355
diff
changeset
|
441 | PURPLE_AVAILABLE_IN_3_0 |
|
42292
5bc9561e5f2b
Add a bunch of properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42272
diff
changeset
|
442 | const char *purple_conversation_get_description(PurpleConversation *conversation); |
|
5bc9561e5f2b
Add a bunch of properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42272
diff
changeset
|
443 | |
|
5bc9561e5f2b
Add a bunch of properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42272
diff
changeset
|
444 | /** |
|
5bc9561e5f2b
Add a bunch of properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42272
diff
changeset
|
445 | * purple_conversation_set_description: |
|
5bc9561e5f2b
Add a bunch of properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42272
diff
changeset
|
446 | * @conversation: The instance. |
|
5bc9561e5f2b
Add a bunch of properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42272
diff
changeset
|
447 | * @description: (nullable): The new description. |
|
5bc9561e5f2b
Add a bunch of properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42272
diff
changeset
|
448 | * |
|
5bc9561e5f2b
Add a bunch of properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42272
diff
changeset
|
449 | * Sets the description of @conversation to @description. |
|
5bc9561e5f2b
Add a bunch of properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42272
diff
changeset
|
450 | * |
|
42613
780d7efe37c2
Remove the micro version from since tags for libpurple part 2
Gary Kramlich <grim@reaperworld.com>
parents:
42594
diff
changeset
|
451 | * Since: 3.0 |
|
42292
5bc9561e5f2b
Add a bunch of properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42272
diff
changeset
|
452 | */ |
|
42387
d9350cda1556
Export symbols added for 3.0.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42355
diff
changeset
|
453 | PURPLE_AVAILABLE_IN_3_0 |
|
42292
5bc9561e5f2b
Add a bunch of properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42272
diff
changeset
|
454 | void purple_conversation_set_description(PurpleConversation *conversation, const char *description); |
|
5bc9561e5f2b
Add a bunch of properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42272
diff
changeset
|
455 | |
|
5bc9561e5f2b
Add a bunch of properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42272
diff
changeset
|
456 | /** |
|
43137
8d1d2ab65c87
Add properties to track whether conversation properties are editable
Gary Kramlich <grim@reaperworld.com>
parents:
43135
diff
changeset
|
457 | * purple_conversation_get_description_editable: |
|
8d1d2ab65c87
Add properties to track whether conversation properties are editable
Gary Kramlich <grim@reaperworld.com>
parents:
43135
diff
changeset
|
458 | * |
|
8d1d2ab65c87
Add properties to track whether conversation properties are editable
Gary Kramlich <grim@reaperworld.com>
parents:
43135
diff
changeset
|
459 | * Gets whether or not the conversation description is editable. |
|
8d1d2ab65c87
Add properties to track whether conversation properties are editable
Gary Kramlich <grim@reaperworld.com>
parents:
43135
diff
changeset
|
460 | * |
|
8d1d2ab65c87
Add properties to track whether conversation properties are editable
Gary Kramlich <grim@reaperworld.com>
parents:
43135
diff
changeset
|
461 | * Returns: true if the user can edit the description; otherwise false. |
|
8d1d2ab65c87
Add properties to track whether conversation properties are editable
Gary Kramlich <grim@reaperworld.com>
parents:
43135
diff
changeset
|
462 | * |
|
8d1d2ab65c87
Add properties to track whether conversation properties are editable
Gary Kramlich <grim@reaperworld.com>
parents:
43135
diff
changeset
|
463 | * Since: 3.0 |
|
8d1d2ab65c87
Add properties to track whether conversation properties are editable
Gary Kramlich <grim@reaperworld.com>
parents:
43135
diff
changeset
|
464 | */ |
|
8d1d2ab65c87
Add properties to track whether conversation properties are editable
Gary Kramlich <grim@reaperworld.com>
parents:
43135
diff
changeset
|
465 | PURPLE_AVAILABLE_IN_3_0 |
|
8d1d2ab65c87
Add properties to track whether conversation properties are editable
Gary Kramlich <grim@reaperworld.com>
parents:
43135
diff
changeset
|
466 | gboolean purple_conversation_get_description_editable(PurpleConversation *conversation); |
|
8d1d2ab65c87
Add properties to track whether conversation properties are editable
Gary Kramlich <grim@reaperworld.com>
parents:
43135
diff
changeset
|
467 | |
|
8d1d2ab65c87
Add properties to track whether conversation properties are editable
Gary Kramlich <grim@reaperworld.com>
parents:
43135
diff
changeset
|
468 | /** |
|
8d1d2ab65c87
Add properties to track whether conversation properties are editable
Gary Kramlich <grim@reaperworld.com>
parents:
43135
diff
changeset
|
469 | * purple_conversation_set_description_editable: |
|
8d1d2ab65c87
Add properties to track whether conversation properties are editable
Gary Kramlich <grim@reaperworld.com>
parents:
43135
diff
changeset
|
470 | * @editable: the new value |
|
8d1d2ab65c87
Add properties to track whether conversation properties are editable
Gary Kramlich <grim@reaperworld.com>
parents:
43135
diff
changeset
|
471 | * |
|
8d1d2ab65c87
Add properties to track whether conversation properties are editable
Gary Kramlich <grim@reaperworld.com>
parents:
43135
diff
changeset
|
472 | * Sets whether or not a conversation's description is editable. |
|
8d1d2ab65c87
Add properties to track whether conversation properties are editable
Gary Kramlich <grim@reaperworld.com>
parents:
43135
diff
changeset
|
473 | * |
|
8d1d2ab65c87
Add properties to track whether conversation properties are editable
Gary Kramlich <grim@reaperworld.com>
parents:
43135
diff
changeset
|
474 | * This should primarily be called by a protocol when a user's permissions |
|
8d1d2ab65c87
Add properties to track whether conversation properties are editable
Gary Kramlich <grim@reaperworld.com>
parents:
43135
diff
changeset
|
475 | * change in the conversation. |
|
8d1d2ab65c87
Add properties to track whether conversation properties are editable
Gary Kramlich <grim@reaperworld.com>
parents:
43135
diff
changeset
|
476 | * |
|
8d1d2ab65c87
Add properties to track whether conversation properties are editable
Gary Kramlich <grim@reaperworld.com>
parents:
43135
diff
changeset
|
477 | * Since: 3.0 |
|
8d1d2ab65c87
Add properties to track whether conversation properties are editable
Gary Kramlich <grim@reaperworld.com>
parents:
43135
diff
changeset
|
478 | */ |
|
8d1d2ab65c87
Add properties to track whether conversation properties are editable
Gary Kramlich <grim@reaperworld.com>
parents:
43135
diff
changeset
|
479 | PURPLE_AVAILABLE_IN_3_0 |
|
8d1d2ab65c87
Add properties to track whether conversation properties are editable
Gary Kramlich <grim@reaperworld.com>
parents:
43135
diff
changeset
|
480 | void purple_conversation_set_description_editable(PurpleConversation *conversation, gboolean editable); |
|
8d1d2ab65c87
Add properties to track whether conversation properties are editable
Gary Kramlich <grim@reaperworld.com>
parents:
43135
diff
changeset
|
481 | |
|
8d1d2ab65c87
Add properties to track whether conversation properties are editable
Gary Kramlich <grim@reaperworld.com>
parents:
43135
diff
changeset
|
482 | /** |
|
42292
5bc9561e5f2b
Add a bunch of properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42272
diff
changeset
|
483 | * purple_conversation_get_topic: |
|
5bc9561e5f2b
Add a bunch of properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42272
diff
changeset
|
484 | * @conversation: The instance. |
|
5bc9561e5f2b
Add a bunch of properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42272
diff
changeset
|
485 | * |
|
5bc9561e5f2b
Add a bunch of properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42272
diff
changeset
|
486 | * Gets the topic for @conversation. |
|
5bc9561e5f2b
Add a bunch of properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42272
diff
changeset
|
487 | * |
|
5bc9561e5f2b
Add a bunch of properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42272
diff
changeset
|
488 | * Returns: (nullable): The topic of @conversation or %NULL. |
|
5bc9561e5f2b
Add a bunch of properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42272
diff
changeset
|
489 | * |
|
42613
780d7efe37c2
Remove the micro version from since tags for libpurple part 2
Gary Kramlich <grim@reaperworld.com>
parents:
42594
diff
changeset
|
490 | * Since: 3.0 |
|
42292
5bc9561e5f2b
Add a bunch of properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42272
diff
changeset
|
491 | */ |
|
42387
d9350cda1556
Export symbols added for 3.0.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42355
diff
changeset
|
492 | PURPLE_AVAILABLE_IN_3_0 |
|
42292
5bc9561e5f2b
Add a bunch of properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42272
diff
changeset
|
493 | const char *purple_conversation_get_topic(PurpleConversation *conversation); |
|
5bc9561e5f2b
Add a bunch of properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42272
diff
changeset
|
494 | |
|
5bc9561e5f2b
Add a bunch of properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42272
diff
changeset
|
495 | /** |
|
5bc9561e5f2b
Add a bunch of properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42272
diff
changeset
|
496 | * purple_conversation_set_topic: |
|
5bc9561e5f2b
Add a bunch of properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42272
diff
changeset
|
497 | * @conversation: The instance. |
|
5bc9561e5f2b
Add a bunch of properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42272
diff
changeset
|
498 | * @topic: (nullable): The new topic. |
|
5bc9561e5f2b
Add a bunch of properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42272
diff
changeset
|
499 | * |
|
5bc9561e5f2b
Add a bunch of properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42272
diff
changeset
|
500 | * Sets the topic of @conversation to @topic. |
|
5bc9561e5f2b
Add a bunch of properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42272
diff
changeset
|
501 | * |
|
42613
780d7efe37c2
Remove the micro version from since tags for libpurple part 2
Gary Kramlich <grim@reaperworld.com>
parents:
42594
diff
changeset
|
502 | * Since: 3.0 |
|
42292
5bc9561e5f2b
Add a bunch of properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42272
diff
changeset
|
503 | */ |
|
42387
d9350cda1556
Export symbols added for 3.0.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42355
diff
changeset
|
504 | PURPLE_AVAILABLE_IN_3_0 |
|
42292
5bc9561e5f2b
Add a bunch of properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42272
diff
changeset
|
505 | void purple_conversation_set_topic(PurpleConversation *conversation, const char *topic); |
|
5bc9561e5f2b
Add a bunch of properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42272
diff
changeset
|
506 | |
|
5bc9561e5f2b
Add a bunch of properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42272
diff
changeset
|
507 | /** |
|
43137
8d1d2ab65c87
Add properties to track whether conversation properties are editable
Gary Kramlich <grim@reaperworld.com>
parents:
43135
diff
changeset
|
508 | * purple_conversation_get_topic_editable: |
|
8d1d2ab65c87
Add properties to track whether conversation properties are editable
Gary Kramlich <grim@reaperworld.com>
parents:
43135
diff
changeset
|
509 | * |
|
8d1d2ab65c87
Add properties to track whether conversation properties are editable
Gary Kramlich <grim@reaperworld.com>
parents:
43135
diff
changeset
|
510 | * Gets whether or not the conversation topic is editable. |
|
8d1d2ab65c87
Add properties to track whether conversation properties are editable
Gary Kramlich <grim@reaperworld.com>
parents:
43135
diff
changeset
|
511 | * |
|
8d1d2ab65c87
Add properties to track whether conversation properties are editable
Gary Kramlich <grim@reaperworld.com>
parents:
43135
diff
changeset
|
512 | * Returns: true if the user can edit the topic; otherwise false. |
|
8d1d2ab65c87
Add properties to track whether conversation properties are editable
Gary Kramlich <grim@reaperworld.com>
parents:
43135
diff
changeset
|
513 | * |
|
8d1d2ab65c87
Add properties to track whether conversation properties are editable
Gary Kramlich <grim@reaperworld.com>
parents:
43135
diff
changeset
|
514 | * Since: 3.0 |
|
8d1d2ab65c87
Add properties to track whether conversation properties are editable
Gary Kramlich <grim@reaperworld.com>
parents:
43135
diff
changeset
|
515 | */ |
|
8d1d2ab65c87
Add properties to track whether conversation properties are editable
Gary Kramlich <grim@reaperworld.com>
parents:
43135
diff
changeset
|
516 | PURPLE_AVAILABLE_IN_3_0 |
|
8d1d2ab65c87
Add properties to track whether conversation properties are editable
Gary Kramlich <grim@reaperworld.com>
parents:
43135
diff
changeset
|
517 | gboolean purple_conversation_get_topic_editable(PurpleConversation *conversation); |
|
8d1d2ab65c87
Add properties to track whether conversation properties are editable
Gary Kramlich <grim@reaperworld.com>
parents:
43135
diff
changeset
|
518 | |
|
8d1d2ab65c87
Add properties to track whether conversation properties are editable
Gary Kramlich <grim@reaperworld.com>
parents:
43135
diff
changeset
|
519 | /** |
|
8d1d2ab65c87
Add properties to track whether conversation properties are editable
Gary Kramlich <grim@reaperworld.com>
parents:
43135
diff
changeset
|
520 | * purple_conversation_set_topic_editable: |
|
8d1d2ab65c87
Add properties to track whether conversation properties are editable
Gary Kramlich <grim@reaperworld.com>
parents:
43135
diff
changeset
|
521 | * @editable: the new value |
|
8d1d2ab65c87
Add properties to track whether conversation properties are editable
Gary Kramlich <grim@reaperworld.com>
parents:
43135
diff
changeset
|
522 | * |
|
8d1d2ab65c87
Add properties to track whether conversation properties are editable
Gary Kramlich <grim@reaperworld.com>
parents:
43135
diff
changeset
|
523 | * Sets whether or not a conversation's topic is editable. |
|
8d1d2ab65c87
Add properties to track whether conversation properties are editable
Gary Kramlich <grim@reaperworld.com>
parents:
43135
diff
changeset
|
524 | * |
|
8d1d2ab65c87
Add properties to track whether conversation properties are editable
Gary Kramlich <grim@reaperworld.com>
parents:
43135
diff
changeset
|
525 | * This should primarily be called by a protocol when a user's permissions |
|
8d1d2ab65c87
Add properties to track whether conversation properties are editable
Gary Kramlich <grim@reaperworld.com>
parents:
43135
diff
changeset
|
526 | * change in the conversation. |
|
8d1d2ab65c87
Add properties to track whether conversation properties are editable
Gary Kramlich <grim@reaperworld.com>
parents:
43135
diff
changeset
|
527 | * |
|
8d1d2ab65c87
Add properties to track whether conversation properties are editable
Gary Kramlich <grim@reaperworld.com>
parents:
43135
diff
changeset
|
528 | * Since: 3.0 |
|
8d1d2ab65c87
Add properties to track whether conversation properties are editable
Gary Kramlich <grim@reaperworld.com>
parents:
43135
diff
changeset
|
529 | */ |
|
8d1d2ab65c87
Add properties to track whether conversation properties are editable
Gary Kramlich <grim@reaperworld.com>
parents:
43135
diff
changeset
|
530 | PURPLE_AVAILABLE_IN_3_0 |
|
8d1d2ab65c87
Add properties to track whether conversation properties are editable
Gary Kramlich <grim@reaperworld.com>
parents:
43135
diff
changeset
|
531 | void purple_conversation_set_topic_editable(PurpleConversation *conversation, gboolean editable); |
|
8d1d2ab65c87
Add properties to track whether conversation properties are editable
Gary Kramlich <grim@reaperworld.com>
parents:
43135
diff
changeset
|
532 | |
|
8d1d2ab65c87
Add properties to track whether conversation properties are editable
Gary Kramlich <grim@reaperworld.com>
parents:
43135
diff
changeset
|
533 | /** |
|
42302
54e2bf5af34a
Add purple_conversation_set_topic_full
Gary Kramlich <grim@reaperworld.com>
parents:
42299
diff
changeset
|
534 | * purple_conversation_set_topic_full: |
|
54e2bf5af34a
Add purple_conversation_set_topic_full
Gary Kramlich <grim@reaperworld.com>
parents:
42299
diff
changeset
|
535 | * @conversation: The instance: |
|
54e2bf5af34a
Add purple_conversation_set_topic_full
Gary Kramlich <grim@reaperworld.com>
parents:
42299
diff
changeset
|
536 | * @topic: (nullable): The new topic. |
|
54e2bf5af34a
Add purple_conversation_set_topic_full
Gary Kramlich <grim@reaperworld.com>
parents:
42299
diff
changeset
|
537 | * @author: (nullable): The author of the new topic. |
|
54e2bf5af34a
Add purple_conversation_set_topic_full
Gary Kramlich <grim@reaperworld.com>
parents:
42299
diff
changeset
|
538 | * @updated: (nullable): The date time of the new topic. |
|
54e2bf5af34a
Add purple_conversation_set_topic_full
Gary Kramlich <grim@reaperworld.com>
parents:
42299
diff
changeset
|
539 | * |
|
54e2bf5af34a
Add purple_conversation_set_topic_full
Gary Kramlich <grim@reaperworld.com>
parents:
42299
diff
changeset
|
540 | * Sets everything about the topic all at once. |
|
54e2bf5af34a
Add purple_conversation_set_topic_full
Gary Kramlich <grim@reaperworld.com>
parents:
42299
diff
changeset
|
541 | * |
|
42486
594f84a2c97f
Fix some small doc issues
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42409
diff
changeset
|
542 | * See also [method@Conversation.set_topic], |
|
594f84a2c97f
Fix some small doc issues
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42409
diff
changeset
|
543 | * [method@Conversation.set_topic_author], and |
|
594f84a2c97f
Fix some small doc issues
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42409
diff
changeset
|
544 | * [method@Conversation.set_topic_updated]. |
|
42302
54e2bf5af34a
Add purple_conversation_set_topic_full
Gary Kramlich <grim@reaperworld.com>
parents:
42299
diff
changeset
|
545 | * |
|
42613
780d7efe37c2
Remove the micro version from since tags for libpurple part 2
Gary Kramlich <grim@reaperworld.com>
parents:
42594
diff
changeset
|
546 | * Since: 3.0 |
|
42302
54e2bf5af34a
Add purple_conversation_set_topic_full
Gary Kramlich <grim@reaperworld.com>
parents:
42299
diff
changeset
|
547 | */ |
|
42387
d9350cda1556
Export symbols added for 3.0.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42355
diff
changeset
|
548 | PURPLE_AVAILABLE_IN_3_0 |
|
42302
54e2bf5af34a
Add purple_conversation_set_topic_full
Gary Kramlich <grim@reaperworld.com>
parents:
42299
diff
changeset
|
549 | void purple_conversation_set_topic_full(PurpleConversation *conversation, const char *topic, PurpleContactInfo *author, GDateTime *updated); |
|
54e2bf5af34a
Add purple_conversation_set_topic_full
Gary Kramlich <grim@reaperworld.com>
parents:
42299
diff
changeset
|
550 | |
|
54e2bf5af34a
Add purple_conversation_set_topic_full
Gary Kramlich <grim@reaperworld.com>
parents:
42299
diff
changeset
|
551 | /** |
|
42292
5bc9561e5f2b
Add a bunch of properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42272
diff
changeset
|
552 | * purple_conversation_get_topic_author: |
|
5bc9561e5f2b
Add a bunch of properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42272
diff
changeset
|
553 | * @conversation: The instance. |
|
5bc9561e5f2b
Add a bunch of properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42272
diff
changeset
|
554 | * |
|
5bc9561e5f2b
Add a bunch of properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42272
diff
changeset
|
555 | * Gets the author of the topic for @conversation. |
|
5bc9561e5f2b
Add a bunch of properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42272
diff
changeset
|
556 | * |
|
5bc9561e5f2b
Add a bunch of properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42272
diff
changeset
|
557 | * Returns: (transfer none) (nullable): The author of the topic or %NULL. |
|
5bc9561e5f2b
Add a bunch of properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42272
diff
changeset
|
558 | * |
|
42613
780d7efe37c2
Remove the micro version from since tags for libpurple part 2
Gary Kramlich <grim@reaperworld.com>
parents:
42594
diff
changeset
|
559 | * Since: 3.0 |
|
42292
5bc9561e5f2b
Add a bunch of properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42272
diff
changeset
|
560 | */ |
|
42387
d9350cda1556
Export symbols added for 3.0.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42355
diff
changeset
|
561 | PURPLE_AVAILABLE_IN_3_0 |
|
42292
5bc9561e5f2b
Add a bunch of properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42272
diff
changeset
|
562 | PurpleContactInfo *purple_conversation_get_topic_author(PurpleConversation *conversation); |
|
5bc9561e5f2b
Add a bunch of properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42272
diff
changeset
|
563 | |
|
5bc9561e5f2b
Add a bunch of properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42272
diff
changeset
|
564 | /** |
|
5bc9561e5f2b
Add a bunch of properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42272
diff
changeset
|
565 | * purple_conversation_set_topic_author: |
|
5bc9561e5f2b
Add a bunch of properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42272
diff
changeset
|
566 | * @conversation: The instance. |
|
5bc9561e5f2b
Add a bunch of properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42272
diff
changeset
|
567 | * @author: (nullable): The new author of the topic. |
|
5bc9561e5f2b
Add a bunch of properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42272
diff
changeset
|
568 | * |
|
5bc9561e5f2b
Add a bunch of properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42272
diff
changeset
|
569 | * Sets the author of the topic for @conversation to @author. |
|
5bc9561e5f2b
Add a bunch of properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42272
diff
changeset
|
570 | * |
|
42613
780d7efe37c2
Remove the micro version from since tags for libpurple part 2
Gary Kramlich <grim@reaperworld.com>
parents:
42594
diff
changeset
|
571 | * Since: 3.0 |
|
42292
5bc9561e5f2b
Add a bunch of properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42272
diff
changeset
|
572 | */ |
|
42387
d9350cda1556
Export symbols added for 3.0.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42355
diff
changeset
|
573 | PURPLE_AVAILABLE_IN_3_0 |
|
42292
5bc9561e5f2b
Add a bunch of properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42272
diff
changeset
|
574 | void purple_conversation_set_topic_author(PurpleConversation *conversation, PurpleContactInfo *author); |
|
5bc9561e5f2b
Add a bunch of properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42272
diff
changeset
|
575 | |
|
5bc9561e5f2b
Add a bunch of properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42272
diff
changeset
|
576 | /** |
|
5bc9561e5f2b
Add a bunch of properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42272
diff
changeset
|
577 | * purple_conversation_get_topic_updated: |
|
5bc9561e5f2b
Add a bunch of properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42272
diff
changeset
|
578 | * @conversation: The instance. |
|
5bc9561e5f2b
Add a bunch of properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42272
diff
changeset
|
579 | * |
|
5bc9561e5f2b
Add a bunch of properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42272
diff
changeset
|
580 | * Gets the last time that the topic was updated. |
|
5bc9561e5f2b
Add a bunch of properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42272
diff
changeset
|
581 | * |
|
5bc9561e5f2b
Add a bunch of properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42272
diff
changeset
|
582 | * Returns: (transfer none) (nullable): The last time the topic was updated or |
|
5bc9561e5f2b
Add a bunch of properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42272
diff
changeset
|
583 | * %NULL. |
|
5bc9561e5f2b
Add a bunch of properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42272
diff
changeset
|
584 | * |
|
42613
780d7efe37c2
Remove the micro version from since tags for libpurple part 2
Gary Kramlich <grim@reaperworld.com>
parents:
42594
diff
changeset
|
585 | * Since: 3.0 |
|
42292
5bc9561e5f2b
Add a bunch of properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42272
diff
changeset
|
586 | */ |
|
42387
d9350cda1556
Export symbols added for 3.0.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42355
diff
changeset
|
587 | PURPLE_AVAILABLE_IN_3_0 |
|
42292
5bc9561e5f2b
Add a bunch of properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42272
diff
changeset
|
588 | GDateTime *purple_conversation_get_topic_updated(PurpleConversation *conversation); |
|
5bc9561e5f2b
Add a bunch of properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42272
diff
changeset
|
589 | |
|
5bc9561e5f2b
Add a bunch of properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42272
diff
changeset
|
590 | /** |
|
5bc9561e5f2b
Add a bunch of properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42272
diff
changeset
|
591 | * purple_conversation_set_topic_updated: |
|
5bc9561e5f2b
Add a bunch of properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42272
diff
changeset
|
592 | * @conversation: The instance. |
|
5bc9561e5f2b
Add a bunch of properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42272
diff
changeset
|
593 | * @updated: (nullable): The time of the last update. |
|
5bc9561e5f2b
Add a bunch of properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42272
diff
changeset
|
594 | * |
|
5bc9561e5f2b
Add a bunch of properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42272
diff
changeset
|
595 | * Sets the time that the topic was lasted updated for @conversation. |
|
5bc9561e5f2b
Add a bunch of properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42272
diff
changeset
|
596 | * |
|
42613
780d7efe37c2
Remove the micro version from since tags for libpurple part 2
Gary Kramlich <grim@reaperworld.com>
parents:
42594
diff
changeset
|
597 | * Since: 3.0 |
|
42292
5bc9561e5f2b
Add a bunch of properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42272
diff
changeset
|
598 | */ |
|
42387
d9350cda1556
Export symbols added for 3.0.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42355
diff
changeset
|
599 | PURPLE_AVAILABLE_IN_3_0 |
|
42292
5bc9561e5f2b
Add a bunch of properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42272
diff
changeset
|
600 | void purple_conversation_set_topic_updated(PurpleConversation *conversation, GDateTime *updated); |
|
5bc9561e5f2b
Add a bunch of properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42272
diff
changeset
|
601 | |
|
5bc9561e5f2b
Add a bunch of properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42272
diff
changeset
|
602 | /** |
|
5bc9561e5f2b
Add a bunch of properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42272
diff
changeset
|
603 | * purple_conversation_get_user_nickname: |
|
5bc9561e5f2b
Add a bunch of properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42272
diff
changeset
|
604 | * @conversation: The instance. |
|
5bc9561e5f2b
Add a bunch of properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42272
diff
changeset
|
605 | * |
|
5bc9561e5f2b
Add a bunch of properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42272
diff
changeset
|
606 | * Gets the nickname for the user in @conversation. |
|
5bc9561e5f2b
Add a bunch of properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42272
diff
changeset
|
607 | * |
|
5bc9561e5f2b
Add a bunch of properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42272
diff
changeset
|
608 | * Returns: (nullable): The nickname for the user in @conversation. |
|
5bc9561e5f2b
Add a bunch of properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42272
diff
changeset
|
609 | * |
|
42613
780d7efe37c2
Remove the micro version from since tags for libpurple part 2
Gary Kramlich <grim@reaperworld.com>
parents:
42594
diff
changeset
|
610 | * Since: 3.0 |
|
42292
5bc9561e5f2b
Add a bunch of properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42272
diff
changeset
|
611 | */ |
|
42387
d9350cda1556
Export symbols added for 3.0.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42355
diff
changeset
|
612 | PURPLE_AVAILABLE_IN_3_0 |
|
42292
5bc9561e5f2b
Add a bunch of properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42272
diff
changeset
|
613 | const char *purple_conversation_get_user_nickname(PurpleConversation *conversation); |
|
5bc9561e5f2b
Add a bunch of properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42272
diff
changeset
|
614 | |
|
5bc9561e5f2b
Add a bunch of properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42272
diff
changeset
|
615 | /** |
|
5bc9561e5f2b
Add a bunch of properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42272
diff
changeset
|
616 | * purple_conversation_set_user_nickname: |
|
5bc9561e5f2b
Add a bunch of properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42272
diff
changeset
|
617 | * @conversation: The instance. |
|
5bc9561e5f2b
Add a bunch of properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42272
diff
changeset
|
618 | * @nickname: (nullable): The new nickname for the user. |
|
5bc9561e5f2b
Add a bunch of properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42272
diff
changeset
|
619 | * |
|
5bc9561e5f2b
Add a bunch of properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42272
diff
changeset
|
620 | * Sets the user's nickname in @conversation to @nickname. |
|
5bc9561e5f2b
Add a bunch of properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42272
diff
changeset
|
621 | * |
|
42613
780d7efe37c2
Remove the micro version from since tags for libpurple part 2
Gary Kramlich <grim@reaperworld.com>
parents:
42594
diff
changeset
|
622 | * Since: 3.0 |
|
42292
5bc9561e5f2b
Add a bunch of properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42272
diff
changeset
|
623 | */ |
|
42387
d9350cda1556
Export symbols added for 3.0.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42355
diff
changeset
|
624 | PURPLE_AVAILABLE_IN_3_0 |
|
42292
5bc9561e5f2b
Add a bunch of properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42272
diff
changeset
|
625 | void purple_conversation_set_user_nickname(PurpleConversation *conversation, const char *nickname); |
|
5bc9561e5f2b
Add a bunch of properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42272
diff
changeset
|
626 | |
|
5bc9561e5f2b
Add a bunch of properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42272
diff
changeset
|
627 | /** |
|
5bc9561e5f2b
Add a bunch of properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42272
diff
changeset
|
628 | * purple_conversation_get_favorite: |
|
5bc9561e5f2b
Add a bunch of properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42272
diff
changeset
|
629 | * @conversation: The instance. |
|
5bc9561e5f2b
Add a bunch of properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42272
diff
changeset
|
630 | * |
|
5bc9561e5f2b
Add a bunch of properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42272
diff
changeset
|
631 | * Gets whether or not @conversation is a favorite conversation. |
|
5bc9561e5f2b
Add a bunch of properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42272
diff
changeset
|
632 | * |
|
5bc9561e5f2b
Add a bunch of properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42272
diff
changeset
|
633 | * Returns: %TRUE if @conversation has been set a as a favorite, otherwise |
|
5bc9561e5f2b
Add a bunch of properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42272
diff
changeset
|
634 | * %FALSE. |
|
5bc9561e5f2b
Add a bunch of properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42272
diff
changeset
|
635 | * |
|
42613
780d7efe37c2
Remove the micro version from since tags for libpurple part 2
Gary Kramlich <grim@reaperworld.com>
parents:
42594
diff
changeset
|
636 | * Since: 3.0 |
|
42292
5bc9561e5f2b
Add a bunch of properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42272
diff
changeset
|
637 | */ |
|
42387
d9350cda1556
Export symbols added for 3.0.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42355
diff
changeset
|
638 | PURPLE_AVAILABLE_IN_3_0 |
|
42292
5bc9561e5f2b
Add a bunch of properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42272
diff
changeset
|
639 | gboolean purple_conversation_get_favorite(PurpleConversation *conversation); |
|
5bc9561e5f2b
Add a bunch of properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42272
diff
changeset
|
640 | |
|
5bc9561e5f2b
Add a bunch of properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42272
diff
changeset
|
641 | /** |
|
5bc9561e5f2b
Add a bunch of properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42272
diff
changeset
|
642 | * purple_conversation_set_favorite: |
|
5bc9561e5f2b
Add a bunch of properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42272
diff
changeset
|
643 | * @conversation: The instance. |
|
5bc9561e5f2b
Add a bunch of properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42272
diff
changeset
|
644 | * @favorite: %TRUE to mark as a favorite. |
|
5bc9561e5f2b
Add a bunch of properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42272
diff
changeset
|
645 | * |
|
5bc9561e5f2b
Add a bunch of properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42272
diff
changeset
|
646 | * Sets whether or not @conversation is a favorite to @favorite. |
|
5bc9561e5f2b
Add a bunch of properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42272
diff
changeset
|
647 | * |
|
42613
780d7efe37c2
Remove the micro version from since tags for libpurple part 2
Gary Kramlich <grim@reaperworld.com>
parents:
42594
diff
changeset
|
648 | * Since: 3.0 |
|
42292
5bc9561e5f2b
Add a bunch of properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42272
diff
changeset
|
649 | */ |
|
42387
d9350cda1556
Export symbols added for 3.0.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42355
diff
changeset
|
650 | PURPLE_AVAILABLE_IN_3_0 |
|
42292
5bc9561e5f2b
Add a bunch of properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42272
diff
changeset
|
651 | void purple_conversation_set_favorite(PurpleConversation *conversation, gboolean favorite); |
|
5bc9561e5f2b
Add a bunch of properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42272
diff
changeset
|
652 | |
|
5bc9561e5f2b
Add a bunch of properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42272
diff
changeset
|
653 | /** |
|
5bc9561e5f2b
Add a bunch of properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42272
diff
changeset
|
654 | * purple_conversation_get_created_on: |
|
5bc9561e5f2b
Add a bunch of properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42272
diff
changeset
|
655 | * @conversation: The instance. |
|
5bc9561e5f2b
Add a bunch of properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42272
diff
changeset
|
656 | * |
|
5bc9561e5f2b
Add a bunch of properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42272
diff
changeset
|
657 | * Gets a [struct@GLib.DateTime] for when @conversation was created. |
|
5bc9561e5f2b
Add a bunch of properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42272
diff
changeset
|
658 | * |
|
5bc9561e5f2b
Add a bunch of properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42272
diff
changeset
|
659 | * Returns: (transfer none) (nullable): The creation time of @conversation. |
|
5bc9561e5f2b
Add a bunch of properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42272
diff
changeset
|
660 | * |
|
42613
780d7efe37c2
Remove the micro version from since tags for libpurple part 2
Gary Kramlich <grim@reaperworld.com>
parents:
42594
diff
changeset
|
661 | * Since: 3.0 |
|
42292
5bc9561e5f2b
Add a bunch of properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42272
diff
changeset
|
662 | */ |
|
42387
d9350cda1556
Export symbols added for 3.0.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42355
diff
changeset
|
663 | PURPLE_AVAILABLE_IN_3_0 |
|
42292
5bc9561e5f2b
Add a bunch of properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42272
diff
changeset
|
664 | GDateTime *purple_conversation_get_created_on(PurpleConversation *conversation); |
|
5bc9561e5f2b
Add a bunch of properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42272
diff
changeset
|
665 | |
|
5bc9561e5f2b
Add a bunch of properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42272
diff
changeset
|
666 | /** |
|
5bc9561e5f2b
Add a bunch of properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42272
diff
changeset
|
667 | * purple_conversation_set_created_on: |
|
5bc9561e5f2b
Add a bunch of properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42272
diff
changeset
|
668 | * @conversation: The instance. |
|
5bc9561e5f2b
Add a bunch of properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42272
diff
changeset
|
669 | * @created_on: (nullable): The new created on value. |
|
5bc9561e5f2b
Add a bunch of properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42272
diff
changeset
|
670 | * |
|
5bc9561e5f2b
Add a bunch of properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42272
diff
changeset
|
671 | * Sets the creation time of @conversation to @created_on. |
|
5bc9561e5f2b
Add a bunch of properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42272
diff
changeset
|
672 | * |
|
42613
780d7efe37c2
Remove the micro version from since tags for libpurple part 2
Gary Kramlich <grim@reaperworld.com>
parents:
42594
diff
changeset
|
673 | * Since: 3.0 |
|
42292
5bc9561e5f2b
Add a bunch of properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42272
diff
changeset
|
674 | */ |
|
42387
d9350cda1556
Export symbols added for 3.0.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42355
diff
changeset
|
675 | PURPLE_AVAILABLE_IN_3_0 |
|
42292
5bc9561e5f2b
Add a bunch of properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42272
diff
changeset
|
676 | void purple_conversation_set_created_on(PurpleConversation *conversation, GDateTime *created_on); |
|
5bc9561e5f2b
Add a bunch of properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42272
diff
changeset
|
677 | |
|
5bc9561e5f2b
Add a bunch of properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42272
diff
changeset
|
678 | /** |
|
5bc9561e5f2b
Add a bunch of properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42272
diff
changeset
|
679 | * purple_conversation_get_creator: |
|
5bc9561e5f2b
Add a bunch of properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42272
diff
changeset
|
680 | * @conversation: The instance. |
|
5bc9561e5f2b
Add a bunch of properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42272
diff
changeset
|
681 | * |
|
5bc9561e5f2b
Add a bunch of properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42272
diff
changeset
|
682 | * Gets the [class@ContactInfo] that created @conversation. |
|
5bc9561e5f2b
Add a bunch of properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42272
diff
changeset
|
683 | * |
|
5bc9561e5f2b
Add a bunch of properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42272
diff
changeset
|
684 | * Returns: (transfer none): The creator or %NULL. |
|
5bc9561e5f2b
Add a bunch of properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42272
diff
changeset
|
685 | * |
|
42613
780d7efe37c2
Remove the micro version from since tags for libpurple part 2
Gary Kramlich <grim@reaperworld.com>
parents:
42594
diff
changeset
|
686 | * Since: 3.0 |
|
42292
5bc9561e5f2b
Add a bunch of properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42272
diff
changeset
|
687 | */ |
|
42387
d9350cda1556
Export symbols added for 3.0.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42355
diff
changeset
|
688 | PURPLE_AVAILABLE_IN_3_0 |
|
42292
5bc9561e5f2b
Add a bunch of properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42272
diff
changeset
|
689 | PurpleContactInfo *purple_conversation_get_creator(PurpleConversation *conversation); |
|
5bc9561e5f2b
Add a bunch of properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42272
diff
changeset
|
690 | |
|
5bc9561e5f2b
Add a bunch of properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42272
diff
changeset
|
691 | /** |
|
5bc9561e5f2b
Add a bunch of properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42272
diff
changeset
|
692 | * purple_conversation_set_creator: |
|
5bc9561e5f2b
Add a bunch of properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42272
diff
changeset
|
693 | * @conversation: The instance. |
|
5bc9561e5f2b
Add a bunch of properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42272
diff
changeset
|
694 | * @creator: (nullable) (transfer none): The new creator. |
|
5bc9561e5f2b
Add a bunch of properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42272
diff
changeset
|
695 | * |
|
5bc9561e5f2b
Add a bunch of properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42272
diff
changeset
|
696 | * Sets the creator of @conversation to @creator. |
|
5bc9561e5f2b
Add a bunch of properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42272
diff
changeset
|
697 | * |
|
42613
780d7efe37c2
Remove the micro version from since tags for libpurple part 2
Gary Kramlich <grim@reaperworld.com>
parents:
42594
diff
changeset
|
698 | * Since: 3.0 |
|
42292
5bc9561e5f2b
Add a bunch of properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42272
diff
changeset
|
699 | */ |
|
42387
d9350cda1556
Export symbols added for 3.0.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42355
diff
changeset
|
700 | PURPLE_AVAILABLE_IN_3_0 |
|
42292
5bc9561e5f2b
Add a bunch of properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42272
diff
changeset
|
701 | void purple_conversation_set_creator(PurpleConversation *conversation, PurpleContactInfo *creator); |
|
5bc9561e5f2b
Add a bunch of properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42272
diff
changeset
|
702 | |
|
5bc9561e5f2b
Add a bunch of properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42272
diff
changeset
|
703 | /** |
|
42318
3b05e7088b61
Add online and federated properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42316
diff
changeset
|
704 | * purple_conversation_get_online: |
|
3b05e7088b61
Add online and federated properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42316
diff
changeset
|
705 | * @conversation: The instance. |
|
3b05e7088b61
Add online and federated properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42316
diff
changeset
|
706 | * |
|
3b05e7088b61
Add online and federated properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42316
diff
changeset
|
707 | * Gets whether or not @conversation is online. |
|
3b05e7088b61
Add online and federated properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42316
diff
changeset
|
708 | * |
|
3b05e7088b61
Add online and federated properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42316
diff
changeset
|
709 | * A conversation is considered offline when messages cannot be sent or |
|
3b05e7088b61
Add online and federated properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42316
diff
changeset
|
710 | * received. |
|
3b05e7088b61
Add online and federated properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42316
diff
changeset
|
711 | * |
|
3b05e7088b61
Add online and federated properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42316
diff
changeset
|
712 | * Returns: %TRUE if messages can be sent and received from @conversation. |
|
3b05e7088b61
Add online and federated properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42316
diff
changeset
|
713 | * |
|
42613
780d7efe37c2
Remove the micro version from since tags for libpurple part 2
Gary Kramlich <grim@reaperworld.com>
parents:
42594
diff
changeset
|
714 | * Since: 3.0 |
|
42318
3b05e7088b61
Add online and federated properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42316
diff
changeset
|
715 | */ |
|
42387
d9350cda1556
Export symbols added for 3.0.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42355
diff
changeset
|
716 | PURPLE_AVAILABLE_IN_3_0 |
|
42318
3b05e7088b61
Add online and federated properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42316
diff
changeset
|
717 | gboolean purple_conversation_get_online(PurpleConversation *conversation); |
|
3b05e7088b61
Add online and federated properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42316
diff
changeset
|
718 | |
|
3b05e7088b61
Add online and federated properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42316
diff
changeset
|
719 | /** |
|
3b05e7088b61
Add online and federated properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42316
diff
changeset
|
720 | * purple_conversation_set_online: |
|
3b05e7088b61
Add online and federated properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42316
diff
changeset
|
721 | * @conversation: The instance. |
|
3b05e7088b61
Add online and federated properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42316
diff
changeset
|
722 | * @online: Whether or not the conversation is online. |
|
3b05e7088b61
Add online and federated properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42316
diff
changeset
|
723 | * |
|
3b05e7088b61
Add online and federated properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42316
diff
changeset
|
724 | * Sets whether or not the conversation is online, or able to send and receive |
|
3b05e7088b61
Add online and federated properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42316
diff
changeset
|
725 | * messages. |
|
3b05e7088b61
Add online and federated properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42316
diff
changeset
|
726 | * |
|
42613
780d7efe37c2
Remove the micro version from since tags for libpurple part 2
Gary Kramlich <grim@reaperworld.com>
parents:
42594
diff
changeset
|
727 | * Since: 3.0 |
|
42318
3b05e7088b61
Add online and federated properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42316
diff
changeset
|
728 | */ |
|
42387
d9350cda1556
Export symbols added for 3.0.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42355
diff
changeset
|
729 | PURPLE_AVAILABLE_IN_3_0 |
|
42318
3b05e7088b61
Add online and federated properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42316
diff
changeset
|
730 | void purple_conversation_set_online(PurpleConversation *conversation, gboolean online); |
|
3b05e7088b61
Add online and federated properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42316
diff
changeset
|
731 | |
|
3b05e7088b61
Add online and federated properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42316
diff
changeset
|
732 | /** |
|
3b05e7088b61
Add online and federated properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42316
diff
changeset
|
733 | * purple_conversation_get_federated: |
|
3b05e7088b61
Add online and federated properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42316
diff
changeset
|
734 | * @conversation: The instance. |
|
3b05e7088b61
Add online and federated properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42316
diff
changeset
|
735 | * |
|
3b05e7088b61
Add online and federated properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42316
diff
changeset
|
736 | * Gets whether or not @conversation is federated. |
|
3b05e7088b61
Add online and federated properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42316
diff
changeset
|
737 | * |
|
3b05e7088b61
Add online and federated properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42316
diff
changeset
|
738 | * Depending on the underlying protocol, conversations can be federated, which |
|
3b05e7088b61
Add online and federated properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42316
diff
changeset
|
739 | * means they can be running on a different server. When a protocol creates a |
|
3b05e7088b61
Add online and federated properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42316
diff
changeset
|
740 | * federated conversation, it takes the responsibility of managing the |
|
3b05e7088b61
Add online and federated properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42316
diff
changeset
|
741 | * [property@Conversation:online] state of the conversation. |
|
3b05e7088b61
Add online and federated properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42316
diff
changeset
|
742 | * |
|
3b05e7088b61
Add online and federated properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42316
diff
changeset
|
743 | * Returns: %TRUE if @conversation is federated otherwise %FALSE. |
|
3b05e7088b61
Add online and federated properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42316
diff
changeset
|
744 | * |
|
42613
780d7efe37c2
Remove the micro version from since tags for libpurple part 2
Gary Kramlich <grim@reaperworld.com>
parents:
42594
diff
changeset
|
745 | * Since: 3.0 |
|
42318
3b05e7088b61
Add online and federated properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42316
diff
changeset
|
746 | */ |
|
42387
d9350cda1556
Export symbols added for 3.0.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42355
diff
changeset
|
747 | PURPLE_AVAILABLE_IN_3_0 |
|
42318
3b05e7088b61
Add online and federated properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42316
diff
changeset
|
748 | gboolean purple_conversation_get_federated(PurpleConversation *conversation); |
|
3b05e7088b61
Add online and federated properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42316
diff
changeset
|
749 | |
|
3b05e7088b61
Add online and federated properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42316
diff
changeset
|
750 | /** |
|
42292
5bc9561e5f2b
Add a bunch of properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42272
diff
changeset
|
751 | * purple_conversation_get_tags: |
|
5bc9561e5f2b
Add a bunch of properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42272
diff
changeset
|
752 | * @conversation: The instance. |
|
5bc9561e5f2b
Add a bunch of properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42272
diff
changeset
|
753 | * |
|
5bc9561e5f2b
Add a bunch of properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42272
diff
changeset
|
754 | * Gets the [class@Tags] object from @conversation. |
|
5bc9561e5f2b
Add a bunch of properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42272
diff
changeset
|
755 | * |
|
5bc9561e5f2b
Add a bunch of properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42272
diff
changeset
|
756 | * Returns: (transfer none): The tags from @conversation. |
|
5bc9561e5f2b
Add a bunch of properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42272
diff
changeset
|
757 | * |
|
42613
780d7efe37c2
Remove the micro version from since tags for libpurple part 2
Gary Kramlich <grim@reaperworld.com>
parents:
42594
diff
changeset
|
758 | * Since: 3.0 |
|
42292
5bc9561e5f2b
Add a bunch of properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42272
diff
changeset
|
759 | */ |
|
42387
d9350cda1556
Export symbols added for 3.0.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42355
diff
changeset
|
760 | PURPLE_AVAILABLE_IN_3_0 |
|
42292
5bc9561e5f2b
Add a bunch of properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42272
diff
changeset
|
761 | PurpleTags *purple_conversation_get_tags(PurpleConversation *conversation); |
|
5bc9561e5f2b
Add a bunch of properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42272
diff
changeset
|
762 | |
|
5bc9561e5f2b
Add a bunch of properties to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42272
diff
changeset
|
763 | /** |
|
42114
d3fe2b899c89
Add membership management to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42070
diff
changeset
|
764 | * purple_conversation_get_members: |
|
d3fe2b899c89
Add membership management to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42070
diff
changeset
|
765 | * @conversation: The instance. |
|
d3fe2b899c89
Add membership management to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42070
diff
changeset
|
766 | * |
|
d3fe2b899c89
Add membership management to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42070
diff
changeset
|
767 | * Gets the members that are in @conversation. |
|
d3fe2b899c89
Add membership management to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42070
diff
changeset
|
768 | * |
|
d3fe2b899c89
Add membership management to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42070
diff
changeset
|
769 | * Returns: (transfer none): The members in @conversation. |
|
d3fe2b899c89
Add membership management to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42070
diff
changeset
|
770 | * |
|
42613
780d7efe37c2
Remove the micro version from since tags for libpurple part 2
Gary Kramlich <grim@reaperworld.com>
parents:
42594
diff
changeset
|
771 | * Since: 3.0 |
|
42114
d3fe2b899c89
Add membership management to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42070
diff
changeset
|
772 | */ |
|
42387
d9350cda1556
Export symbols added for 3.0.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42355
diff
changeset
|
773 | PURPLE_AVAILABLE_IN_3_0 |
|
42891
7f8daf96e7d3
Move Purple.Conversation:members to Purple.ConversationMembers
Gary Kramlich <grim@reaperworld.com>
parents:
42884
diff
changeset
|
774 | PurpleConversationMembers *purple_conversation_get_members(PurpleConversation *conversation); |
|
42114
d3fe2b899c89
Add membership management to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42070
diff
changeset
|
775 | |
|
d3fe2b899c89
Add membership management to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42070
diff
changeset
|
776 | /** |
|
42299
2dce52f93848
Add a "messages" property to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42292
diff
changeset
|
777 | * purple_conversation_get_messages: |
|
2dce52f93848
Add a "messages" property to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42292
diff
changeset
|
778 | * @conversation: The instance. |
|
2dce52f93848
Add a "messages" property to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42292
diff
changeset
|
779 | * |
|
2dce52f93848
Add a "messages" property to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42292
diff
changeset
|
780 | * Gets the list of all messages in @conversation. |
|
2dce52f93848
Add a "messages" property to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42292
diff
changeset
|
781 | * |
|
2dce52f93848
Add a "messages" property to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42292
diff
changeset
|
782 | * Returns: (transfer none): The list of messages. |
|
2dce52f93848
Add a "messages" property to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42292
diff
changeset
|
783 | * |
|
42613
780d7efe37c2
Remove the micro version from since tags for libpurple part 2
Gary Kramlich <grim@reaperworld.com>
parents:
42594
diff
changeset
|
784 | * Since: 3.0 |
|
42299
2dce52f93848
Add a "messages" property to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42292
diff
changeset
|
785 | */ |
|
42387
d9350cda1556
Export symbols added for 3.0.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42355
diff
changeset
|
786 | PURPLE_AVAILABLE_IN_3_0 |
|
42299
2dce52f93848
Add a "messages" property to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42292
diff
changeset
|
787 | GListModel *purple_conversation_get_messages(PurpleConversation *conversation); |
|
2dce52f93848
Add a "messages" property to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42292
diff
changeset
|
788 | |
|
42355
6f7c6b84aaa0
Add an avatar property to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42344
diff
changeset
|
789 | /** |
|
6f7c6b84aaa0
Add an avatar property to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42344
diff
changeset
|
790 | * purple_conversation_get_avatar: |
|
6f7c6b84aaa0
Add an avatar property to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42344
diff
changeset
|
791 | * @conversation: The instance. |
|
6f7c6b84aaa0
Add an avatar property to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42344
diff
changeset
|
792 | * |
|
43301
0e43dc8462e8
Replace Purple.Avatar with Purple.Image
Gary Kramlich <grim@reaperworld.com>
parents:
43234
diff
changeset
|
793 | * Gets the avatar for the conversation. |
|
42355
6f7c6b84aaa0
Add an avatar property to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42344
diff
changeset
|
794 | * |
|
6f7c6b84aaa0
Add an avatar property to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42344
diff
changeset
|
795 | * > Note: Not all protocols support this and user interfaces generally use |
|
6f7c6b84aaa0
Add an avatar property to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42344
diff
changeset
|
796 | * the avatar of a contact info for a direct message. |
|
6f7c6b84aaa0
Add an avatar property to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42344
diff
changeset
|
797 | * |
|
6f7c6b84aaa0
Add an avatar property to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42344
diff
changeset
|
798 | * Returns: (transfer none) (nullable): The avatar for the conversation. |
|
6f7c6b84aaa0
Add an avatar property to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42344
diff
changeset
|
799 | * |
|
42613
780d7efe37c2
Remove the micro version from since tags for libpurple part 2
Gary Kramlich <grim@reaperworld.com>
parents:
42594
diff
changeset
|
800 | * Since: 3.0 |
|
42355
6f7c6b84aaa0
Add an avatar property to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42344
diff
changeset
|
801 | */ |
|
42387
d9350cda1556
Export symbols added for 3.0.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42355
diff
changeset
|
802 | PURPLE_AVAILABLE_IN_3_0 |
|
43301
0e43dc8462e8
Replace Purple.Avatar with Purple.Image
Gary Kramlich <grim@reaperworld.com>
parents:
43234
diff
changeset
|
803 | PurpleImage *purple_conversation_get_avatar(PurpleConversation *conversation); |
|
42355
6f7c6b84aaa0
Add an avatar property to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42344
diff
changeset
|
804 | |
|
6f7c6b84aaa0
Add an avatar property to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42344
diff
changeset
|
805 | /** |
|
6f7c6b84aaa0
Add an avatar property to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42344
diff
changeset
|
806 | * purple_conversation_set_avatar: |
|
6f7c6b84aaa0
Add an avatar property to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42344
diff
changeset
|
807 | * @conversation: The instance. |
|
6f7c6b84aaa0
Add an avatar property to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42344
diff
changeset
|
808 | * @avatar: (nullable): The new avatar to set. |
|
6f7c6b84aaa0
Add an avatar property to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42344
diff
changeset
|
809 | * |
|
6f7c6b84aaa0
Add an avatar property to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42344
diff
changeset
|
810 | * Sets the avatar of @conversation to @avatar. |
|
6f7c6b84aaa0
Add an avatar property to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42344
diff
changeset
|
811 | * |
|
6f7c6b84aaa0
Add an avatar property to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42344
diff
changeset
|
812 | * > Note: Not all protocols support this and user interfaces generally use |
|
6f7c6b84aaa0
Add an avatar property to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42344
diff
changeset
|
813 | * the avatar of a contact info for a direct message. |
|
6f7c6b84aaa0
Add an avatar property to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42344
diff
changeset
|
814 | * |
|
42613
780d7efe37c2
Remove the micro version from since tags for libpurple part 2
Gary Kramlich <grim@reaperworld.com>
parents:
42594
diff
changeset
|
815 | * Since: 3.0 |
|
42355
6f7c6b84aaa0
Add an avatar property to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42344
diff
changeset
|
816 | */ |
|
42387
d9350cda1556
Export symbols added for 3.0.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42355
diff
changeset
|
817 | PURPLE_AVAILABLE_IN_3_0 |
|
43301
0e43dc8462e8
Replace Purple.Avatar with Purple.Image
Gary Kramlich <grim@reaperworld.com>
parents:
43234
diff
changeset
|
818 | void purple_conversation_set_avatar(PurpleConversation *conversation, PurpleImage *avatar); |
|
42355
6f7c6b84aaa0
Add an avatar property to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42344
diff
changeset
|
819 | |
|
42773
2718698a94b9
Add Conversation:alias and Conversation:title-for-display properties
Gary Kramlich <grim@reaperworld.com>
parents:
42760
diff
changeset
|
820 | /** |
|
43137
8d1d2ab65c87
Add properties to track whether conversation properties are editable
Gary Kramlich <grim@reaperworld.com>
parents:
43135
diff
changeset
|
821 | * purple_conversation_get_avatar_editable: |
|
8d1d2ab65c87
Add properties to track whether conversation properties are editable
Gary Kramlich <grim@reaperworld.com>
parents:
43135
diff
changeset
|
822 | * |
|
8d1d2ab65c87
Add properties to track whether conversation properties are editable
Gary Kramlich <grim@reaperworld.com>
parents:
43135
diff
changeset
|
823 | * Gets whether or not the conversation avatar is editable. |
|
8d1d2ab65c87
Add properties to track whether conversation properties are editable
Gary Kramlich <grim@reaperworld.com>
parents:
43135
diff
changeset
|
824 | * |
|
8d1d2ab65c87
Add properties to track whether conversation properties are editable
Gary Kramlich <grim@reaperworld.com>
parents:
43135
diff
changeset
|
825 | * Returns: true if the user can edit the avatar; otherwise false. |
|
8d1d2ab65c87
Add properties to track whether conversation properties are editable
Gary Kramlich <grim@reaperworld.com>
parents:
43135
diff
changeset
|
826 | * |
|
8d1d2ab65c87
Add properties to track whether conversation properties are editable
Gary Kramlich <grim@reaperworld.com>
parents:
43135
diff
changeset
|
827 | * Since: 3.0 |
|
8d1d2ab65c87
Add properties to track whether conversation properties are editable
Gary Kramlich <grim@reaperworld.com>
parents:
43135
diff
changeset
|
828 | */ |
|
8d1d2ab65c87
Add properties to track whether conversation properties are editable
Gary Kramlich <grim@reaperworld.com>
parents:
43135
diff
changeset
|
829 | PURPLE_AVAILABLE_IN_3_0 |
|
8d1d2ab65c87
Add properties to track whether conversation properties are editable
Gary Kramlich <grim@reaperworld.com>
parents:
43135
diff
changeset
|
830 | gboolean purple_conversation_get_avatar_editable(PurpleConversation *conversation); |
|
8d1d2ab65c87
Add properties to track whether conversation properties are editable
Gary Kramlich <grim@reaperworld.com>
parents:
43135
diff
changeset
|
831 | |
|
8d1d2ab65c87
Add properties to track whether conversation properties are editable
Gary Kramlich <grim@reaperworld.com>
parents:
43135
diff
changeset
|
832 | /** |
|
8d1d2ab65c87
Add properties to track whether conversation properties are editable
Gary Kramlich <grim@reaperworld.com>
parents:
43135
diff
changeset
|
833 | * purple_conversation_set_avatar_editable: |
|
8d1d2ab65c87
Add properties to track whether conversation properties are editable
Gary Kramlich <grim@reaperworld.com>
parents:
43135
diff
changeset
|
834 | * @editable: the new value |
|
8d1d2ab65c87
Add properties to track whether conversation properties are editable
Gary Kramlich <grim@reaperworld.com>
parents:
43135
diff
changeset
|
835 | * |
|
8d1d2ab65c87
Add properties to track whether conversation properties are editable
Gary Kramlich <grim@reaperworld.com>
parents:
43135
diff
changeset
|
836 | * Sets whether or not a conversation's avatar is editable. |
|
8d1d2ab65c87
Add properties to track whether conversation properties are editable
Gary Kramlich <grim@reaperworld.com>
parents:
43135
diff
changeset
|
837 | * |
|
8d1d2ab65c87
Add properties to track whether conversation properties are editable
Gary Kramlich <grim@reaperworld.com>
parents:
43135
diff
changeset
|
838 | * This should primarily be called by a protocol when a user's permissions |
|
8d1d2ab65c87
Add properties to track whether conversation properties are editable
Gary Kramlich <grim@reaperworld.com>
parents:
43135
diff
changeset
|
839 | * change in the conversation. |
|
8d1d2ab65c87
Add properties to track whether conversation properties are editable
Gary Kramlich <grim@reaperworld.com>
parents:
43135
diff
changeset
|
840 | * |
|
8d1d2ab65c87
Add properties to track whether conversation properties are editable
Gary Kramlich <grim@reaperworld.com>
parents:
43135
diff
changeset
|
841 | * Since: 3.0 |
|
8d1d2ab65c87
Add properties to track whether conversation properties are editable
Gary Kramlich <grim@reaperworld.com>
parents:
43135
diff
changeset
|
842 | */ |
|
8d1d2ab65c87
Add properties to track whether conversation properties are editable
Gary Kramlich <grim@reaperworld.com>
parents:
43135
diff
changeset
|
843 | PURPLE_AVAILABLE_IN_3_0 |
|
8d1d2ab65c87
Add properties to track whether conversation properties are editable
Gary Kramlich <grim@reaperworld.com>
parents:
43135
diff
changeset
|
844 | void purple_conversation_set_avatar_editable(PurpleConversation *conversation, gboolean editable); |
|
8d1d2ab65c87
Add properties to track whether conversation properties are editable
Gary Kramlich <grim@reaperworld.com>
parents:
43135
diff
changeset
|
845 | |
|
8d1d2ab65c87
Add properties to track whether conversation properties are editable
Gary Kramlich <grim@reaperworld.com>
parents:
43135
diff
changeset
|
846 | /** |
|
42773
2718698a94b9
Add Conversation:alias and Conversation:title-for-display properties
Gary Kramlich <grim@reaperworld.com>
parents:
42760
diff
changeset
|
847 | * purple_conversation_get_title_for_display: |
|
2718698a94b9
Add Conversation:alias and Conversation:title-for-display properties
Gary Kramlich <grim@reaperworld.com>
parents:
42760
diff
changeset
|
848 | * @conversation: The instance. |
|
2718698a94b9
Add Conversation:alias and Conversation:title-for-display properties
Gary Kramlich <grim@reaperworld.com>
parents:
42760
diff
changeset
|
849 | * |
|
2718698a94b9
Add Conversation:alias and Conversation:title-for-display properties
Gary Kramlich <grim@reaperworld.com>
parents:
42760
diff
changeset
|
850 | * Gets the title that should be displayed for @conversation. |
|
2718698a94b9
Add Conversation:alias and Conversation:title-for-display properties
Gary Kramlich <grim@reaperworld.com>
parents:
42760
diff
changeset
|
851 | * |
|
2718698a94b9
Add Conversation:alias and Conversation:title-for-display properties
Gary Kramlich <grim@reaperworld.com>
parents:
42760
diff
changeset
|
852 | * A full breakdown for how this works can be found in the documentation for |
|
2718698a94b9
Add Conversation:alias and Conversation:title-for-display properties
Gary Kramlich <grim@reaperworld.com>
parents:
42760
diff
changeset
|
853 | * [property@Conversation:title-for-display]. |
|
2718698a94b9
Add Conversation:alias and Conversation:title-for-display properties
Gary Kramlich <grim@reaperworld.com>
parents:
42760
diff
changeset
|
854 | * |
|
2718698a94b9
Add Conversation:alias and Conversation:title-for-display properties
Gary Kramlich <grim@reaperworld.com>
parents:
42760
diff
changeset
|
855 | * Returns: The title to display. |
|
2718698a94b9
Add Conversation:alias and Conversation:title-for-display properties
Gary Kramlich <grim@reaperworld.com>
parents:
42760
diff
changeset
|
856 | * |
|
2718698a94b9
Add Conversation:alias and Conversation:title-for-display properties
Gary Kramlich <grim@reaperworld.com>
parents:
42760
diff
changeset
|
857 | * Since: 3.0 |
|
2718698a94b9
Add Conversation:alias and Conversation:title-for-display properties
Gary Kramlich <grim@reaperworld.com>
parents:
42760
diff
changeset
|
858 | */ |
|
2718698a94b9
Add Conversation:alias and Conversation:title-for-display properties
Gary Kramlich <grim@reaperworld.com>
parents:
42760
diff
changeset
|
859 | PURPLE_AVAILABLE_IN_3_0 |
|
2718698a94b9
Add Conversation:alias and Conversation:title-for-display properties
Gary Kramlich <grim@reaperworld.com>
parents:
42760
diff
changeset
|
860 | const char *purple_conversation_get_title_for_display(PurpleConversation *conversation); |
|
2718698a94b9
Add Conversation:alias and Conversation:title-for-display properties
Gary Kramlich <grim@reaperworld.com>
parents:
42760
diff
changeset
|
861 | |
|
2718698a94b9
Add Conversation:alias and Conversation:title-for-display properties
Gary Kramlich <grim@reaperworld.com>
parents:
42760
diff
changeset
|
862 | /** |
|
2718698a94b9
Add Conversation:alias and Conversation:title-for-display properties
Gary Kramlich <grim@reaperworld.com>
parents:
42760
diff
changeset
|
863 | * purple_conversation_get_alias: |
|
2718698a94b9
Add Conversation:alias and Conversation:title-for-display properties
Gary Kramlich <grim@reaperworld.com>
parents:
42760
diff
changeset
|
864 | * @conversation: The instance. |
|
2718698a94b9
Add Conversation:alias and Conversation:title-for-display properties
Gary Kramlich <grim@reaperworld.com>
parents:
42760
diff
changeset
|
865 | * |
|
2718698a94b9
Add Conversation:alias and Conversation:title-for-display properties
Gary Kramlich <grim@reaperworld.com>
parents:
42760
diff
changeset
|
866 | * Gets the libpurple user defined alias for @conversation. |
|
2718698a94b9
Add Conversation:alias and Conversation:title-for-display properties
Gary Kramlich <grim@reaperworld.com>
parents:
42760
diff
changeset
|
867 | * |
|
2718698a94b9
Add Conversation:alias and Conversation:title-for-display properties
Gary Kramlich <grim@reaperworld.com>
parents:
42760
diff
changeset
|
868 | * Returns: (nullable): The alias or %NULL. |
|
2718698a94b9
Add Conversation:alias and Conversation:title-for-display properties
Gary Kramlich <grim@reaperworld.com>
parents:
42760
diff
changeset
|
869 | * |
|
2718698a94b9
Add Conversation:alias and Conversation:title-for-display properties
Gary Kramlich <grim@reaperworld.com>
parents:
42760
diff
changeset
|
870 | * Since: 3.0 |
|
2718698a94b9
Add Conversation:alias and Conversation:title-for-display properties
Gary Kramlich <grim@reaperworld.com>
parents:
42760
diff
changeset
|
871 | */ |
|
2718698a94b9
Add Conversation:alias and Conversation:title-for-display properties
Gary Kramlich <grim@reaperworld.com>
parents:
42760
diff
changeset
|
872 | PURPLE_AVAILABLE_IN_3_0 |
|
2718698a94b9
Add Conversation:alias and Conversation:title-for-display properties
Gary Kramlich <grim@reaperworld.com>
parents:
42760
diff
changeset
|
873 | const char *purple_conversation_get_alias(PurpleConversation *conversation); |
|
2718698a94b9
Add Conversation:alias and Conversation:title-for-display properties
Gary Kramlich <grim@reaperworld.com>
parents:
42760
diff
changeset
|
874 | |
|
2718698a94b9
Add Conversation:alias and Conversation:title-for-display properties
Gary Kramlich <grim@reaperworld.com>
parents:
42760
diff
changeset
|
875 | /** |
|
2718698a94b9
Add Conversation:alias and Conversation:title-for-display properties
Gary Kramlich <grim@reaperworld.com>
parents:
42760
diff
changeset
|
876 | * purple_conversation_set_alias: |
|
2718698a94b9
Add Conversation:alias and Conversation:title-for-display properties
Gary Kramlich <grim@reaperworld.com>
parents:
42760
diff
changeset
|
877 | * @conversation: The instance. |
|
2718698a94b9
Add Conversation:alias and Conversation:title-for-display properties
Gary Kramlich <grim@reaperworld.com>
parents:
42760
diff
changeset
|
878 | * @alias: (nullable): The new alias. |
|
2718698a94b9
Add Conversation:alias and Conversation:title-for-display properties
Gary Kramlich <grim@reaperworld.com>
parents:
42760
diff
changeset
|
879 | * |
|
2718698a94b9
Add Conversation:alias and Conversation:title-for-display properties
Gary Kramlich <grim@reaperworld.com>
parents:
42760
diff
changeset
|
880 | * Sets the libpurple user defined alias of @conversation to @alias. |
|
2718698a94b9
Add Conversation:alias and Conversation:title-for-display properties
Gary Kramlich <grim@reaperworld.com>
parents:
42760
diff
changeset
|
881 | * |
|
2718698a94b9
Add Conversation:alias and Conversation:title-for-display properties
Gary Kramlich <grim@reaperworld.com>
parents:
42760
diff
changeset
|
882 | * Since: 3.0 |
|
2718698a94b9
Add Conversation:alias and Conversation:title-for-display properties
Gary Kramlich <grim@reaperworld.com>
parents:
42760
diff
changeset
|
883 | */ |
|
2718698a94b9
Add Conversation:alias and Conversation:title-for-display properties
Gary Kramlich <grim@reaperworld.com>
parents:
42760
diff
changeset
|
884 | PURPLE_AVAILABLE_IN_3_0 |
|
2718698a94b9
Add Conversation:alias and Conversation:title-for-display properties
Gary Kramlich <grim@reaperworld.com>
parents:
42760
diff
changeset
|
885 | void purple_conversation_set_alias(PurpleConversation *conversation, const char *alias); |
|
2718698a94b9
Add Conversation:alias and Conversation:title-for-display properties
Gary Kramlich <grim@reaperworld.com>
parents:
42760
diff
changeset
|
886 | |
|
42848
f9a04b0bed1f
Add a needs-attention property to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42839
diff
changeset
|
887 | /** |
|
f9a04b0bed1f
Add a needs-attention property to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42839
diff
changeset
|
888 | * purple_conversation_get_needs_attention: |
|
f9a04b0bed1f
Add a needs-attention property to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42839
diff
changeset
|
889 | * @conversation: The instance. |
|
f9a04b0bed1f
Add a needs-attention property to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42839
diff
changeset
|
890 | * |
|
f9a04b0bed1f
Add a needs-attention property to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42839
diff
changeset
|
891 | * Gets whether or not @conversation needs attention. |
|
f9a04b0bed1f
Add a needs-attention property to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42839
diff
changeset
|
892 | * |
|
f9a04b0bed1f
Add a needs-attention property to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42839
diff
changeset
|
893 | * Returns: %TRUE if @conversation needs attention, otherwise %FALSE. |
|
f9a04b0bed1f
Add a needs-attention property to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42839
diff
changeset
|
894 | * |
|
f9a04b0bed1f
Add a needs-attention property to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42839
diff
changeset
|
895 | * Since: 3.0 |
|
f9a04b0bed1f
Add a needs-attention property to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42839
diff
changeset
|
896 | */ |
|
f9a04b0bed1f
Add a needs-attention property to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42839
diff
changeset
|
897 | PURPLE_AVAILABLE_IN_3_0 |
|
f9a04b0bed1f
Add a needs-attention property to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42839
diff
changeset
|
898 | gboolean purple_conversation_get_needs_attention(PurpleConversation *conversation); |
|
f9a04b0bed1f
Add a needs-attention property to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42839
diff
changeset
|
899 | |
|
f9a04b0bed1f
Add a needs-attention property to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42839
diff
changeset
|
900 | /** |
|
f9a04b0bed1f
Add a needs-attention property to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42839
diff
changeset
|
901 | * purple_conversation_set_needs_attention: |
|
f9a04b0bed1f
Add a needs-attention property to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42839
diff
changeset
|
902 | * @conversation: The instance. |
|
f9a04b0bed1f
Add a needs-attention property to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42839
diff
changeset
|
903 | * @needs_attention: %TRUE to mark @conversation as needing attention. |
|
f9a04b0bed1f
Add a needs-attention property to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42839
diff
changeset
|
904 | * |
|
f9a04b0bed1f
Add a needs-attention property to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42839
diff
changeset
|
905 | * Marks @conversation as needing attention or not. |
|
f9a04b0bed1f
Add a needs-attention property to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42839
diff
changeset
|
906 | * |
|
f9a04b0bed1f
Add a needs-attention property to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42839
diff
changeset
|
907 | * Since: 3.0 |
|
f9a04b0bed1f
Add a needs-attention property to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42839
diff
changeset
|
908 | */ |
|
f9a04b0bed1f
Add a needs-attention property to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42839
diff
changeset
|
909 | PURPLE_AVAILABLE_IN_3_0 |
|
f9a04b0bed1f
Add a needs-attention property to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42839
diff
changeset
|
910 | void purple_conversation_set_needs_attention(PurpleConversation *conversation, gboolean needs_attention); |
|
f9a04b0bed1f
Add a needs-attention property to PurpleConversation
Gary Kramlich <grim@reaperworld.com>
parents:
42839
diff
changeset
|
911 | |
|
42884
5a7d425c9d1b
Add a typing-state property to Purple.Conversation
Gary Kramlich <grim@reaperworld.com>
parents:
42857
diff
changeset
|
912 | /** |
|
5a7d425c9d1b
Add a typing-state property to Purple.Conversation
Gary Kramlich <grim@reaperworld.com>
parents:
42857
diff
changeset
|
913 | * purple_conversation_get_typing_state: |
|
5a7d425c9d1b
Add a typing-state property to Purple.Conversation
Gary Kramlich <grim@reaperworld.com>
parents:
42857
diff
changeset
|
914 | * @conversation: The instance. |
|
5a7d425c9d1b
Add a typing-state property to Purple.Conversation
Gary Kramlich <grim@reaperworld.com>
parents:
42857
diff
changeset
|
915 | * |
|
5a7d425c9d1b
Add a typing-state property to Purple.Conversation
Gary Kramlich <grim@reaperworld.com>
parents:
42857
diff
changeset
|
916 | * Gets the [enum@TypingState] for the libpurple user in @conversation. |
|
5a7d425c9d1b
Add a typing-state property to Purple.Conversation
Gary Kramlich <grim@reaperworld.com>
parents:
42857
diff
changeset
|
917 | * |
|
5a7d425c9d1b
Add a typing-state property to Purple.Conversation
Gary Kramlich <grim@reaperworld.com>
parents:
42857
diff
changeset
|
918 | * Returns: The typing state of the libpurple user. |
|
5a7d425c9d1b
Add a typing-state property to Purple.Conversation
Gary Kramlich <grim@reaperworld.com>
parents:
42857
diff
changeset
|
919 | * |
|
5a7d425c9d1b
Add a typing-state property to Purple.Conversation
Gary Kramlich <grim@reaperworld.com>
parents:
42857
diff
changeset
|
920 | * Since: 3.0 |
|
5a7d425c9d1b
Add a typing-state property to Purple.Conversation
Gary Kramlich <grim@reaperworld.com>
parents:
42857
diff
changeset
|
921 | */ |
|
5a7d425c9d1b
Add a typing-state property to Purple.Conversation
Gary Kramlich <grim@reaperworld.com>
parents:
42857
diff
changeset
|
922 | PURPLE_AVAILABLE_IN_3_0 |
|
5a7d425c9d1b
Add a typing-state property to Purple.Conversation
Gary Kramlich <grim@reaperworld.com>
parents:
42857
diff
changeset
|
923 | PurpleTypingState purple_conversation_get_typing_state(PurpleConversation *conversation); |
|
5a7d425c9d1b
Add a typing-state property to Purple.Conversation
Gary Kramlich <grim@reaperworld.com>
parents:
42857
diff
changeset
|
924 | |
|
5a7d425c9d1b
Add a typing-state property to Purple.Conversation
Gary Kramlich <grim@reaperworld.com>
parents:
42857
diff
changeset
|
925 | /** |
|
5a7d425c9d1b
Add a typing-state property to Purple.Conversation
Gary Kramlich <grim@reaperworld.com>
parents:
42857
diff
changeset
|
926 | * purple_conversation_set_typing_state: |
|
5a7d425c9d1b
Add a typing-state property to Purple.Conversation
Gary Kramlich <grim@reaperworld.com>
parents:
42857
diff
changeset
|
927 | * @conversation: The instance. |
|
5a7d425c9d1b
Add a typing-state property to Purple.Conversation
Gary Kramlich <grim@reaperworld.com>
parents:
42857
diff
changeset
|
928 | * @typing_state: The new state. |
|
5a7d425c9d1b
Add a typing-state property to Purple.Conversation
Gary Kramlich <grim@reaperworld.com>
parents:
42857
diff
changeset
|
929 | * |
|
5a7d425c9d1b
Add a typing-state property to Purple.Conversation
Gary Kramlich <grim@reaperworld.com>
parents:
42857
diff
changeset
|
930 | * Sets the [enum@TypingState] of the libpurple user in @conversation to |
|
5a7d425c9d1b
Add a typing-state property to Purple.Conversation
Gary Kramlich <grim@reaperworld.com>
parents:
42857
diff
changeset
|
931 | * @typing_state. |
|
5a7d425c9d1b
Add a typing-state property to Purple.Conversation
Gary Kramlich <grim@reaperworld.com>
parents:
42857
diff
changeset
|
932 | * |
|
5a7d425c9d1b
Add a typing-state property to Purple.Conversation
Gary Kramlich <grim@reaperworld.com>
parents:
42857
diff
changeset
|
933 | * This will also call [method@ProtocolConversation.send_typing] if it is |
|
5a7d425c9d1b
Add a typing-state property to Purple.Conversation
Gary Kramlich <grim@reaperworld.com>
parents:
42857
diff
changeset
|
934 | * implemented. |
|
5a7d425c9d1b
Add a typing-state property to Purple.Conversation
Gary Kramlich <grim@reaperworld.com>
parents:
42857
diff
changeset
|
935 | * |
|
5a7d425c9d1b
Add a typing-state property to Purple.Conversation
Gary Kramlich <grim@reaperworld.com>
parents:
42857
diff
changeset
|
936 | * Since: 3.0 |
|
5a7d425c9d1b
Add a typing-state property to Purple.Conversation
Gary Kramlich <grim@reaperworld.com>
parents:
42857
diff
changeset
|
937 | */ |
|
5a7d425c9d1b
Add a typing-state property to Purple.Conversation
Gary Kramlich <grim@reaperworld.com>
parents:
42857
diff
changeset
|
938 | PURPLE_AVAILABLE_IN_3_0 |
|
5a7d425c9d1b
Add a typing-state property to Purple.Conversation
Gary Kramlich <grim@reaperworld.com>
parents:
42857
diff
changeset
|
939 | void purple_conversation_set_typing_state(PurpleConversation *conversation, PurpleTypingState typing_state); |
|
5a7d425c9d1b
Add a typing-state property to Purple.Conversation
Gary Kramlich <grim@reaperworld.com>
parents:
42857
diff
changeset
|
940 | |
|
42908
64bbb9d4bf94
Add a logging property to Purple.Conversation
Gary Kramlich <grim@reaperworld.com>
parents:
42895
diff
changeset
|
941 | /** |
|
64bbb9d4bf94
Add a logging property to Purple.Conversation
Gary Kramlich <grim@reaperworld.com>
parents:
42895
diff
changeset
|
942 | * purple_conversation_get_logging: |
|
64bbb9d4bf94
Add a logging property to Purple.Conversation
Gary Kramlich <grim@reaperworld.com>
parents:
42895
diff
changeset
|
943 | * @conversation: The instance. |
|
64bbb9d4bf94
Add a logging property to Purple.Conversation
Gary Kramlich <grim@reaperworld.com>
parents:
42895
diff
changeset
|
944 | * |
|
64bbb9d4bf94
Add a logging property to Purple.Conversation
Gary Kramlich <grim@reaperworld.com>
parents:
42895
diff
changeset
|
945 | * Gets whether or not @conversation is currently being logged. |
|
64bbb9d4bf94
Add a logging property to Purple.Conversation
Gary Kramlich <grim@reaperworld.com>
parents:
42895
diff
changeset
|
946 | * |
|
64bbb9d4bf94
Add a logging property to Purple.Conversation
Gary Kramlich <grim@reaperworld.com>
parents:
42895
diff
changeset
|
947 | * Returns: %TRUE if @conversation is being logged, otherwise %FALSE. |
|
64bbb9d4bf94
Add a logging property to Purple.Conversation
Gary Kramlich <grim@reaperworld.com>
parents:
42895
diff
changeset
|
948 | * |
|
64bbb9d4bf94
Add a logging property to Purple.Conversation
Gary Kramlich <grim@reaperworld.com>
parents:
42895
diff
changeset
|
949 | * Since: 3.0 |
|
64bbb9d4bf94
Add a logging property to Purple.Conversation
Gary Kramlich <grim@reaperworld.com>
parents:
42895
diff
changeset
|
950 | */ |
|
64bbb9d4bf94
Add a logging property to Purple.Conversation
Gary Kramlich <grim@reaperworld.com>
parents:
42895
diff
changeset
|
951 | PURPLE_AVAILABLE_IN_3_0 |
|
64bbb9d4bf94
Add a logging property to Purple.Conversation
Gary Kramlich <grim@reaperworld.com>
parents:
42895
diff
changeset
|
952 | gboolean purple_conversation_get_logging(PurpleConversation *conversation); |
|
64bbb9d4bf94
Add a logging property to Purple.Conversation
Gary Kramlich <grim@reaperworld.com>
parents:
42895
diff
changeset
|
953 | |
|
64bbb9d4bf94
Add a logging property to Purple.Conversation
Gary Kramlich <grim@reaperworld.com>
parents:
42895
diff
changeset
|
954 | /** |
|
64bbb9d4bf94
Add a logging property to Purple.Conversation
Gary Kramlich <grim@reaperworld.com>
parents:
42895
diff
changeset
|
955 | * purple_conversation_set_logging: |
|
64bbb9d4bf94
Add a logging property to Purple.Conversation
Gary Kramlich <grim@reaperworld.com>
parents:
42895
diff
changeset
|
956 | * @conversation: The instance. |
|
64bbb9d4bf94
Add a logging property to Purple.Conversation
Gary Kramlich <grim@reaperworld.com>
parents:
42895
diff
changeset
|
957 | * @logging: The new logging state. |
|
64bbb9d4bf94
Add a logging property to Purple.Conversation
Gary Kramlich <grim@reaperworld.com>
parents:
42895
diff
changeset
|
958 | * |
|
64bbb9d4bf94
Add a logging property to Purple.Conversation
Gary Kramlich <grim@reaperworld.com>
parents:
42895
diff
changeset
|
959 | * Sets the logging state of @conversation to @logging. |
|
64bbb9d4bf94
Add a logging property to Purple.Conversation
Gary Kramlich <grim@reaperworld.com>
parents:
42895
diff
changeset
|
960 | * |
|
64bbb9d4bf94
Add a logging property to Purple.Conversation
Gary Kramlich <grim@reaperworld.com>
parents:
42895
diff
changeset
|
961 | * Since: 3.0 |
|
64bbb9d4bf94
Add a logging property to Purple.Conversation
Gary Kramlich <grim@reaperworld.com>
parents:
42895
diff
changeset
|
962 | */ |
|
64bbb9d4bf94
Add a logging property to Purple.Conversation
Gary Kramlich <grim@reaperworld.com>
parents:
42895
diff
changeset
|
963 | PURPLE_AVAILABLE_IN_3_0 |
|
64bbb9d4bf94
Add a logging property to Purple.Conversation
Gary Kramlich <grim@reaperworld.com>
parents:
42895
diff
changeset
|
964 | void purple_conversation_set_logging(PurpleConversation *conversation, gboolean logging); |
|
64bbb9d4bf94
Add a logging property to Purple.Conversation
Gary Kramlich <grim@reaperworld.com>
parents:
42895
diff
changeset
|
965 | |
|
42916
28a4480fe746
Add Purple.Conversation:drafting
Gary Kramlich <grim@reaperworld.com>
parents:
42908
diff
changeset
|
966 | /** |
|
28a4480fe746
Add Purple.Conversation:drafting
Gary Kramlich <grim@reaperworld.com>
parents:
42908
diff
changeset
|
967 | * purple_conversation_get_drafting: |
|
28a4480fe746
Add Purple.Conversation:drafting
Gary Kramlich <grim@reaperworld.com>
parents:
42908
diff
changeset
|
968 | * @conversation: The instance. |
|
28a4480fe746
Add Purple.Conversation:drafting
Gary Kramlich <grim@reaperworld.com>
parents:
42908
diff
changeset
|
969 | * |
|
28a4480fe746
Add Purple.Conversation:drafting
Gary Kramlich <grim@reaperworld.com>
parents:
42908
diff
changeset
|
970 | * Gets whether or not the user is currently drafting a message in |
|
28a4480fe746
Add Purple.Conversation:drafting
Gary Kramlich <grim@reaperworld.com>
parents:
42908
diff
changeset
|
971 | * @conversation. |
|
28a4480fe746
Add Purple.Conversation:drafting
Gary Kramlich <grim@reaperworld.com>
parents:
42908
diff
changeset
|
972 | * |
|
28a4480fe746
Add Purple.Conversation:drafting
Gary Kramlich <grim@reaperworld.com>
parents:
42908
diff
changeset
|
973 | * This is similar to [property@Conversation:typing-state] except there is no |
|
28a4480fe746
Add Purple.Conversation:drafting
Gary Kramlich <grim@reaperworld.com>
parents:
42908
diff
changeset
|
974 | * timeout. |
|
28a4480fe746
Add Purple.Conversation:drafting
Gary Kramlich <grim@reaperworld.com>
parents:
42908
diff
changeset
|
975 | * |
|
28a4480fe746
Add Purple.Conversation:drafting
Gary Kramlich <grim@reaperworld.com>
parents:
42908
diff
changeset
|
976 | * This is typically just for user interfaces, but might be useful elsewhere. |
|
28a4480fe746
Add Purple.Conversation:drafting
Gary Kramlich <grim@reaperworld.com>
parents:
42908
diff
changeset
|
977 | * |
|
28a4480fe746
Add Purple.Conversation:drafting
Gary Kramlich <grim@reaperworld.com>
parents:
42908
diff
changeset
|
978 | * Returns: %TRUE if the user has entered text into the input widget for |
|
28a4480fe746
Add Purple.Conversation:drafting
Gary Kramlich <grim@reaperworld.com>
parents:
42908
diff
changeset
|
979 | * @conversation otherwise %FALSE. |
|
28a4480fe746
Add Purple.Conversation:drafting
Gary Kramlich <grim@reaperworld.com>
parents:
42908
diff
changeset
|
980 | * |
|
28a4480fe746
Add Purple.Conversation:drafting
Gary Kramlich <grim@reaperworld.com>
parents:
42908
diff
changeset
|
981 | * Since: 3.0 |
|
28a4480fe746
Add Purple.Conversation:drafting
Gary Kramlich <grim@reaperworld.com>
parents:
42908
diff
changeset
|
982 | */ |
|
28a4480fe746
Add Purple.Conversation:drafting
Gary Kramlich <grim@reaperworld.com>
parents:
42908
diff
changeset
|
983 | PURPLE_AVAILABLE_IN_3_0 |
|
28a4480fe746
Add Purple.Conversation:drafting
Gary Kramlich <grim@reaperworld.com>
parents:
42908
diff
changeset
|
984 | gboolean purple_conversation_get_drafting(PurpleConversation *conversation); |
|
28a4480fe746
Add Purple.Conversation:drafting
Gary Kramlich <grim@reaperworld.com>
parents:
42908
diff
changeset
|
985 | |
|
28a4480fe746
Add Purple.Conversation:drafting
Gary Kramlich <grim@reaperworld.com>
parents:
42908
diff
changeset
|
986 | /** |
|
28a4480fe746
Add Purple.Conversation:drafting
Gary Kramlich <grim@reaperworld.com>
parents:
42908
diff
changeset
|
987 | * purple_conversation_set_drafting: |
|
28a4480fe746
Add Purple.Conversation:drafting
Gary Kramlich <grim@reaperworld.com>
parents:
42908
diff
changeset
|
988 | * @conversation: The instance. |
|
28a4480fe746
Add Purple.Conversation:drafting
Gary Kramlich <grim@reaperworld.com>
parents:
42908
diff
changeset
|
989 | * @drafting: The new state. |
|
28a4480fe746
Add Purple.Conversation:drafting
Gary Kramlich <grim@reaperworld.com>
parents:
42908
diff
changeset
|
990 | * |
|
28a4480fe746
Add Purple.Conversation:drafting
Gary Kramlich <grim@reaperworld.com>
parents:
42908
diff
changeset
|
991 | * Sets the drafting state of @conversation to @drafting. |
|
28a4480fe746
Add Purple.Conversation:drafting
Gary Kramlich <grim@reaperworld.com>
parents:
42908
diff
changeset
|
992 | * |
|
28a4480fe746
Add Purple.Conversation:drafting
Gary Kramlich <grim@reaperworld.com>
parents:
42908
diff
changeset
|
993 | * This can be used by user interfaces to keep track of whether the user has |
|
28a4480fe746
Add Purple.Conversation:drafting
Gary Kramlich <grim@reaperworld.com>
parents:
42908
diff
changeset
|
994 | * started drafting a message for this conversation. |
|
28a4480fe746
Add Purple.Conversation:drafting
Gary Kramlich <grim@reaperworld.com>
parents:
42908
diff
changeset
|
995 | * |
|
28a4480fe746
Add Purple.Conversation:drafting
Gary Kramlich <grim@reaperworld.com>
parents:
42908
diff
changeset
|
996 | * Since: 3.0 |
|
28a4480fe746
Add Purple.Conversation:drafting
Gary Kramlich <grim@reaperworld.com>
parents:
42908
diff
changeset
|
997 | */ |
|
28a4480fe746
Add Purple.Conversation:drafting
Gary Kramlich <grim@reaperworld.com>
parents:
42908
diff
changeset
|
998 | PURPLE_AVAILABLE_IN_3_0 |
|
28a4480fe746
Add Purple.Conversation:drafting
Gary Kramlich <grim@reaperworld.com>
parents:
42908
diff
changeset
|
999 | void purple_conversation_set_drafting(PurpleConversation *conversation, gboolean drafting); |
|
28a4480fe746
Add Purple.Conversation:drafting
Gary Kramlich <grim@reaperworld.com>
parents:
42908
diff
changeset
|
1000 | |
|
43064
ac5311a8f11e
Add PurpleConversation:error property
Markus Fischer <ivanhoe@fiscari.de>
parents:
42916
diff
changeset
|
1001 | /** |
|
ac5311a8f11e
Add PurpleConversation:error property
Markus Fischer <ivanhoe@fiscari.de>
parents:
42916
diff
changeset
|
1002 | * purple_conversation_get_error: |
|
ac5311a8f11e
Add PurpleConversation:error property
Markus Fischer <ivanhoe@fiscari.de>
parents:
42916
diff
changeset
|
1003 | * @conversation: The instance. |
|
ac5311a8f11e
Add PurpleConversation:error property
Markus Fischer <ivanhoe@fiscari.de>
parents:
42916
diff
changeset
|
1004 | * |
|
ac5311a8f11e
Add PurpleConversation:error property
Markus Fischer <ivanhoe@fiscari.de>
parents:
42916
diff
changeset
|
1005 | * Gets the error of @conversation. |
|
ac5311a8f11e
Add PurpleConversation:error property
Markus Fischer <ivanhoe@fiscari.de>
parents:
42916
diff
changeset
|
1006 | * |
|
ac5311a8f11e
Add PurpleConversation:error property
Markus Fischer <ivanhoe@fiscari.de>
parents:
42916
diff
changeset
|
1007 | * Returns: (nullable) (transfer none): The error of @conversation or %NULL. |
|
ac5311a8f11e
Add PurpleConversation:error property
Markus Fischer <ivanhoe@fiscari.de>
parents:
42916
diff
changeset
|
1008 | * |
|
ac5311a8f11e
Add PurpleConversation:error property
Markus Fischer <ivanhoe@fiscari.de>
parents:
42916
diff
changeset
|
1009 | * Since: 3.0 |
|
ac5311a8f11e
Add PurpleConversation:error property
Markus Fischer <ivanhoe@fiscari.de>
parents:
42916
diff
changeset
|
1010 | */ |
|
ac5311a8f11e
Add PurpleConversation:error property
Markus Fischer <ivanhoe@fiscari.de>
parents:
42916
diff
changeset
|
1011 | PURPLE_AVAILABLE_IN_3_0 |
|
ac5311a8f11e
Add PurpleConversation:error property
Markus Fischer <ivanhoe@fiscari.de>
parents:
42916
diff
changeset
|
1012 | GError *purple_conversation_get_error(PurpleConversation *conversation); |
|
ac5311a8f11e
Add PurpleConversation:error property
Markus Fischer <ivanhoe@fiscari.de>
parents:
42916
diff
changeset
|
1013 | |
|
ac5311a8f11e
Add PurpleConversation:error property
Markus Fischer <ivanhoe@fiscari.de>
parents:
42916
diff
changeset
|
1014 | /** |
|
ac5311a8f11e
Add PurpleConversation:error property
Markus Fischer <ivanhoe@fiscari.de>
parents:
42916
diff
changeset
|
1015 | * purple_conversation_set_error: |
|
ac5311a8f11e
Add PurpleConversation:error property
Markus Fischer <ivanhoe@fiscari.de>
parents:
42916
diff
changeset
|
1016 | * @conversation: The instance. |
|
ac5311a8f11e
Add PurpleConversation:error property
Markus Fischer <ivanhoe@fiscari.de>
parents:
42916
diff
changeset
|
1017 | * @error: (nullable) (transfer none): The new error. |
|
ac5311a8f11e
Add PurpleConversation:error property
Markus Fischer <ivanhoe@fiscari.de>
parents:
42916
diff
changeset
|
1018 | * |
|
ac5311a8f11e
Add PurpleConversation:error property
Markus Fischer <ivanhoe@fiscari.de>
parents:
42916
diff
changeset
|
1019 | * Sets the error of @conversation to @error. |
|
ac5311a8f11e
Add PurpleConversation:error property
Markus Fischer <ivanhoe@fiscari.de>
parents:
42916
diff
changeset
|
1020 | * |
|
ac5311a8f11e
Add PurpleConversation:error property
Markus Fischer <ivanhoe@fiscari.de>
parents:
42916
diff
changeset
|
1021 | * Since: 3.0 |
|
ac5311a8f11e
Add PurpleConversation:error property
Markus Fischer <ivanhoe@fiscari.de>
parents:
42916
diff
changeset
|
1022 | */ |
|
ac5311a8f11e
Add PurpleConversation:error property
Markus Fischer <ivanhoe@fiscari.de>
parents:
42916
diff
changeset
|
1023 | PURPLE_AVAILABLE_IN_3_0 |
|
ac5311a8f11e
Add PurpleConversation:error property
Markus Fischer <ivanhoe@fiscari.de>
parents:
42916
diff
changeset
|
1024 | void purple_conversation_set_error(PurpleConversation *conversation, GError *error); |
|
ac5311a8f11e
Add PurpleConversation:error property
Markus Fischer <ivanhoe@fiscari.de>
parents:
42916
diff
changeset
|
1025 | |
|
43100
e6df74d36862
Change Purple.Message:author to Purple.ConversationMember
Gary Kramlich <grim@reaperworld.com>
parents:
43064
diff
changeset
|
1026 | /** |
|
e6df74d36862
Change Purple.Message:author to Purple.ConversationMember
Gary Kramlich <grim@reaperworld.com>
parents:
43064
diff
changeset
|
1027 | * purple_conversation_find_or_add_member: |
|
e6df74d36862
Change Purple.Message:author to Purple.ConversationMember
Gary Kramlich <grim@reaperworld.com>
parents:
43064
diff
changeset
|
1028 | * @info: the contact info to find or add |
|
e6df74d36862
Change Purple.Message:author to Purple.ConversationMember
Gary Kramlich <grim@reaperworld.com>
parents:
43064
diff
changeset
|
1029 | * @announce: if true the user interface should tell the user about this member |
|
e6df74d36862
Change Purple.Message:author to Purple.ConversationMember
Gary Kramlich <grim@reaperworld.com>
parents:
43064
diff
changeset
|
1030 | * being added |
|
e6df74d36862
Change Purple.Message:author to Purple.ConversationMember
Gary Kramlich <grim@reaperworld.com>
parents:
43064
diff
changeset
|
1031 | * @message: the message to use if announcing |
|
e6df74d36862
Change Purple.Message:author to Purple.ConversationMember
Gary Kramlich <grim@reaperworld.com>
parents:
43064
diff
changeset
|
1032 | * |
|
e6df74d36862
Change Purple.Message:author to Purple.ConversationMember
Gary Kramlich <grim@reaperworld.com>
parents:
43064
diff
changeset
|
1033 | * Finds or adds a member to a conversation. |
|
e6df74d36862
Change Purple.Message:author to Purple.ConversationMember
Gary Kramlich <grim@reaperworld.com>
parents:
43064
diff
changeset
|
1034 | * |
|
e6df74d36862
Change Purple.Message:author to Purple.ConversationMember
Gary Kramlich <grim@reaperworld.com>
parents:
43064
diff
changeset
|
1035 | * If @info is not a member of the conversation, |
|
e6df74d36862
Change Purple.Message:author to Purple.ConversationMember
Gary Kramlich <grim@reaperworld.com>
parents:
43064
diff
changeset
|
1036 | * [method@ConversationMembers.add_member] will be called with the given |
|
e6df74d36862
Change Purple.Message:author to Purple.ConversationMember
Gary Kramlich <grim@reaperworld.com>
parents:
43064
diff
changeset
|
1037 | * parameters. |
|
e6df74d36862
Change Purple.Message:author to Purple.ConversationMember
Gary Kramlich <grim@reaperworld.com>
parents:
43064
diff
changeset
|
1038 | * |
|
e6df74d36862
Change Purple.Message:author to Purple.ConversationMember
Gary Kramlich <grim@reaperworld.com>
parents:
43064
diff
changeset
|
1039 | * Returns: (transfer none): The conversation member. |
|
e6df74d36862
Change Purple.Message:author to Purple.ConversationMember
Gary Kramlich <grim@reaperworld.com>
parents:
43064
diff
changeset
|
1040 | * |
|
e6df74d36862
Change Purple.Message:author to Purple.ConversationMember
Gary Kramlich <grim@reaperworld.com>
parents:
43064
diff
changeset
|
1041 | * Since: 3.0 |
|
e6df74d36862
Change Purple.Message:author to Purple.ConversationMember
Gary Kramlich <grim@reaperworld.com>
parents:
43064
diff
changeset
|
1042 | */ |
|
e6df74d36862
Change Purple.Message:author to Purple.ConversationMember
Gary Kramlich <grim@reaperworld.com>
parents:
43064
diff
changeset
|
1043 | PURPLE_AVAILABLE_IN_3_0 |
|
e6df74d36862
Change Purple.Message:author to Purple.ConversationMember
Gary Kramlich <grim@reaperworld.com>
parents:
43064
diff
changeset
|
1044 | PurpleConversationMember *purple_conversation_find_or_add_member(PurpleConversation *conversation, PurpleContactInfo *info, gboolean announce, const char *message); |
|
e6df74d36862
Change Purple.Message:author to Purple.ConversationMember
Gary Kramlich <grim@reaperworld.com>
parents:
43064
diff
changeset
|
1045 | |
|
43234
85be702275e6
Add Purple.Conversation:url
Gary Kramlich <grim@reaperworld.com>
parents:
43137
diff
changeset
|
1046 | /** |
|
85be702275e6
Add Purple.Conversation:url
Gary Kramlich <grim@reaperworld.com>
parents:
43137
diff
changeset
|
1047 | * purple_conversation_get_url: |
|
85be702275e6
Add Purple.Conversation:url
Gary Kramlich <grim@reaperworld.com>
parents:
43137
diff
changeset
|
1048 | * |
|
85be702275e6
Add Purple.Conversation:url
Gary Kramlich <grim@reaperworld.com>
parents:
43137
diff
changeset
|
1049 | * Gets the URL associated with the conversation. |
|
85be702275e6
Add Purple.Conversation:url
Gary Kramlich <grim@reaperworld.com>
parents:
43137
diff
changeset
|
1050 | * |
|
85be702275e6
Add Purple.Conversation:url
Gary Kramlich <grim@reaperworld.com>
parents:
43137
diff
changeset
|
1051 | * Returns: (nullable): The URL for the conversation. |
|
85be702275e6
Add Purple.Conversation:url
Gary Kramlich <grim@reaperworld.com>
parents:
43137
diff
changeset
|
1052 | * |
|
85be702275e6
Add Purple.Conversation:url
Gary Kramlich <grim@reaperworld.com>
parents:
43137
diff
changeset
|
1053 | * Since: 3.0 |
|
85be702275e6
Add Purple.Conversation:url
Gary Kramlich <grim@reaperworld.com>
parents:
43137
diff
changeset
|
1054 | */ |
|
85be702275e6
Add Purple.Conversation:url
Gary Kramlich <grim@reaperworld.com>
parents:
43137
diff
changeset
|
1055 | PURPLE_AVAILABLE_IN_3_0 |
|
85be702275e6
Add Purple.Conversation:url
Gary Kramlich <grim@reaperworld.com>
parents:
43137
diff
changeset
|
1056 | const char *purple_conversation_get_url(PurpleConversation *conversation); |
|
85be702275e6
Add Purple.Conversation:url
Gary Kramlich <grim@reaperworld.com>
parents:
43137
diff
changeset
|
1057 | |
|
85be702275e6
Add Purple.Conversation:url
Gary Kramlich <grim@reaperworld.com>
parents:
43137
diff
changeset
|
1058 | /** |
|
85be702275e6
Add Purple.Conversation:url
Gary Kramlich <grim@reaperworld.com>
parents:
43137
diff
changeset
|
1059 | * purple_conversation_set_url: |
|
85be702275e6
Add Purple.Conversation:url
Gary Kramlich <grim@reaperworld.com>
parents:
43137
diff
changeset
|
1060 | * @url: (nullable): the new URL |
|
85be702275e6
Add Purple.Conversation:url
Gary Kramlich <grim@reaperworld.com>
parents:
43137
diff
changeset
|
1061 | * |
|
85be702275e6
Add Purple.Conversation:url
Gary Kramlich <grim@reaperworld.com>
parents:
43137
diff
changeset
|
1062 | * Sets the URL for the conversation. |
|
85be702275e6
Add Purple.Conversation:url
Gary Kramlich <grim@reaperworld.com>
parents:
43137
diff
changeset
|
1063 | * |
|
85be702275e6
Add Purple.Conversation:url
Gary Kramlich <grim@reaperworld.com>
parents:
43137
diff
changeset
|
1064 | * Since: 3.0 |
|
85be702275e6
Add Purple.Conversation:url
Gary Kramlich <grim@reaperworld.com>
parents:
43137
diff
changeset
|
1065 | */ |
|
85be702275e6
Add Purple.Conversation:url
Gary Kramlich <grim@reaperworld.com>
parents:
43137
diff
changeset
|
1066 | PURPLE_AVAILABLE_IN_3_0 |
|
85be702275e6
Add Purple.Conversation:url
Gary Kramlich <grim@reaperworld.com>
parents:
43137
diff
changeset
|
1067 | void purple_conversation_set_url(PurpleConversation *conversation, const char *url); |
|
85be702275e6
Add Purple.Conversation:url
Gary Kramlich <grim@reaperworld.com>
parents:
43137
diff
changeset
|
1068 | |
|
32787
7072f190d6ad
Use G_BEGIN/END_DECLS in public libpurple files. This was
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32698
diff
changeset
|
1069 | G_END_DECLS |
|
5944
f19df037ac58
[gaim-migrate @ 6385]
Christian Hammond <chipx86@chipx86.com>
parents:
5872
diff
changeset
|
1070 | |
|
39659
e4dfb99b0cef
Fix libpurple header guards using reserved names.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
39481
diff
changeset
|
1071 | #endif /* PURPLE_CONVERSATION_H */ |