libpurple/notify.h

Thu, 22 Feb 2024 06:03:16 -0600

author
Gary Kramlich <grim@reaperworld.com>
date
Thu, 22 Feb 2024 06:03:16 -0600
changeset 42596
b64b96f3b781
parent 42594
eddde70cedd8
child 42612
d905313bc732
permissions
-rw-r--r--

Add a favorite property to PurpleContactInfo

This will be used in the future for toggling whether or not contacts are
favorited or starred.

Testing Done:
Ran the unit tests under valgrind.

Reviewed at https://reviews.imfreedom.org/r/2965/

42594
eddde70cedd8 Create a test for verifying license headers and correct the ones that were wrong
Gary Kramlich <grim@reaperworld.com>
parents: 42416
diff changeset
1 /*
eddde70cedd8 Create a test for verifying license headers and correct the ones that were wrong
Gary Kramlich <grim@reaperworld.com>
parents: 42416
diff changeset
2 * Purple - Internet Messaging Library
eddde70cedd8 Create a test for verifying license headers and correct the ones that were wrong
Gary Kramlich <grim@reaperworld.com>
parents: 42416
diff changeset
3 * Copyright (C) Pidgin Developers <devel@pidgin.im>
5437
4bd5c5d271e6 [gaim-migrate @ 5819]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
4 *
15884
4de1981757fc sed -ie 's/gaim/purple/g'
Sean Egan <seanegan@pidgin.im>
parents: 15435
diff changeset
5 * Purple is the legal property of its developers, whose names are too numerous
42594
eddde70cedd8 Create a test for verifying license headers and correct the ones that were wrong
Gary Kramlich <grim@reaperworld.com>
parents: 42416
diff changeset
6 * to list here. Please refer to the COPYRIGHT file distributed with this
8046
c581b20a47d6 [gaim-migrate @ 8730]
Sean Egan <seanegan@pidgin.im>
parents: 7035
diff changeset
7 * source distribution.
6465
bd201d637ff4 [gaim-migrate @ 6974]
Christian Hammond <chipx86@chipx86.com>
parents: 6381
diff changeset
8 *
42594
eddde70cedd8 Create a test for verifying license headers and correct the ones that were wrong
Gary Kramlich <grim@reaperworld.com>
parents: 42416
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: 42416
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: 42416
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: 42416
diff changeset
12 * any later version.
5437
4bd5c5d271e6 [gaim-migrate @ 5819]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
13 *
42594
eddde70cedd8 Create a test for verifying license headers and correct the ones that were wrong
Gary Kramlich <grim@reaperworld.com>
parents: 42416
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: 42416
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: 42416
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: 42416
diff changeset
17 * more details.
5437
4bd5c5d271e6 [gaim-migrate @ 5819]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
18 *
42594
eddde70cedd8 Create a test for verifying license headers and correct the ones that were wrong
Gary Kramlich <grim@reaperworld.com>
parents: 42416
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: 42416
diff changeset
20 * this library; if not, see <https://www.gnu.org/licenses/>.
5437
4bd5c5d271e6 [gaim-migrate @ 5819]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
21 */
35487
494f09f7f331 Move section blocks inside inclusion guards -- otherwise g-ir-scanner yells
Ankit Vani <a@nevitus.org>
parents: 35486
diff changeset
22
40474
1341be8e3402 Make it so only libpurple can directly include libpurple header files.
Gary Kramlich <grim@reaperworld.com>
parents: 40245
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: 40245
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: 40245
diff changeset
25 #endif
1341be8e3402 Make it so only libpurple can directly include libpurple header files.
Gary Kramlich <grim@reaperworld.com>
parents: 40245
diff changeset
26
39659
e4dfb99b0cef Fix libpurple header guards using reserved names.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 39026
diff changeset
27 #ifndef PURPLE_NOTIFY_H
e4dfb99b0cef Fix libpurple header guards using reserved names.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 39026
diff changeset
28 #define PURPLE_NOTIFY_H
35440
467bb21b82a1 Add section blocks for debug.h to prpl.h
Ankit Vani <a@nevitus.org>
parents: 35397
diff changeset
29
5437
4bd5c5d271e6 [gaim-migrate @ 5819]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
30 #include <stdlib.h>
4bd5c5d271e6 [gaim-migrate @ 5819]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
31 #include <glib-object.h>
4bd5c5d271e6 [gaim-migrate @ 5819]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
32 #include <glib.h>
4bd5c5d271e6 [gaim-migrate @ 5819]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
33
42387
d9350cda1556 Export symbols added for 3.0.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 41801
diff changeset
34 #include "purpleversion.h"
d9350cda1556 Export symbols added for 3.0.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 41801
diff changeset
35
15884
4de1981757fc sed -ie 's/gaim/purple/g'
Sean Egan <seanegan@pidgin.im>
parents: 15435
diff changeset
36 typedef struct _PurpleNotifyUserInfoEntry PurpleNotifyUserInfoEntry;
34793
07f8ceb4e690 Added GBoxed for PurpleNotifyUserInfo
Ankit Vani <a@nevitus.org>
parents: 32787
diff changeset
37
07f8ceb4e690 Added GBoxed for PurpleNotifyUserInfo
Ankit Vani <a@nevitus.org>
parents: 32787
diff changeset
38 #define PURPLE_TYPE_NOTIFY_USER_INFO (purple_notify_user_info_get_type())
32691
d6eb58903f8b Hide struct PurpleNotifySearchColumn.
Andrew Victor <andrew.victor@mxit.com>
parents: 32604
diff changeset
39 typedef struct _PurpleNotifyUserInfo PurpleNotifyUserInfo;
34793
07f8ceb4e690 Added GBoxed for PurpleNotifyUserInfo
Ankit Vani <a@nevitus.org>
parents: 32787
diff changeset
40
37410
fd7447005dea Convert PurpleNotifySearchButton to a GBoxed type
Jorge Villaseñor <salinasv@pidgin.im>
parents: 37409
diff changeset
41 #define PURPLE_TYPE_NOTIFY_SEARCH_BUTTON (purple_notify_search_button_get_type())
fd7447005dea Convert PurpleNotifySearchButton to a GBoxed type
Jorge Villaseñor <salinasv@pidgin.im>
parents: 37409
diff changeset
42 typedef struct _PurpleNotifySearchButton PurpleNotifySearchButton;
fd7447005dea Convert PurpleNotifySearchButton to a GBoxed type
Jorge Villaseñor <salinasv@pidgin.im>
parents: 37409
diff changeset
43
35397
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
44 /**
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
45 * PurpleNotifySearchColumn:
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
46 *
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
47 * Single column of a search result.
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
48 */
32691
d6eb58903f8b Hide struct PurpleNotifySearchColumn.
Andrew Victor <andrew.victor@mxit.com>
parents: 32604
diff changeset
49 typedef struct _PurpleNotifySearchColumn PurpleNotifySearchColumn;
15205
f642029b2f97 [gaim-migrate @ 17929]
Evan Schoenberg <evands@pidgin.im>
parents: 14254
diff changeset
50
9797
b69f82378b7b [gaim-migrate @ 10665]
Evan Schoenberg <evands@pidgin.im>
parents: 8046
diff changeset
51 #include "connection.h"
34449
bbcb198650b7 Notify API: extend purple_notify_message with PurpleRequestCommonParameters
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents: 32787
diff changeset
52 #include "request.h"
9797
b69f82378b7b [gaim-migrate @ 10665]
Evan Schoenberg <evands@pidgin.im>
parents: 8046
diff changeset
53
35467
975ae62dd895 Fix cross-references and some other warnings
Ankit Vani <a@nevitus.org>
parents: 35462
diff changeset
54 typedef struct _PurpleNotifySearchResults PurpleNotifySearchResults;
975ae62dd895 Fix cross-references and some other warnings
Ankit Vani <a@nevitus.org>
parents: 35462
diff changeset
55
35572
5c4846317f2f Box the *UiOps structures
Ankit Vani <a@nevitus.org>
parents: 35487
diff changeset
56 #define PURPLE_TYPE_NOTIFY_UI_OPS (purple_notify_ui_ops_get_type())
35467
975ae62dd895 Fix cross-references and some other warnings
Ankit Vani <a@nevitus.org>
parents: 35462
diff changeset
57 typedef struct _PurpleNotifyUiOps PurpleNotifyUiOps;
32691
d6eb58903f8b Hide struct PurpleNotifySearchColumn.
Andrew Victor <andrew.victor@mxit.com>
parents: 32604
diff changeset
58
5437
4bd5c5d271e6 [gaim-migrate @ 5819]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
59 /**
35397
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
60 * PurpleNotifyCloseCallback:
40827
ea25e596b1d4 Clean up some random gtk-doc warnings in libpurple's documentation
Gary Kramlich <grim@reaperworld.com>
parents: 40474
diff changeset
61 * @user_data: User specified data.
35397
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
62 *
12242
e7fc1748eb56 [gaim-migrate @ 14544]
Richard Laager <rlaager@pidgin.im>
parents: 12220
diff changeset
63 * Notification close callbacks.
e7fc1748eb56 [gaim-migrate @ 14544]
Richard Laager <rlaager@pidgin.im>
parents: 12220
diff changeset
64 */
15884
4de1981757fc sed -ie 's/gaim/purple/g'
Sean Egan <seanegan@pidgin.im>
parents: 15435
diff changeset
65 typedef void (*PurpleNotifyCloseCallback) (gpointer user_data);
12242
e7fc1748eb56 [gaim-migrate @ 14544]
Richard Laager <rlaager@pidgin.im>
parents: 12220
diff changeset
66
12624
c1c92f08976b [gaim-migrate @ 14960]
Christopher O'Brien <siege@pidgin.im>
parents: 12323
diff changeset
67
12242
e7fc1748eb56 [gaim-migrate @ 14544]
Richard Laager <rlaager@pidgin.im>
parents: 12220
diff changeset
68 /**
35397
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
69 * PurpleNotifyType:
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
70 * @PURPLE_NOTIFY_MESSAGE: Message notification.
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
71 * @PURPLE_NOTIFY_FORMATTED: Formatted text.
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
72 * @PURPLE_NOTIFY_SEARCHRESULTS: Buddy search results.
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
73 * @PURPLE_NOTIFY_USERINFO: Formatted userinfo text.
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
74 * @PURPLE_NOTIFY_URI: URI notification or display.
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
75 *
5437
4bd5c5d271e6 [gaim-migrate @ 5819]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
76 * Notification types.
4bd5c5d271e6 [gaim-migrate @ 5819]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
77 */
4bd5c5d271e6 [gaim-migrate @ 5819]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
78 typedef enum
4bd5c5d271e6 [gaim-migrate @ 5819]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
79 {
35397
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
80 PURPLE_NOTIFY_MESSAGE = 0,
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
81 PURPLE_NOTIFY_FORMATTED,
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
82 PURPLE_NOTIFY_SEARCHRESULTS,
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
83 PURPLE_NOTIFY_USERINFO,
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
84 PURPLE_NOTIFY_URI
15884
4de1981757fc sed -ie 's/gaim/purple/g'
Sean Egan <seanegan@pidgin.im>
parents: 15435
diff changeset
85 } PurpleNotifyType;
5437
4bd5c5d271e6 [gaim-migrate @ 5819]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
86
12624
c1c92f08976b [gaim-migrate @ 14960]
Christopher O'Brien <siege@pidgin.im>
parents: 12323
diff changeset
87
5437
4bd5c5d271e6 [gaim-migrate @ 5819]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
88 /**
37409
9dadde8529a8 Change enum name from PurpleNotifyMsgType to PurpleNotifyMessageType
Jorge Villaseñor <salinasv@pidgin.im>
parents: 37131
diff changeset
89 * PurpleNotifyMessageType:
35397
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
90 * @PURPLE_NOTIFY_MSG_ERROR: Error notification.
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
91 * @PURPLE_NOTIFY_MSG_WARNING: Warning notification.
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
92 * @PURPLE_NOTIFY_MSG_INFO: Information notification.
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
93 *
5437
4bd5c5d271e6 [gaim-migrate @ 5819]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
94 * Notification message types.
4bd5c5d271e6 [gaim-migrate @ 5819]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
95 */
4bd5c5d271e6 [gaim-migrate @ 5819]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
96 typedef enum
4bd5c5d271e6 [gaim-migrate @ 5819]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
97 {
35397
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
98 PURPLE_NOTIFY_MSG_ERROR = 0,
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
99 PURPLE_NOTIFY_MSG_WARNING,
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
100 PURPLE_NOTIFY_MSG_INFO
5437
4bd5c5d271e6 [gaim-migrate @ 5819]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
101
37409
9dadde8529a8 Change enum name from PurpleNotifyMsgType to PurpleNotifyMessageType
Jorge Villaseñor <salinasv@pidgin.im>
parents: 37131
diff changeset
102 } PurpleNotifyMessageType;
5437
4bd5c5d271e6 [gaim-migrate @ 5819]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
103
12624
c1c92f08976b [gaim-migrate @ 14960]
Christopher O'Brien <siege@pidgin.im>
parents: 12323
diff changeset
104
5437
4bd5c5d271e6 [gaim-migrate @ 5819]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
105 /**
35397
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
106 * PurpleNotifySearchButtonType:
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
107 * @PURPLE_NOTIFY_BUTTON_LABELED: special use, see
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
108 * purple_notify_searchresults_button_add_labeled()
40827
ea25e596b1d4 Clean up some random gtk-doc warnings in libpurple's documentation
Gary Kramlich <grim@reaperworld.com>
parents: 40474
diff changeset
109 * @PURPLE_NOTIFY_BUTTON_CONTINUE: A continue button.
ea25e596b1d4 Clean up some random gtk-doc warnings in libpurple's documentation
Gary Kramlich <grim@reaperworld.com>
parents: 40474
diff changeset
110 * @PURPLE_NOTIFY_BUTTON_ADD: An add button.
ea25e596b1d4 Clean up some random gtk-doc warnings in libpurple's documentation
Gary Kramlich <grim@reaperworld.com>
parents: 40474
diff changeset
111 * @PURPLE_NOTIFY_BUTTON_INFO: An info button.
ea25e596b1d4 Clean up some random gtk-doc warnings in libpurple's documentation
Gary Kramlich <grim@reaperworld.com>
parents: 40474
diff changeset
112 * @PURPLE_NOTIFY_BUTTON_IM: An IM button.
ea25e596b1d4 Clean up some random gtk-doc warnings in libpurple's documentation
Gary Kramlich <grim@reaperworld.com>
parents: 40474
diff changeset
113 * @PURPLE_NOTIFY_BUTTON_JOIN: A join button.
ea25e596b1d4 Clean up some random gtk-doc warnings in libpurple's documentation
Gary Kramlich <grim@reaperworld.com>
parents: 40474
diff changeset
114 * @PURPLE_NOTIFY_BUTTON_INVITE: An invite button.
35397
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
115 *
40827
ea25e596b1d4 Clean up some random gtk-doc warnings in libpurple's documentation
Gary Kramlich <grim@reaperworld.com>
parents: 40474
diff changeset
116 * Constant values to define the type of buttons to use in a request dialog.
ea25e596b1d4 Clean up some random gtk-doc warnings in libpurple's documentation
Gary Kramlich <grim@reaperworld.com>
parents: 40474
diff changeset
117 * These are used by user interfaces to label and possibly add an icon to the
ea25e596b1d4 Clean up some random gtk-doc warnings in libpurple's documentation
Gary Kramlich <grim@reaperworld.com>
parents: 40474
diff changeset
118 * button.
11359
9630f62029f2 [gaim-migrate @ 13581]
Bartosz Oler <bartosz@pidgin.im>
parents: 10566
diff changeset
119 */
9630f62029f2 [gaim-migrate @ 13581]
Bartosz Oler <bartosz@pidgin.im>
parents: 10566
diff changeset
120 typedef enum
9630f62029f2 [gaim-migrate @ 13581]
Bartosz Oler <bartosz@pidgin.im>
parents: 10566
diff changeset
121 {
35397
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
122 PURPLE_NOTIFY_BUTTON_LABELED = 0,
15884
4de1981757fc sed -ie 's/gaim/purple/g'
Sean Egan <seanegan@pidgin.im>
parents: 15435
diff changeset
123 PURPLE_NOTIFY_BUTTON_CONTINUE = 1,
4de1981757fc sed -ie 's/gaim/purple/g'
Sean Egan <seanegan@pidgin.im>
parents: 15435
diff changeset
124 PURPLE_NOTIFY_BUTTON_ADD,
4de1981757fc sed -ie 's/gaim/purple/g'
Sean Egan <seanegan@pidgin.im>
parents: 15435
diff changeset
125 PURPLE_NOTIFY_BUTTON_INFO,
4de1981757fc sed -ie 's/gaim/purple/g'
Sean Egan <seanegan@pidgin.im>
parents: 15435
diff changeset
126 PURPLE_NOTIFY_BUTTON_IM,
4de1981757fc sed -ie 's/gaim/purple/g'
Sean Egan <seanegan@pidgin.im>
parents: 15435
diff changeset
127 PURPLE_NOTIFY_BUTTON_JOIN,
4de1981757fc sed -ie 's/gaim/purple/g'
Sean Egan <seanegan@pidgin.im>
parents: 15435
diff changeset
128 PURPLE_NOTIFY_BUTTON_INVITE
4de1981757fc sed -ie 's/gaim/purple/g'
Sean Egan <seanegan@pidgin.im>
parents: 15435
diff changeset
129 } PurpleNotifySearchButtonType;
11359
9630f62029f2 [gaim-migrate @ 13581]
Bartosz Oler <bartosz@pidgin.im>
parents: 10566
diff changeset
130
9630f62029f2 [gaim-migrate @ 13581]
Bartosz Oler <bartosz@pidgin.im>
parents: 10566
diff changeset
131
9630f62029f2 [gaim-migrate @ 13581]
Bartosz Oler <bartosz@pidgin.im>
parents: 10566
diff changeset
132 /**
35397
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
133 * PurpleNotifySearchResults:
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
134 * @columns: List of the search column objects.
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
135 * @rows: List of rows in the result.
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
136 * @buttons: List of buttons to display.
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
137 *
11359
9630f62029f2 [gaim-migrate @ 13581]
Bartosz Oler <bartosz@pidgin.im>
parents: 10566
diff changeset
138 * Search results object.
9630f62029f2 [gaim-migrate @ 13581]
Bartosz Oler <bartosz@pidgin.im>
parents: 10566
diff changeset
139 */
35467
975ae62dd895 Fix cross-references and some other warnings
Ankit Vani <a@nevitus.org>
parents: 35462
diff changeset
140 struct _PurpleNotifySearchResults
11359
9630f62029f2 [gaim-migrate @ 13581]
Bartosz Oler <bartosz@pidgin.im>
parents: 10566
diff changeset
141 {
35397
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
142 GList *columns;
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
143 GList *rows;
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
144 GList *buttons;
11359
9630f62029f2 [gaim-migrate @ 13581]
Bartosz Oler <bartosz@pidgin.im>
parents: 10566
diff changeset
145
35467
975ae62dd895 Fix cross-references and some other warnings
Ankit Vani <a@nevitus.org>
parents: 35462
diff changeset
146 };
11359
9630f62029f2 [gaim-migrate @ 13581]
Bartosz Oler <bartosz@pidgin.im>
parents: 10566
diff changeset
147
15211
bb75b7bc10a8 [gaim-migrate @ 17935]
Evan Schoenberg <evands@pidgin.im>
parents: 15205
diff changeset
148 /**
35397
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
149 * PurpleNotifyUserInfoEntryType:
40827
ea25e596b1d4 Clean up some random gtk-doc warnings in libpurple's documentation
Gary Kramlich <grim@reaperworld.com>
parents: 40474
diff changeset
150 * @PURPLE_NOTIFY_USER_INFO_ENTRY_PAIR: A label and its value.
ea25e596b1d4 Clean up some random gtk-doc warnings in libpurple's documentation
Gary Kramlich <grim@reaperworld.com>
parents: 40474
diff changeset
151 * @PURPLE_NOTIFY_USER_INFO_ENTRY_SECTION_BREAK: Separates two sections.
ea25e596b1d4 Clean up some random gtk-doc warnings in libpurple's documentation
Gary Kramlich <grim@reaperworld.com>
parents: 40474
diff changeset
152 * @PURPLE_NOTIFY_USER_INFO_ENTRY_SECTION_HEADER: Create a header for the
ea25e596b1d4 Clean up some random gtk-doc warnings in libpurple's documentation
Gary Kramlich <grim@reaperworld.com>
parents: 40474
diff changeset
153 * current section.
35397
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
154 *
15884
4de1981757fc sed -ie 's/gaim/purple/g'
Sean Egan <seanegan@pidgin.im>
parents: 15435
diff changeset
155 * Types of PurpleNotifyUserInfoEntry objects
15211
bb75b7bc10a8 [gaim-migrate @ 17935]
Evan Schoenberg <evands@pidgin.im>
parents: 15205
diff changeset
156 */
bb75b7bc10a8 [gaim-migrate @ 17935]
Evan Schoenberg <evands@pidgin.im>
parents: 15205
diff changeset
157 typedef enum
bb75b7bc10a8 [gaim-migrate @ 17935]
Evan Schoenberg <evands@pidgin.im>
parents: 15205
diff changeset
158 {
15884
4de1981757fc sed -ie 's/gaim/purple/g'
Sean Egan <seanegan@pidgin.im>
parents: 15435
diff changeset
159 PURPLE_NOTIFY_USER_INFO_ENTRY_PAIR = 0,
4de1981757fc sed -ie 's/gaim/purple/g'
Sean Egan <seanegan@pidgin.im>
parents: 15435
diff changeset
160 PURPLE_NOTIFY_USER_INFO_ENTRY_SECTION_BREAK,
4de1981757fc sed -ie 's/gaim/purple/g'
Sean Egan <seanegan@pidgin.im>
parents: 15435
diff changeset
161 PURPLE_NOTIFY_USER_INFO_ENTRY_SECTION_HEADER
4de1981757fc sed -ie 's/gaim/purple/g'
Sean Egan <seanegan@pidgin.im>
parents: 15435
diff changeset
162 } PurpleNotifyUserInfoEntryType;
12624
c1c92f08976b [gaim-migrate @ 14960]
Christopher O'Brien <siege@pidgin.im>
parents: 12323
diff changeset
163
11359
9630f62029f2 [gaim-migrate @ 13581]
Bartosz Oler <bartosz@pidgin.im>
parents: 10566
diff changeset
164
12624
c1c92f08976b [gaim-migrate @ 14960]
Christopher O'Brien <siege@pidgin.im>
parents: 12323
diff changeset
165
c1c92f08976b [gaim-migrate @ 14960]
Christopher O'Brien <siege@pidgin.im>
parents: 12323
diff changeset
166 /**
35397
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
167 * PurpleNotifySearchResultsCallback:
35393
00f876b129bc Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents: 35024
diff changeset
168 * @c: the PurpleConnection passed to purple_notify_searchresults
00f876b129bc Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents: 35024
diff changeset
169 * @row: the contents of the selected row
00f876b129bc Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents: 35024
diff changeset
170 * @user_data: User defined data.
12624
c1c92f08976b [gaim-migrate @ 14960]
Christopher O'Brien <siege@pidgin.im>
parents: 12323
diff changeset
171 *
35397
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
172 * Callback for a button in a search result.
12624
c1c92f08976b [gaim-migrate @ 14960]
Christopher O'Brien <siege@pidgin.im>
parents: 12323
diff changeset
173 */
15884
4de1981757fc sed -ie 's/gaim/purple/g'
Sean Egan <seanegan@pidgin.im>
parents: 15435
diff changeset
174 typedef void (*PurpleNotifySearchResultsCallback)(PurpleConnection *c, GList *row,
13641
1173f8ca3fbf [gaim-migrate @ 16038]
Bartosz Oler <bartosz@pidgin.im>
parents: 12647
diff changeset
175 gpointer user_data);
11359
9630f62029f2 [gaim-migrate @ 13581]
Bartosz Oler <bartosz@pidgin.im>
parents: 10566
diff changeset
176
9630f62029f2 [gaim-migrate @ 13581]
Bartosz Oler <bartosz@pidgin.im>
parents: 10566
diff changeset
177
9630f62029f2 [gaim-migrate @ 13581]
Bartosz Oler <bartosz@pidgin.im>
parents: 10566
diff changeset
178 /**
35397
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
179 * PurpleNotifySearchButton:
37410
fd7447005dea Convert PurpleNotifySearchButton to a GBoxed type
Jorge Villaseñor <salinasv@pidgin.im>
parents: 37409
diff changeset
180 * @type: The type of search button that will be used.
35397
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
181 * @callback: Function to be called when clicked.
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
182 * @label: only for PURPLE_NOTIFY_BUTTON_LABELED
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
183 *
11359
9630f62029f2 [gaim-migrate @ 13581]
Bartosz Oler <bartosz@pidgin.im>
parents: 10566
diff changeset
184 * Definition of a button.
9630f62029f2 [gaim-migrate @ 13581]
Bartosz Oler <bartosz@pidgin.im>
parents: 10566
diff changeset
185 */
37410
fd7447005dea Convert PurpleNotifySearchButton to a GBoxed type
Jorge Villaseñor <salinasv@pidgin.im>
parents: 37409
diff changeset
186 struct _PurpleNotifySearchButton
11359
9630f62029f2 [gaim-migrate @ 13581]
Bartosz Oler <bartosz@pidgin.im>
parents: 10566
diff changeset
187 {
15884
4de1981757fc sed -ie 's/gaim/purple/g'
Sean Egan <seanegan@pidgin.im>
parents: 15435
diff changeset
188 PurpleNotifySearchButtonType type;
35397
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
189 PurpleNotifySearchResultsCallback callback;
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
190 char *label;
37410
fd7447005dea Convert PurpleNotifySearchButton to a GBoxed type
Jorge Villaseñor <salinasv@pidgin.im>
parents: 37409
diff changeset
191 };
11359
9630f62029f2 [gaim-migrate @ 13581]
Bartosz Oler <bartosz@pidgin.im>
parents: 10566
diff changeset
192
9630f62029f2 [gaim-migrate @ 13581]
Bartosz Oler <bartosz@pidgin.im>
parents: 10566
diff changeset
193 /**
35397
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
194 * PurpleNotifyUiOps:
40245
056a71665e06 Add a bunch of missing docs.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 40215
diff changeset
195 * @notify_message: UI op for purple_notify_message().
056a71665e06 Add a bunch of missing docs.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 40215
diff changeset
196 * @notify_formatted: UI op for purple_notify_formatted().
056a71665e06 Add a bunch of missing docs.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 40215
diff changeset
197 * @notify_searchresults: UI op for purple_notify_searchresults().
056a71665e06 Add a bunch of missing docs.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 40215
diff changeset
198 * @notify_searchresults_new_rows: UI op for
056a71665e06 Add a bunch of missing docs.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 40215
diff changeset
199 * purple_notify_searchresults_new_rows().
056a71665e06 Add a bunch of missing docs.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 40215
diff changeset
200 * @notify_userinfo: UI op for purple_notify_userinfo().
056a71665e06 Add a bunch of missing docs.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 40215
diff changeset
201 * @notify_uri: UI op for purple_notify_uri().
056a71665e06 Add a bunch of missing docs.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 40215
diff changeset
202 * @close_notify: UI op for purple_notify_close() and
056a71665e06 Add a bunch of missing docs.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 40215
diff changeset
203 * purple_notify_close_with_handle().
35397
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
204 *
5437
4bd5c5d271e6 [gaim-migrate @ 5819]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
205 * Notification UI operations.
4bd5c5d271e6 [gaim-migrate @ 5819]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
206 */
35467
975ae62dd895 Fix cross-references and some other warnings
Ankit Vani <a@nevitus.org>
parents: 35462
diff changeset
207 struct _PurpleNotifyUiOps
5437
4bd5c5d271e6 [gaim-migrate @ 5819]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
208 {
37409
9dadde8529a8 Change enum name from PurpleNotifyMsgType to PurpleNotifyMessageType
Jorge Villaseñor <salinasv@pidgin.im>
parents: 37131
diff changeset
209 void *(*notify_message)(PurpleNotifyMessageType type, const char *title,
34449
bbcb198650b7 Notify API: extend purple_notify_message with PurpleRequestCommonParameters
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents: 32787
diff changeset
210 const char *primary, const char *secondary,
bbcb198650b7 Notify API: extend purple_notify_message with PurpleRequestCommonParameters
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents: 32787
diff changeset
211 PurpleRequestCommonParameters *cpar);
12624
c1c92f08976b [gaim-migrate @ 14960]
Christopher O'Brien <siege@pidgin.im>
parents: 12323
diff changeset
212
6381
53203c44c731 [gaim-migrate @ 6886]
Christian Hammond <chipx86@chipx86.com>
parents: 6356
diff changeset
213 void *(*notify_formatted)(const char *title, const char *primary,
12624
c1c92f08976b [gaim-migrate @ 14960]
Christopher O'Brien <siege@pidgin.im>
parents: 12323
diff changeset
214 const char *secondary, const char *text);
c1c92f08976b [gaim-migrate @ 14960]
Christopher O'Brien <siege@pidgin.im>
parents: 12323
diff changeset
215
15884
4de1981757fc sed -ie 's/gaim/purple/g'
Sean Egan <seanegan@pidgin.im>
parents: 15435
diff changeset
216 void *(*notify_searchresults)(PurpleConnection *gc, const char *title,
12624
c1c92f08976b [gaim-migrate @ 14960]
Christopher O'Brien <siege@pidgin.im>
parents: 12323
diff changeset
217 const char *primary, const char *secondary,
15884
4de1981757fc sed -ie 's/gaim/purple/g'
Sean Egan <seanegan@pidgin.im>
parents: 15435
diff changeset
218 PurpleNotifySearchResults *results, gpointer user_data);
12624
c1c92f08976b [gaim-migrate @ 14960]
Christopher O'Brien <siege@pidgin.im>
parents: 12323
diff changeset
219
15884
4de1981757fc sed -ie 's/gaim/purple/g'
Sean Egan <seanegan@pidgin.im>
parents: 15435
diff changeset
220 void (*notify_searchresults_new_rows)(PurpleConnection *gc,
4de1981757fc sed -ie 's/gaim/purple/g'
Sean Egan <seanegan@pidgin.im>
parents: 15435
diff changeset
221 PurpleNotifySearchResults *results,
13641
1173f8ca3fbf [gaim-migrate @ 16038]
Bartosz Oler <bartosz@pidgin.im>
parents: 12647
diff changeset
222 void *data);
12624
c1c92f08976b [gaim-migrate @ 14960]
Christopher O'Brien <siege@pidgin.im>
parents: 12323
diff changeset
223
15884
4de1981757fc sed -ie 's/gaim/purple/g'
Sean Egan <seanegan@pidgin.im>
parents: 15435
diff changeset
224 void *(*notify_userinfo)(PurpleConnection *gc, const char *who,
4de1981757fc sed -ie 's/gaim/purple/g'
Sean Egan <seanegan@pidgin.im>
parents: 15435
diff changeset
225 PurpleNotifyUserInfo *user_info);
12624
c1c92f08976b [gaim-migrate @ 14960]
Christopher O'Brien <siege@pidgin.im>
parents: 12323
diff changeset
226
10240
09342bc554d9 [gaim-migrate @ 11377]
Herman Bloggs <herman@bluedigits.com>
parents: 10209
diff changeset
227 void *(*notify_uri)(const char *uri);
5437
4bd5c5d271e6 [gaim-migrate @ 5819]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
228
15884
4de1981757fc sed -ie 's/gaim/purple/g'
Sean Egan <seanegan@pidgin.im>
parents: 15435
diff changeset
229 void (*close_notify)(PurpleNotifyType type, void *ui_handle);
5437
4bd5c5d271e6 [gaim-migrate @ 5819]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
230
35024
eb3afb7643ce Added /*< private >*/ for padding members, clean them up and add missing ones
Ankit Vani <a@nevitus.org>
parents: 34956
diff changeset
231 /*< private >*/
16743
1ce5ffe12e2a Initial addition of padding for ui_ops and other class-like structs
Gary Kramlich <grim@reaperworld.com>
parents: 15997
diff changeset
232 void (*_purple_reserved1)(void);
1ce5ffe12e2a Initial addition of padding for ui_ops and other class-like structs
Gary Kramlich <grim@reaperworld.com>
parents: 15997
diff changeset
233 void (*_purple_reserved2)(void);
1ce5ffe12e2a Initial addition of padding for ui_ops and other class-like structs
Gary Kramlich <grim@reaperworld.com>
parents: 15997
diff changeset
234 void (*_purple_reserved3)(void);
1ce5ffe12e2a Initial addition of padding for ui_ops and other class-like structs
Gary Kramlich <grim@reaperworld.com>
parents: 15997
diff changeset
235 void (*_purple_reserved4)(void);
35467
975ae62dd895 Fix cross-references and some other warnings
Ankit Vani <a@nevitus.org>
parents: 35462
diff changeset
236 };
5437
4bd5c5d271e6 [gaim-migrate @ 5819]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
237
12624
c1c92f08976b [gaim-migrate @ 14960]
Christopher O'Brien <siege@pidgin.im>
parents: 12323
diff changeset
238
32787
7072f190d6ad Use G_BEGIN/END_DECLS in public libpurple files. This was
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32691
diff changeset
239 G_BEGIN_DECLS
5944
f19df037ac58 [gaim-migrate @ 6385]
Christian Hammond <chipx86@chipx86.com>
parents: 5522
diff changeset
240
12624
c1c92f08976b [gaim-migrate @ 14960]
Christopher O'Brien <siege@pidgin.im>
parents: 12323
diff changeset
241
5437
4bd5c5d271e6 [gaim-migrate @ 5819]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
242 /**************************************************************************/
39026
feb9db80ec7c doc: Remove invalid GTK-Doc annotations
Mike Ruprecht <cmaiku@gmail.com>
parents: 38716
diff changeset
243 /* Search results notification API */
11359
9630f62029f2 [gaim-migrate @ 13581]
Bartosz Oler <bartosz@pidgin.im>
parents: 10566
diff changeset
244 /**************************************************************************/
9630f62029f2 [gaim-migrate @ 13581]
Bartosz Oler <bartosz@pidgin.im>
parents: 10566
diff changeset
245
9630f62029f2 [gaim-migrate @ 13581]
Bartosz Oler <bartosz@pidgin.im>
parents: 10566
diff changeset
246 /**
35397
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
247 * purple_notify_searchresults:
35393
00f876b129bc Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents: 35024
diff changeset
248 * @gc: The PurpleConnection handle associated with the information.
00f876b129bc Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents: 35024
diff changeset
249 * @title: The title of the message. If this is NULL, the title
35682
65c1912ee2c8 Add (scope) annotation to callback parameters (account.h to proxy.h)
Ankit Vani <a@nevitus.org>
parents: 35572
diff changeset
250 * will be "Search Results."
35393
00f876b129bc Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents: 35024
diff changeset
251 * @primary: The main point of the message.
00f876b129bc Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents: 35024
diff changeset
252 * @secondary: The secondary information.
00f876b129bc Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents: 35024
diff changeset
253 * @results: The PurpleNotifySearchResults instance.
35682
65c1912ee2c8 Add (scope) annotation to callback parameters (account.h to proxy.h)
Ankit Vani <a@nevitus.org>
parents: 35572
diff changeset
254 * @cb: (scope call): The callback to call when the user closes
65c1912ee2c8 Add (scope) annotation to callback parameters (account.h to proxy.h)
Ankit Vani <a@nevitus.org>
parents: 35572
diff changeset
255 * the notification.
35393
00f876b129bc Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents: 35024
diff changeset
256 * @user_data: The data to pass to the close callback and any other
35682
65c1912ee2c8 Add (scope) annotation to callback parameters (account.h to proxy.h)
Ankit Vani <a@nevitus.org>
parents: 35572
diff changeset
257 * callback associated with a button.
11359
9630f62029f2 [gaim-migrate @ 13581]
Bartosz Oler <bartosz@pidgin.im>
parents: 10566
diff changeset
258 *
9630f62029f2 [gaim-migrate @ 13581]
Bartosz Oler <bartosz@pidgin.im>
parents: 10566
diff changeset
259 * Displays results from a buddy search. This can be, for example,
9630f62029f2 [gaim-migrate @ 13581]
Bartosz Oler <bartosz@pidgin.im>
parents: 10566
diff changeset
260 * a window with a list of all found buddies, where you are given the
9630f62029f2 [gaim-migrate @ 13581]
Bartosz Oler <bartosz@pidgin.im>
parents: 10566
diff changeset
261 * option of adding buddies to your buddy list.
9630f62029f2 [gaim-migrate @ 13581]
Bartosz Oler <bartosz@pidgin.im>
parents: 10566
diff changeset
262 *
35393
00f876b129bc Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents: 35024
diff changeset
263 * Returns: A UI-specific handle.
42416
d14854b4421f Make sure all of the notify API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents: 42396
diff changeset
264 *
d14854b4421f Make sure all of the notify API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents: 42396
diff changeset
265 * Since: 2.0.0
11359
9630f62029f2 [gaim-migrate @ 13581]
Bartosz Oler <bartosz@pidgin.im>
parents: 10566
diff changeset
266 */
42416
d14854b4421f Make sure all of the notify API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents: 42396
diff changeset
267 PURPLE_AVAILABLE_IN_ALL
d14854b4421f Make sure all of the notify API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents: 42396
diff changeset
268 void *purple_notify_searchresults(PurpleConnection *gc, const char *title, const char *primary, const char *secondary, PurpleNotifySearchResults *results, PurpleNotifyCloseCallback cb, gpointer user_data);
11359
9630f62029f2 [gaim-migrate @ 13581]
Bartosz Oler <bartosz@pidgin.im>
parents: 10566
diff changeset
269
19868
af326d8f70b1 This function wasn't documented in the Doxygen stuff. If I've documented
John Bailey <rekkanoryo@rekkanoryo.org>
parents: 19859
diff changeset
270 /**
35397
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
271 * purple_notify_searchresults_free:
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
272 * @results: The PurpleNotifySearchResults to free.
19868
af326d8f70b1 This function wasn't documented in the Doxygen stuff. If I've documented
John Bailey <rekkanoryo@rekkanoryo.org>
parents: 19859
diff changeset
273 *
35397
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
274 * Frees a PurpleNotifySearchResults object.
42416
d14854b4421f Make sure all of the notify API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents: 42396
diff changeset
275 *
d14854b4421f Make sure all of the notify API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents: 42396
diff changeset
276 * Since: 2.0.0
19868
af326d8f70b1 This function wasn't documented in the Doxygen stuff. If I've documented
John Bailey <rekkanoryo@rekkanoryo.org>
parents: 19859
diff changeset
277 */
42416
d14854b4421f Make sure all of the notify API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents: 42396
diff changeset
278 PURPLE_AVAILABLE_IN_ALL
15884
4de1981757fc sed -ie 's/gaim/purple/g'
Sean Egan <seanegan@pidgin.im>
parents: 15435
diff changeset
279 void purple_notify_searchresults_free(PurpleNotifySearchResults *results);
11359
9630f62029f2 [gaim-migrate @ 13581]
Bartosz Oler <bartosz@pidgin.im>
parents: 10566
diff changeset
280
9630f62029f2 [gaim-migrate @ 13581]
Bartosz Oler <bartosz@pidgin.im>
parents: 10566
diff changeset
281 /**
35397
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
282 * purple_notify_searchresults_new_rows:
35393
00f876b129bc Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents: 35024
diff changeset
283 * @gc: The PurpleConnection structure.
00f876b129bc Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents: 35024
diff changeset
284 * @results: The PurpleNotifySearchResults structure.
00f876b129bc Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents: 35024
diff changeset
285 * @data: Data returned by the purple_notify_searchresults().
11359
9630f62029f2 [gaim-migrate @ 13581]
Bartosz Oler <bartosz@pidgin.im>
parents: 10566
diff changeset
286 *
35397
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
287 * Replace old rows with the new. Reuse an existing window.
42416
d14854b4421f Make sure all of the notify API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents: 42396
diff changeset
288 *
d14854b4421f Make sure all of the notify API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents: 42396
diff changeset
289 * Since: 2.0.0
11359
9630f62029f2 [gaim-migrate @ 13581]
Bartosz Oler <bartosz@pidgin.im>
parents: 10566
diff changeset
290 */
42416
d14854b4421f Make sure all of the notify API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents: 42396
diff changeset
291 PURPLE_AVAILABLE_IN_ALL
d14854b4421f Make sure all of the notify API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents: 42396
diff changeset
292 void purple_notify_searchresults_new_rows(PurpleConnection *gc, PurpleNotifySearchResults *results, void *data);
11359
9630f62029f2 [gaim-migrate @ 13581]
Bartosz Oler <bartosz@pidgin.im>
parents: 10566
diff changeset
293
12624
c1c92f08976b [gaim-migrate @ 14960]
Christopher O'Brien <siege@pidgin.im>
parents: 12323
diff changeset
294
11359
9630f62029f2 [gaim-migrate @ 13581]
Bartosz Oler <bartosz@pidgin.im>
parents: 10566
diff changeset
295 /**
35397
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
296 * purple_notify_searchresults_button_add:
35393
00f876b129bc Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents: 35024
diff changeset
297 * @results: The search results object.
00f876b129bc Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents: 35024
diff changeset
298 * @type: Type of the button. (TODO: Only one button of a given type
35682
65c1912ee2c8 Add (scope) annotation to callback parameters (account.h to proxy.h)
Ankit Vani <a@nevitus.org>
parents: 35572
diff changeset
299 * can be displayed.)
65c1912ee2c8 Add (scope) annotation to callback parameters (account.h to proxy.h)
Ankit Vani <a@nevitus.org>
parents: 35572
diff changeset
300 * @cb: (scope call): Function that will be called on the click event.
11359
9630f62029f2 [gaim-migrate @ 13581]
Bartosz Oler <bartosz@pidgin.im>
parents: 10566
diff changeset
301 *
35397
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
302 * Adds a stock button that will be displayed in the search results dialog.
42416
d14854b4421f Make sure all of the notify API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents: 42396
diff changeset
303 *
d14854b4421f Make sure all of the notify API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents: 42396
diff changeset
304 * Since: 2.0.0
11359
9630f62029f2 [gaim-migrate @ 13581]
Bartosz Oler <bartosz@pidgin.im>
parents: 10566
diff changeset
305 */
42416
d14854b4421f Make sure all of the notify API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents: 42396
diff changeset
306 PURPLE_AVAILABLE_IN_ALL
d14854b4421f Make sure all of the notify API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents: 42396
diff changeset
307 void purple_notify_searchresults_button_add(PurpleNotifySearchResults *results, PurpleNotifySearchButtonType type, PurpleNotifySearchResultsCallback cb);
11359
9630f62029f2 [gaim-migrate @ 13581]
Bartosz Oler <bartosz@pidgin.im>
parents: 10566
diff changeset
308
12624
c1c92f08976b [gaim-migrate @ 14960]
Christopher O'Brien <siege@pidgin.im>
parents: 12323
diff changeset
309
c1c92f08976b [gaim-migrate @ 14960]
Christopher O'Brien <siege@pidgin.im>
parents: 12323
diff changeset
310 /**
35397
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
311 * purple_notify_searchresults_button_add_labeled:
35393
00f876b129bc Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents: 35024
diff changeset
312 * @results: The search results object
00f876b129bc Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents: 35024
diff changeset
313 * @label: The label to display
35682
65c1912ee2c8 Add (scope) annotation to callback parameters (account.h to proxy.h)
Ankit Vani <a@nevitus.org>
parents: 35572
diff changeset
314 * @cb: (scope call): Function that will be called on the click event
35397
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
315 *
24702
55805ee6a45b Remove stray whitespace and wrap the function comments at less than 80
Mark Doliner <markdoliner@pidgin.im>
parents: 24569
diff changeset
316 * Adds a plain labelled button that will be displayed in the search results
55805ee6a45b Remove stray whitespace and wrap the function comments at less than 80
Mark Doliner <markdoliner@pidgin.im>
parents: 24569
diff changeset
317 * dialog.
42416
d14854b4421f Make sure all of the notify API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents: 42396
diff changeset
318 *
d14854b4421f Make sure all of the notify API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents: 42396
diff changeset
319 * Since: 2.0.0
12624
c1c92f08976b [gaim-migrate @ 14960]
Christopher O'Brien <siege@pidgin.im>
parents: 12323
diff changeset
320 */
42416
d14854b4421f Make sure all of the notify API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents: 42396
diff changeset
321 PURPLE_AVAILABLE_IN_ALL
d14854b4421f Make sure all of the notify API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents: 42396
diff changeset
322 void purple_notify_searchresults_button_add_labeled(PurpleNotifySearchResults *results, const char *label, PurpleNotifySearchResultsCallback cb);
12624
c1c92f08976b [gaim-migrate @ 14960]
Christopher O'Brien <siege@pidgin.im>
parents: 12323
diff changeset
323
c1c92f08976b [gaim-migrate @ 14960]
Christopher O'Brien <siege@pidgin.im>
parents: 12323
diff changeset
324
11359
9630f62029f2 [gaim-migrate @ 13581]
Bartosz Oler <bartosz@pidgin.im>
parents: 10566
diff changeset
325 /**
35397
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
326 * purple_notify_searchresults_new:
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
327 *
11359
9630f62029f2 [gaim-migrate @ 13581]
Bartosz Oler <bartosz@pidgin.im>
parents: 10566
diff changeset
328 * Returns a newly created search results object.
9630f62029f2 [gaim-migrate @ 13581]
Bartosz Oler <bartosz@pidgin.im>
parents: 10566
diff changeset
329 *
40188
80e78796edb2 Revert (skip) annotations
qarkai <qarkai@gmail.com>
parents: 40186
diff changeset
330 * Returns: (transfer full): The new search results object.
42416
d14854b4421f Make sure all of the notify API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents: 42396
diff changeset
331 *
d14854b4421f Make sure all of the notify API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents: 42396
diff changeset
332 * Since: 2.0.0
11359
9630f62029f2 [gaim-migrate @ 13581]
Bartosz Oler <bartosz@pidgin.im>
parents: 10566
diff changeset
333 */
42416
d14854b4421f Make sure all of the notify API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents: 42396
diff changeset
334 PURPLE_AVAILABLE_IN_ALL
15884
4de1981757fc sed -ie 's/gaim/purple/g'
Sean Egan <seanegan@pidgin.im>
parents: 15435
diff changeset
335 PurpleNotifySearchResults *purple_notify_searchresults_new(void);
11359
9630f62029f2 [gaim-migrate @ 13581]
Bartosz Oler <bartosz@pidgin.im>
parents: 10566
diff changeset
336
9630f62029f2 [gaim-migrate @ 13581]
Bartosz Oler <bartosz@pidgin.im>
parents: 10566
diff changeset
337 /**
35397
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
338 * purple_notify_searchresults_column_new:
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
339 * @title: Title of the column. NOTE: Title will get g_strdup()ed.
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
340 *
31698
12d88a8ea37d Document the default explicitly
Paul Aurich <darkrain42@pidgin.im>
parents: 31696
diff changeset
341 * Returns a newly created search result column object. The column defaults
12d88a8ea37d Document the default explicitly
Paul Aurich <darkrain42@pidgin.im>
parents: 31696
diff changeset
342 * to being visible.
11359
9630f62029f2 [gaim-migrate @ 13581]
Bartosz Oler <bartosz@pidgin.im>
parents: 10566
diff changeset
343 *
40188
80e78796edb2 Revert (skip) annotations
qarkai <qarkai@gmail.com>
parents: 40186
diff changeset
344 * Returns: (transfer full): The new search column object.
42416
d14854b4421f Make sure all of the notify API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents: 42396
diff changeset
345 *
d14854b4421f Make sure all of the notify API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents: 42396
diff changeset
346 * Since: 2.0.0
11359
9630f62029f2 [gaim-migrate @ 13581]
Bartosz Oler <bartosz@pidgin.im>
parents: 10566
diff changeset
347 */
42416
d14854b4421f Make sure all of the notify API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents: 42396
diff changeset
348 PURPLE_AVAILABLE_IN_ALL
15884
4de1981757fc sed -ie 's/gaim/purple/g'
Sean Egan <seanegan@pidgin.im>
parents: 15435
diff changeset
349 PurpleNotifySearchColumn *purple_notify_searchresults_column_new(const char *title);
11359
9630f62029f2 [gaim-migrate @ 13581]
Bartosz Oler <bartosz@pidgin.im>
parents: 10566
diff changeset
350
9630f62029f2 [gaim-migrate @ 13581]
Bartosz Oler <bartosz@pidgin.im>
parents: 10566
diff changeset
351 /**
35397
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
352 * purple_notify_searchresult_column_get_title:
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
353 * @column: The search column object.
32691
d6eb58903f8b Hide struct PurpleNotifySearchColumn.
Andrew Victor <andrew.victor@mxit.com>
parents: 32604
diff changeset
354 *
d6eb58903f8b Hide struct PurpleNotifySearchColumn.
Andrew Victor <andrew.victor@mxit.com>
parents: 32604
diff changeset
355 * Returns the title of the column
d6eb58903f8b Hide struct PurpleNotifySearchColumn.
Andrew Victor <andrew.victor@mxit.com>
parents: 32604
diff changeset
356 *
35393
00f876b129bc Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents: 35024
diff changeset
357 * Returns: The title of the column
40215
f7cf821e15de Replace a bunch of entries in ChangeLog.API entries with Since annotations
Gary Kramlich <grim@reaperworld.com>
parents: 40188
diff changeset
358 *
f7cf821e15de Replace a bunch of entries in ChangeLog.API entries with Since annotations
Gary Kramlich <grim@reaperworld.com>
parents: 40188
diff changeset
359 * Since: 3.0.0
32691
d6eb58903f8b Hide struct PurpleNotifySearchColumn.
Andrew Victor <andrew.victor@mxit.com>
parents: 32604
diff changeset
360 */
42387
d9350cda1556 Export symbols added for 3.0.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 41801
diff changeset
361 PURPLE_AVAILABLE_IN_3_0
32691
d6eb58903f8b Hide struct PurpleNotifySearchColumn.
Andrew Victor <andrew.victor@mxit.com>
parents: 32604
diff changeset
362 const char *purple_notify_searchresult_column_get_title(const PurpleNotifySearchColumn *column);
d6eb58903f8b Hide struct PurpleNotifySearchColumn.
Andrew Victor <andrew.victor@mxit.com>
parents: 32604
diff changeset
363
d6eb58903f8b Hide struct PurpleNotifySearchColumn.
Andrew Victor <andrew.victor@mxit.com>
parents: 32604
diff changeset
364 /**
35397
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
365 * purple_notify_searchresult_column_set_visible:
35393
00f876b129bc Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents: 35024
diff changeset
366 * @column: The search column object.
00f876b129bc Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents: 35024
diff changeset
367 * @visible: TRUE if visible, or FALSE if not.
31696
67d180e0f68d Add API:
Andrew Victor <andrew.victor@mxit.com>
parents: 30537
diff changeset
368 *
35397
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
369 * Sets whether or not a search result column is visible.
40215
f7cf821e15de Replace a bunch of entries in ChangeLog.API entries with Since annotations
Gary Kramlich <grim@reaperworld.com>
parents: 40188
diff changeset
370 *
f7cf821e15de Replace a bunch of entries in ChangeLog.API entries with Since annotations
Gary Kramlich <grim@reaperworld.com>
parents: 40188
diff changeset
371 * Since: 3.0.0
31696
67d180e0f68d Add API:
Andrew Victor <andrew.victor@mxit.com>
parents: 30537
diff changeset
372 */
42387
d9350cda1556 Export symbols added for 3.0.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 41801
diff changeset
373 PURPLE_AVAILABLE_IN_3_0
31696
67d180e0f68d Add API:
Andrew Victor <andrew.victor@mxit.com>
parents: 30537
diff changeset
374 void purple_notify_searchresult_column_set_visible(PurpleNotifySearchColumn *column, gboolean visible);
67d180e0f68d Add API:
Andrew Victor <andrew.victor@mxit.com>
parents: 30537
diff changeset
375
67d180e0f68d Add API:
Andrew Victor <andrew.victor@mxit.com>
parents: 30537
diff changeset
376 /**
35397
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
377 * purple_notify_searchresult_column_is_visible:
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
378 * @column: The search column object.
31696
67d180e0f68d Add API:
Andrew Victor <andrew.victor@mxit.com>
parents: 30537
diff changeset
379 *
67d180e0f68d Add API:
Andrew Victor <andrew.victor@mxit.com>
parents: 30537
diff changeset
380 * Returns whether or not a search result column is visible.
67d180e0f68d Add API:
Andrew Victor <andrew.victor@mxit.com>
parents: 30537
diff changeset
381 *
35393
00f876b129bc Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents: 35024
diff changeset
382 * Returns: TRUE if the search result column is visible. FALSE otherwise.
40215
f7cf821e15de Replace a bunch of entries in ChangeLog.API entries with Since annotations
Gary Kramlich <grim@reaperworld.com>
parents: 40188
diff changeset
383 *
f7cf821e15de Replace a bunch of entries in ChangeLog.API entries with Since annotations
Gary Kramlich <grim@reaperworld.com>
parents: 40188
diff changeset
384 * Since: 3.0.0
31696
67d180e0f68d Add API:
Andrew Victor <andrew.victor@mxit.com>
parents: 30537
diff changeset
385 */
42387
d9350cda1556 Export symbols added for 3.0.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 41801
diff changeset
386 PURPLE_AVAILABLE_IN_3_0
31696
67d180e0f68d Add API:
Andrew Victor <andrew.victor@mxit.com>
parents: 30537
diff changeset
387 gboolean purple_notify_searchresult_column_is_visible(const PurpleNotifySearchColumn *column);
67d180e0f68d Add API:
Andrew Victor <andrew.victor@mxit.com>
parents: 30537
diff changeset
388
67d180e0f68d Add API:
Andrew Victor <andrew.victor@mxit.com>
parents: 30537
diff changeset
389 /**
35397
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
390 * purple_notify_searchresults_column_add:
35393
00f876b129bc Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents: 35024
diff changeset
391 * @results: The result object to which the column will be added.
00f876b129bc Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents: 35024
diff changeset
392 * @column: The column that will be added to the result object.
11359
9630f62029f2 [gaim-migrate @ 13581]
Bartosz Oler <bartosz@pidgin.im>
parents: 10566
diff changeset
393 *
35397
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
394 * Adds a new column to the search result object.
42416
d14854b4421f Make sure all of the notify API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents: 42396
diff changeset
395 *
d14854b4421f Make sure all of the notify API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents: 42396
diff changeset
396 * Since: 2.0.0
11359
9630f62029f2 [gaim-migrate @ 13581]
Bartosz Oler <bartosz@pidgin.im>
parents: 10566
diff changeset
397 */
42416
d14854b4421f Make sure all of the notify API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents: 42396
diff changeset
398 PURPLE_AVAILABLE_IN_ALL
d14854b4421f Make sure all of the notify API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents: 42396
diff changeset
399 void purple_notify_searchresults_column_add(PurpleNotifySearchResults *results, PurpleNotifySearchColumn *column);
11359
9630f62029f2 [gaim-migrate @ 13581]
Bartosz Oler <bartosz@pidgin.im>
parents: 10566
diff changeset
400
9630f62029f2 [gaim-migrate @ 13581]
Bartosz Oler <bartosz@pidgin.im>
parents: 10566
diff changeset
401 /**
35397
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
402 * purple_notify_searchresults_row_add:
35393
00f876b129bc Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents: 35024
diff changeset
403 * @results: The search results object.
38716
b9bed228745a Add many libpurple element-type annotations.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 37410
diff changeset
404 * @row: (element-type utf8) (transfer full): The row of the results.
11359
9630f62029f2 [gaim-migrate @ 13581]
Bartosz Oler <bartosz@pidgin.im>
parents: 10566
diff changeset
405 *
35397
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
406 * Adds a new row of the results to the search results object.
42416
d14854b4421f Make sure all of the notify API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents: 42396
diff changeset
407 *
d14854b4421f Make sure all of the notify API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents: 42396
diff changeset
408 * Since: 2.0.0
11359
9630f62029f2 [gaim-migrate @ 13581]
Bartosz Oler <bartosz@pidgin.im>
parents: 10566
diff changeset
409 */
42416
d14854b4421f Make sure all of the notify API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents: 42396
diff changeset
410 PURPLE_AVAILABLE_IN_ALL
d14854b4421f Make sure all of the notify API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents: 42396
diff changeset
411 void purple_notify_searchresults_row_add(PurpleNotifySearchResults *results, GList *row);
25893
77f655480a0f Slap some PURPLE_DISABLE_DEPRECATED checks around the functions Mark just
Richard Laager <rlaager@pidgin.im>
parents: 25890
diff changeset
412
11359
9630f62029f2 [gaim-migrate @ 13581]
Bartosz Oler <bartosz@pidgin.im>
parents: 10566
diff changeset
413 /**************************************************************************/
35472
474e26199560 Removed @name
Ankit Vani <a@nevitus.org>
parents: 35467
diff changeset
414 /* Notification API */
5437
4bd5c5d271e6 [gaim-migrate @ 5819]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
415 /**************************************************************************/
4bd5c5d271e6 [gaim-migrate @ 5819]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
416
4bd5c5d271e6 [gaim-migrate @ 5819]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
417 /**
35397
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
418 * purple_notify_message:
35393
00f876b129bc Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents: 35024
diff changeset
419 * @handle: The plugin or connection handle.
00f876b129bc Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents: 35024
diff changeset
420 * @type: The notification type.
00f876b129bc Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents: 35024
diff changeset
421 * @title: The title of the message.
00f876b129bc Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents: 35024
diff changeset
422 * @primary: The main point of the message.
00f876b129bc Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents: 35024
diff changeset
423 * @secondary: The secondary information.
00f876b129bc Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents: 35024
diff changeset
424 * @cpar: The #PurpleRequestCommonParameters associated with this
35682
65c1912ee2c8 Add (scope) annotation to callback parameters (account.h to proxy.h)
Ankit Vani <a@nevitus.org>
parents: 35572
diff changeset
425 * request, or %NULL if none is.
65c1912ee2c8 Add (scope) annotation to callback parameters (account.h to proxy.h)
Ankit Vani <a@nevitus.org>
parents: 35572
diff changeset
426 * @cb: (scope call): The callback to call when the user closes
65c1912ee2c8 Add (scope) annotation to callback parameters (account.h to proxy.h)
Ankit Vani <a@nevitus.org>
parents: 35572
diff changeset
427 * the notification.
35393
00f876b129bc Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents: 35024
diff changeset
428 * @user_data: The data to pass to the callback.
5437
4bd5c5d271e6 [gaim-migrate @ 5819]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
429 *
4bd5c5d271e6 [gaim-migrate @ 5819]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
430 * Displays a notification message to the user.
4bd5c5d271e6 [gaim-migrate @ 5819]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
431 *
35393
00f876b129bc Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents: 35024
diff changeset
432 * Returns: A UI-specific handle.
42416
d14854b4421f Make sure all of the notify API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents: 42396
diff changeset
433 *
d14854b4421f Make sure all of the notify API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents: 42396
diff changeset
434 * Since: 2.0.0
5437
4bd5c5d271e6 [gaim-migrate @ 5819]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
435 */
42416
d14854b4421f Make sure all of the notify API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents: 42396
diff changeset
436 PURPLE_AVAILABLE_IN_ALL
d14854b4421f Make sure all of the notify API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents: 42396
diff changeset
437 void *purple_notify_message(void *handle, PurpleNotifyMessageType type, const char *title, const char *primary, const char *secondary, PurpleRequestCommonParameters *cpar, PurpleNotifyCloseCallback cb, gpointer user_data);
5437
4bd5c5d271e6 [gaim-migrate @ 5819]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
438
4bd5c5d271e6 [gaim-migrate @ 5819]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
439 /**
35397
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
440 * purple_notify_formatted:
35393
00f876b129bc Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents: 35024
diff changeset
441 * @handle: The plugin or connection handle.
00f876b129bc Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents: 35024
diff changeset
442 * @title: The title of the message.
00f876b129bc Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents: 35024
diff changeset
443 * @primary: The main point of the message.
00f876b129bc Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents: 35024
diff changeset
444 * @secondary: The secondary information.
00f876b129bc Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents: 35024
diff changeset
445 * @text: The formatted text.
35682
65c1912ee2c8 Add (scope) annotation to callback parameters (account.h to proxy.h)
Ankit Vani <a@nevitus.org>
parents: 35572
diff changeset
446 * @cb: (scope call): The callback to call when the user closes
65c1912ee2c8 Add (scope) annotation to callback parameters (account.h to proxy.h)
Ankit Vani <a@nevitus.org>
parents: 35572
diff changeset
447 * the notification.
35393
00f876b129bc Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents: 35024
diff changeset
448 * @user_data: The data to pass to the callback.
6381
53203c44c731 [gaim-migrate @ 6886]
Christian Hammond <chipx86@chipx86.com>
parents: 6356
diff changeset
449 *
53203c44c731 [gaim-migrate @ 6886]
Christian Hammond <chipx86@chipx86.com>
parents: 6356
diff changeset
450 * Displays a notification with formatted text.
53203c44c731 [gaim-migrate @ 6886]
Christian Hammond <chipx86@chipx86.com>
parents: 6356
diff changeset
451 *
53203c44c731 [gaim-migrate @ 6886]
Christian Hammond <chipx86@chipx86.com>
parents: 6356
diff changeset
452 * The text is essentially a stripped-down format of HTML, the same that
53203c44c731 [gaim-migrate @ 6886]
Christian Hammond <chipx86@chipx86.com>
parents: 6356
diff changeset
453 * IMs may send.
53203c44c731 [gaim-migrate @ 6886]
Christian Hammond <chipx86@chipx86.com>
parents: 6356
diff changeset
454 *
35393
00f876b129bc Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents: 35024
diff changeset
455 * Returns: A UI-specific handle.
42416
d14854b4421f Make sure all of the notify API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents: 42396
diff changeset
456 *
d14854b4421f Make sure all of the notify API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents: 42396
diff changeset
457 * Since: 2.0.0
6381
53203c44c731 [gaim-migrate @ 6886]
Christian Hammond <chipx86@chipx86.com>
parents: 6356
diff changeset
458 */
42416
d14854b4421f Make sure all of the notify API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents: 42396
diff changeset
459 PURPLE_AVAILABLE_IN_ALL
d14854b4421f Make sure all of the notify API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents: 42396
diff changeset
460 void *purple_notify_formatted(void *handle, const char *title, const char *primary, const char *secondary, const char *text, PurpleNotifyCloseCallback cb, gpointer user_data);
6381
53203c44c731 [gaim-migrate @ 6886]
Christian Hammond <chipx86@chipx86.com>
parents: 6356
diff changeset
461
53203c44c731 [gaim-migrate @ 6886]
Christian Hammond <chipx86@chipx86.com>
parents: 6356
diff changeset
462 /**
35397
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
463 * purple_notify_userinfo:
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
464 * @gc: The PurpleConnection handle associated with the information.
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
465 * @who: The username associated with the information.
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
466 * @user_info: The PurpleNotifyUserInfo which contains the information
35682
65c1912ee2c8 Add (scope) annotation to callback parameters (account.h to proxy.h)
Ankit Vani <a@nevitus.org>
parents: 35572
diff changeset
467 * @cb: (scope call): The callback to call when the user closes the
65c1912ee2c8 Add (scope) annotation to callback parameters (account.h to proxy.h)
Ankit Vani <a@nevitus.org>
parents: 35572
diff changeset
468 * notification.
35397
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
469 * @user_data: The data to pass to the callback.
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
470 *
9800
1115830011b8 [gaim-migrate @ 10668]
Mark Doliner <markdoliner@pidgin.im>
parents: 9797
diff changeset
471 * Displays user information with formatted text, passing information giving
1115830011b8 [gaim-migrate @ 10668]
Mark Doliner <markdoliner@pidgin.im>
parents: 9797
diff changeset
472 * the connection and username from which the user information came.
9797
b69f82378b7b [gaim-migrate @ 10665]
Evan Schoenberg <evands@pidgin.im>
parents: 8046
diff changeset
473 *
b69f82378b7b [gaim-migrate @ 10665]
Evan Schoenberg <evands@pidgin.im>
parents: 8046
diff changeset
474 * The text is essentially a stripped-down format of HTML, the same that
b69f82378b7b [gaim-migrate @ 10665]
Evan Schoenberg <evands@pidgin.im>
parents: 8046
diff changeset
475 * IMs may send.
b69f82378b7b [gaim-migrate @ 10665]
Evan Schoenberg <evands@pidgin.im>
parents: 8046
diff changeset
476 *
35393
00f876b129bc Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents: 35024
diff changeset
477 * Returns: A UI-specific handle.
42416
d14854b4421f Make sure all of the notify API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents: 42396
diff changeset
478 *
d14854b4421f Make sure all of the notify API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents: 42396
diff changeset
479 * Since: 2.0.0
9797
b69f82378b7b [gaim-migrate @ 10665]
Evan Schoenberg <evands@pidgin.im>
parents: 8046
diff changeset
480 */
42416
d14854b4421f Make sure all of the notify API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents: 42396
diff changeset
481 PURPLE_AVAILABLE_IN_ALL
d14854b4421f Make sure all of the notify API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents: 42396
diff changeset
482 void *purple_notify_userinfo(PurpleConnection *gc, const char *who, PurpleNotifyUserInfo *user_info, PurpleNotifyCloseCallback cb, gpointer user_data);
9797
b69f82378b7b [gaim-migrate @ 10665]
Evan Schoenberg <evands@pidgin.im>
parents: 8046
diff changeset
483
b69f82378b7b [gaim-migrate @ 10665]
Evan Schoenberg <evands@pidgin.im>
parents: 8046
diff changeset
484 /**
37410
fd7447005dea Convert PurpleNotifySearchButton to a GBoxed type
Jorge Villaseñor <salinasv@pidgin.im>
parents: 37409
diff changeset
485 * purple_notify_search_button_get_type:
fd7447005dea Convert PurpleNotifySearchButton to a GBoxed type
Jorge Villaseñor <salinasv@pidgin.im>
parents: 37409
diff changeset
486 *
fd7447005dea Convert PurpleNotifySearchButton to a GBoxed type
Jorge Villaseñor <salinasv@pidgin.im>
parents: 37409
diff changeset
487 * Returns: The #GType for #PurpleNotifiySearchButton boxed structure.
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
488 *
090b03385984 Add Since and symbol visibility to new-in-3.0 things
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42387
diff changeset
489 * Since: 3.0.0
37410
fd7447005dea Convert PurpleNotifySearchButton to a GBoxed type
Jorge Villaseñor <salinasv@pidgin.im>
parents: 37409
diff changeset
490 */
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
491 PURPLE_AVAILABLE_IN_3_0
37410
fd7447005dea Convert PurpleNotifySearchButton to a GBoxed type
Jorge Villaseñor <salinasv@pidgin.im>
parents: 37409
diff changeset
492 GType purple_notify_search_button_get_type(void);
fd7447005dea Convert PurpleNotifySearchButton to a GBoxed type
Jorge Villaseñor <salinasv@pidgin.im>
parents: 37409
diff changeset
493
fd7447005dea Convert PurpleNotifySearchButton to a GBoxed type
Jorge Villaseñor <salinasv@pidgin.im>
parents: 37409
diff changeset
494 /**
35397
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
495 * purple_notify_user_info_get_type:
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
496 *
35462
901dfa763f15 Fix some gtk-doc warnings till proxy.c
Ankit Vani <a@nevitus.org>
parents: 35440
diff changeset
497 * Returns: The #GType for the #PurpleNotifyUserInfo boxed structure.
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
498 *
090b03385984 Add Since and symbol visibility to new-in-3.0 things
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42387
diff changeset
499 * Since: 3.0.0
34793
07f8ceb4e690 Added GBoxed for PurpleNotifyUserInfo
Ankit Vani <a@nevitus.org>
parents: 32787
diff changeset
500 */
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
501 PURPLE_AVAILABLE_IN_3_0
34793
07f8ceb4e690 Added GBoxed for PurpleNotifyUserInfo
Ankit Vani <a@nevitus.org>
parents: 32787
diff changeset
502 GType purple_notify_user_info_get_type(void);
07f8ceb4e690 Added GBoxed for PurpleNotifyUserInfo
Ankit Vani <a@nevitus.org>
parents: 32787
diff changeset
503
07f8ceb4e690 Added GBoxed for PurpleNotifyUserInfo
Ankit Vani <a@nevitus.org>
parents: 32787
diff changeset
504 /**
35397
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
505 * purple_notify_user_info_new:
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
506 *
24702
55805ee6a45b Remove stray whitespace and wrap the function comments at less than 80
Mark Doliner <markdoliner@pidgin.im>
parents: 24569
diff changeset
507 * Create a new PurpleNotifyUserInfo which is suitable for passing to
55805ee6a45b Remove stray whitespace and wrap the function comments at less than 80
Mark Doliner <markdoliner@pidgin.im>
parents: 24569
diff changeset
508 * purple_notify_userinfo()
15205
f642029b2f97 [gaim-migrate @ 17929]
Evan Schoenberg <evands@pidgin.im>
parents: 14254
diff changeset
509 *
35393
00f876b129bc Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents: 35024
diff changeset
510 * Returns: A new PurpleNotifyUserInfo, which the caller must destroy when done
42416
d14854b4421f Make sure all of the notify API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents: 42396
diff changeset
511 *
d14854b4421f Make sure all of the notify API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents: 42396
diff changeset
512 * Since: 2.0.0
15205
f642029b2f97 [gaim-migrate @ 17929]
Evan Schoenberg <evands@pidgin.im>
parents: 14254
diff changeset
513 */
42416
d14854b4421f Make sure all of the notify API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents: 42396
diff changeset
514 PURPLE_AVAILABLE_IN_ALL
15884
4de1981757fc sed -ie 's/gaim/purple/g'
Sean Egan <seanegan@pidgin.im>
parents: 15435
diff changeset
515 PurpleNotifyUserInfo *purple_notify_user_info_new(void);
15205
f642029b2f97 [gaim-migrate @ 17929]
Evan Schoenberg <evands@pidgin.im>
parents: 14254
diff changeset
516
f642029b2f97 [gaim-migrate @ 17929]
Evan Schoenberg <evands@pidgin.im>
parents: 14254
diff changeset
517 /**
35397
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
518 * purple_notify_user_info_destroy:
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
519 * @user_info: The PurpleNotifyUserInfo
15205
f642029b2f97 [gaim-migrate @ 17929]
Evan Schoenberg <evands@pidgin.im>
parents: 14254
diff changeset
520 *
35397
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
521 * Destroy a PurpleNotifyUserInfo
42416
d14854b4421f Make sure all of the notify API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents: 42396
diff changeset
522 *
d14854b4421f Make sure all of the notify API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents: 42396
diff changeset
523 * Since: 2.0.0
15205
f642029b2f97 [gaim-migrate @ 17929]
Evan Schoenberg <evands@pidgin.im>
parents: 14254
diff changeset
524 */
42416
d14854b4421f Make sure all of the notify API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents: 42396
diff changeset
525 PURPLE_AVAILABLE_IN_ALL
15884
4de1981757fc sed -ie 's/gaim/purple/g'
Sean Egan <seanegan@pidgin.im>
parents: 15435
diff changeset
526 void purple_notify_user_info_destroy(PurpleNotifyUserInfo *user_info);
15205
f642029b2f97 [gaim-migrate @ 17929]
Evan Schoenberg <evands@pidgin.im>
parents: 14254
diff changeset
527
f642029b2f97 [gaim-migrate @ 17929]
Evan Schoenberg <evands@pidgin.im>
parents: 14254
diff changeset
528 /**
35397
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
529 * purple_notify_user_info_get_entries:
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
530 * @user_info: The PurpleNotifyUserInfo
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
531 *
24702
55805ee6a45b Remove stray whitespace and wrap the function comments at less than 80
Mark Doliner <markdoliner@pidgin.im>
parents: 24569
diff changeset
532 * Retrieve the array of PurpleNotifyUserInfoEntry objects from a
55805ee6a45b Remove stray whitespace and wrap the function comments at less than 80
Mark Doliner <markdoliner@pidgin.im>
parents: 24569
diff changeset
533 * PurpleNotifyUserInfo
15325
d1dcb41d845b [gaim-migrate @ 18053]
Evan Schoenberg <evands@pidgin.im>
parents: 15215
diff changeset
534 *
32193
42173d1c1317 Change PurpleNotifyUserInfo->user_info_entries from a GList to a GQueue.
Mark Doliner <markdoliner@pidgin.im>
parents: 32191
diff changeset
535 * This GQueue may be manipulated directly with normal GQueue functions such
42173d1c1317 Change PurpleNotifyUserInfo->user_info_entries from a GList to a GQueue.
Mark Doliner <markdoliner@pidgin.im>
parents: 32191
diff changeset
536 * as g_queue_push_tail(). Only PurpleNotifyUserInfoEntry are allowed in the
42173d1c1317 Change PurpleNotifyUserInfo->user_info_entries from a GList to a GQueue.
Mark Doliner <markdoliner@pidgin.im>
parents: 32191
diff changeset
537 * queue. If a PurpleNotifyUserInfoEntry item is added to the queue, it
42173d1c1317 Change PurpleNotifyUserInfo->user_info_entries from a GList to a GQueue.
Mark Doliner <markdoliner@pidgin.im>
parents: 32191
diff changeset
538 * should not be freed by the caller; PurpleNotifyUserInfo will free it when
42173d1c1317 Change PurpleNotifyUserInfo->user_info_entries from a GList to a GQueue.
Mark Doliner <markdoliner@pidgin.im>
parents: 32191
diff changeset
539 * destroyed.
15328
113b0b520010 [gaim-migrate @ 18056]
Evan Schoenberg <evands@pidgin.im>
parents: 15325
diff changeset
540 *
24702
55805ee6a45b Remove stray whitespace and wrap the function comments at less than 80
Mark Doliner <markdoliner@pidgin.im>
parents: 24569
diff changeset
541 * To remove a PurpleNotifyUserInfoEntry, use
32193
42173d1c1317 Change PurpleNotifyUserInfo->user_info_entries from a GList to a GQueue.
Mark Doliner <markdoliner@pidgin.im>
parents: 32191
diff changeset
542 * purple_notify_user_info_remove_entry(). Do not use the GQueue directly.
15205
f642029b2f97 [gaim-migrate @ 17929]
Evan Schoenberg <evands@pidgin.im>
parents: 14254
diff changeset
543 *
35394
38facb8226d4 Use 'transfer none' for TODO const
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
544 * Returns: (transfer none): A GQueue of PurpleNotifyUserInfoEntry objects.
42416
d14854b4421f Make sure all of the notify API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents: 42396
diff changeset
545 *
d14854b4421f Make sure all of the notify API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents: 42396
diff changeset
546 * Since: 2.0.0
15205
f642029b2f97 [gaim-migrate @ 17929]
Evan Schoenberg <evands@pidgin.im>
parents: 14254
diff changeset
547 */
42416
d14854b4421f Make sure all of the notify API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents: 42396
diff changeset
548 PURPLE_AVAILABLE_IN_ALL
32193
42173d1c1317 Change PurpleNotifyUserInfo->user_info_entries from a GList to a GQueue.
Mark Doliner <markdoliner@pidgin.im>
parents: 32191
diff changeset
549 GQueue *purple_notify_user_info_get_entries(PurpleNotifyUserInfo *user_info);
15205
f642029b2f97 [gaim-migrate @ 17929]
Evan Schoenberg <evands@pidgin.im>
parents: 14254
diff changeset
550
f642029b2f97 [gaim-migrate @ 17929]
Evan Schoenberg <evands@pidgin.im>
parents: 14254
diff changeset
551 /**
35397
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
552 * purple_notify_user_info_get_text_with_newline:
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
553 * @user_info: The PurpleNotifyUserInfo
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
554 * @newline: The separation character
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
555 *
24702
55805ee6a45b Remove stray whitespace and wrap the function comments at less than 80
Mark Doliner <markdoliner@pidgin.im>
parents: 24569
diff changeset
556 * Create a textual representation of a PurpleNotifyUserInfo, separating
55805ee6a45b Remove stray whitespace and wrap the function comments at less than 80
Mark Doliner <markdoliner@pidgin.im>
parents: 24569
diff changeset
557 * entries with newline
42416
d14854b4421f Make sure all of the notify API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents: 42396
diff changeset
558 *
d14854b4421f Make sure all of the notify API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents: 42396
diff changeset
559 * Since: 2.0.0
15205
f642029b2f97 [gaim-migrate @ 17929]
Evan Schoenberg <evands@pidgin.im>
parents: 14254
diff changeset
560 */
42416
d14854b4421f Make sure all of the notify API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents: 42396
diff changeset
561 PURPLE_AVAILABLE_IN_ALL
15884
4de1981757fc sed -ie 's/gaim/purple/g'
Sean Egan <seanegan@pidgin.im>
parents: 15435
diff changeset
562 char *purple_notify_user_info_get_text_with_newline(PurpleNotifyUserInfo *user_info, const char *newline);
15205
f642029b2f97 [gaim-migrate @ 17929]
Evan Schoenberg <evands@pidgin.im>
parents: 14254
diff changeset
563
f642029b2f97 [gaim-migrate @ 17929]
Evan Schoenberg <evands@pidgin.im>
parents: 14254
diff changeset
564 /**
35397
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
565 * purple_notify_user_info_add_pair_html:
40245
056a71665e06 Add a bunch of missing docs.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 40215
diff changeset
566 * @user_info: The PurpleNotifyUserInfo
056a71665e06 Add a bunch of missing docs.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 40215
diff changeset
567 * @label: A label, which for example might be displayed by a UI with a colon
056a71665e06 Add a bunch of missing docs.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 40215
diff changeset
568 * after it ("Status:"). Do not include a colon. If %NULL, value will be
056a71665e06 Add a bunch of missing docs.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 40215
diff changeset
569 * displayed without a label.
056a71665e06 Add a bunch of missing docs.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 40215
diff changeset
570 * @value: The value, which might be displayed by a UI after the label. This
056a71665e06 Add a bunch of missing docs.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 40215
diff changeset
571 * should be valid HTML. If you want to insert plaintext then use
056a71665e06 Add a bunch of missing docs.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 40215
diff changeset
572 * purple_notify_user_info_add_pair_plaintext(), instead. If this is
056a71665e06 Add a bunch of missing docs.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 40215
diff changeset
573 * %NULL the label will still be displayed; the UI should treat label as
056a71665e06 Add a bunch of missing docs.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 40215
diff changeset
574 * independent and not include a colon if it would otherwise.
35397
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
575 *
40245
056a71665e06 Add a bunch of missing docs.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 40215
diff changeset
576 * Add a label/value pair to a #PurpleNotifyUserInfo object.
056a71665e06 Add a bunch of missing docs.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 40215
diff changeset
577 * #PurpleNotifyUserInfo keeps track of the order in which pairs are added.
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
578 *
090b03385984 Add Since and symbol visibility to new-in-3.0 things
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42387
diff changeset
579 * Since: 3.0.0
15205
f642029b2f97 [gaim-migrate @ 17929]
Evan Schoenberg <evands@pidgin.im>
parents: 14254
diff changeset
580 */
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
581 PURPLE_AVAILABLE_IN_3_0
32191
a4668d9dc8d1 Rename purple_notify_user_info_add_pair to
Mark Doliner <markdoliner@pidgin.im>
parents: 32143
diff changeset
582 void purple_notify_user_info_add_pair_html(PurpleNotifyUserInfo *user_info, const char *label, const char *value);
15205
f642029b2f97 [gaim-migrate @ 17929]
Evan Schoenberg <evands@pidgin.im>
parents: 14254
diff changeset
583
f642029b2f97 [gaim-migrate @ 17929]
Evan Schoenberg <evands@pidgin.im>
parents: 14254
diff changeset
584 /**
35397
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
585 * purple_notify_user_info_add_pair_plaintext:
40245
056a71665e06 Add a bunch of missing docs.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 40215
diff changeset
586 * @user_info: The PurpleNotifyUserInfo
056a71665e06 Add a bunch of missing docs.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 40215
diff changeset
587 * @label: A label, which for example might be displayed by a UI with a colon
056a71665e06 Add a bunch of missing docs.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 40215
diff changeset
588 * after it ("Status:"). Do not include a colon. If %NULL, value will be
056a71665e06 Add a bunch of missing docs.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 40215
diff changeset
589 * displayed without a label.
056a71665e06 Add a bunch of missing docs.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 40215
diff changeset
590 * @value: The value, which might be displayed by a UI after the label. This
056a71665e06 Add a bunch of missing docs.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 40215
diff changeset
591 * will be escaped to produce valid HTML. If you want to insert HTML
056a71665e06 Add a bunch of missing docs.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 40215
diff changeset
592 * then use purple_notify_user_info_add_pair_html(), instead. If this is
056a71665e06 Add a bunch of missing docs.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 40215
diff changeset
593 * %NULL the label will still be displayed; the UI should treat label as
056a71665e06 Add a bunch of missing docs.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 40215
diff changeset
594 * independent and not include a colon if it would otherwise.
35397
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
595 *
40245
056a71665e06 Add a bunch of missing docs.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 40215
diff changeset
596 * Add a label/value pair to a #PurpleNotifyUserInfo object.
056a71665e06 Add a bunch of missing docs.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 40215
diff changeset
597 * #PurpleNotifyUserInfo keeps track of the order in which pairs are added.
056a71665e06 Add a bunch of missing docs.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 40215
diff changeset
598 *
056a71665e06 Add a bunch of missing docs.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 40215
diff changeset
599 * Like purple_notify_user_info_add_pair_html(), but value should be plaintext
30537
9f833935ecd7 Add a purple_notify_user_info_add_pair_plaintext function that accepts a
Mark Doliner <markdoliner@pidgin.im>
parents: 27346
diff changeset
600 * and will be escaped using g_markup_escape_text().
42392
bc5e361de7ff Export symbols and add Since tags for 2.8 API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42391
diff changeset
601 *
bc5e361de7ff Export symbols and add Since tags for 2.8 API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42391
diff changeset
602 * Since: 2.8.0
30537
9f833935ecd7 Add a purple_notify_user_info_add_pair_plaintext function that accepts a
Mark Doliner <markdoliner@pidgin.im>
parents: 27346
diff changeset
603 */
42392
bc5e361de7ff Export symbols and add Since tags for 2.8 API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42391
diff changeset
604 PURPLE_AVAILABLE_IN_2_8
30537
9f833935ecd7 Add a purple_notify_user_info_add_pair_plaintext function that accepts a
Mark Doliner <markdoliner@pidgin.im>
parents: 27346
diff changeset
605 void purple_notify_user_info_add_pair_plaintext(PurpleNotifyUserInfo *user_info, const char *label, const char *value);
9f833935ecd7 Add a purple_notify_user_info_add_pair_plaintext function that accepts a
Mark Doliner <markdoliner@pidgin.im>
parents: 27346
diff changeset
606
9f833935ecd7 Add a purple_notify_user_info_add_pair_plaintext function that accepts a
Mark Doliner <markdoliner@pidgin.im>
parents: 27346
diff changeset
607 /**
35397
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
608 * purple_notify_user_info_prepend_pair_html:
40245
056a71665e06 Add a bunch of missing docs.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 40215
diff changeset
609 * @user_info: The PurpleNotifyUserInfo
056a71665e06 Add a bunch of missing docs.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 40215
diff changeset
610 * @label: A label, which for example might be displayed by a UI with a colon
056a71665e06 Add a bunch of missing docs.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 40215
diff changeset
611 * after it ("Status:"). Do not include a colon. If %NULL, value will be
056a71665e06 Add a bunch of missing docs.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 40215
diff changeset
612 * displayed without a label.
056a71665e06 Add a bunch of missing docs.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 40215
diff changeset
613 * @value: The value, which might be displayed by a UI after the label. This
056a71665e06 Add a bunch of missing docs.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 40215
diff changeset
614 * should be valid HTML. If you want to insert plaintext then use
056a71665e06 Add a bunch of missing docs.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 40215
diff changeset
615 * purple_notify_user_info_prepend_pair_plaintext(), instead. If this is
056a71665e06 Add a bunch of missing docs.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 40215
diff changeset
616 * %NULL the label will still be displayed; the UI should treat label as
056a71665e06 Add a bunch of missing docs.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 40215
diff changeset
617 * independent and not include a colon if it would otherwise.
35397
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
618 *
40245
056a71665e06 Add a bunch of missing docs.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 40215
diff changeset
619 * Like purple_notify_user_info_add_pair_html(), but the pair is inserted
32204
2a09624616c3 Actually commit the purple_notify_user_info_prepend_pair_plaintext
Mark Doliner <markdoliner@pidgin.im>
parents: 32193
diff changeset
620 * at the beginning of the list.
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
621 *
090b03385984 Add Since and symbol visibility to new-in-3.0 things
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42387
diff changeset
622 * Since: 3.0.0
15205
f642029b2f97 [gaim-migrate @ 17929]
Evan Schoenberg <evands@pidgin.im>
parents: 14254
diff changeset
623 */
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
624 PURPLE_AVAILABLE_IN_3_0
32204
2a09624616c3 Actually commit the purple_notify_user_info_prepend_pair_plaintext
Mark Doliner <markdoliner@pidgin.im>
parents: 32193
diff changeset
625 void purple_notify_user_info_prepend_pair_html(PurpleNotifyUserInfo *user_info, const char *label, const char *value);
2a09624616c3 Actually commit the purple_notify_user_info_prepend_pair_plaintext
Mark Doliner <markdoliner@pidgin.im>
parents: 32193
diff changeset
626
2a09624616c3 Actually commit the purple_notify_user_info_prepend_pair_plaintext
Mark Doliner <markdoliner@pidgin.im>
parents: 32193
diff changeset
627 /**
35397
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
628 * purple_notify_user_info_prepend_pair_plaintext:
40245
056a71665e06 Add a bunch of missing docs.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 40215
diff changeset
629 * @user_info: The PurpleNotifyUserInfo
056a71665e06 Add a bunch of missing docs.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 40215
diff changeset
630 * @label: A label, which for example might be displayed by a UI with a colon
056a71665e06 Add a bunch of missing docs.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 40215
diff changeset
631 * after it ("Status:"). Do not include a colon. If %NULL, value will be
056a71665e06 Add a bunch of missing docs.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 40215
diff changeset
632 * displayed without a label.
056a71665e06 Add a bunch of missing docs.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 40215
diff changeset
633 * @value: The value, which might be displayed by a UI after the label. This
056a71665e06 Add a bunch of missing docs.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 40215
diff changeset
634 * will be escaped to produce valid HTML. If you want to insert HTML
056a71665e06 Add a bunch of missing docs.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 40215
diff changeset
635 * then use purple_notify_user_info_prepend_pair_html(), instead. If
056a71665e06 Add a bunch of missing docs.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 40215
diff changeset
636 * this is %NULL the label will still be displayed; the UI should treat
056a71665e06 Add a bunch of missing docs.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 40215
diff changeset
637 * label as independent and not include a colon if it would otherwise.
35397
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
638 *
40245
056a71665e06 Add a bunch of missing docs.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 40215
diff changeset
639 * Like purple_notify_user_info_prepend_pair_html(), but value should be
056a71665e06 Add a bunch of missing docs.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 40215
diff changeset
640 * plaintext and will be escaped using g_markup_escape_text().
40215
f7cf821e15de Replace a bunch of entries in ChangeLog.API entries with Since annotations
Gary Kramlich <grim@reaperworld.com>
parents: 40188
diff changeset
641 *
f7cf821e15de Replace a bunch of entries in ChangeLog.API entries with Since annotations
Gary Kramlich <grim@reaperworld.com>
parents: 40188
diff changeset
642 * Since: 3.0.0
32204
2a09624616c3 Actually commit the purple_notify_user_info_prepend_pair_plaintext
Mark Doliner <markdoliner@pidgin.im>
parents: 32193
diff changeset
643 */
42387
d9350cda1556 Export symbols added for 3.0.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 41801
diff changeset
644 PURPLE_AVAILABLE_IN_3_0
32204
2a09624616c3 Actually commit the purple_notify_user_info_prepend_pair_plaintext
Mark Doliner <markdoliner@pidgin.im>
parents: 32193
diff changeset
645 void purple_notify_user_info_prepend_pair_plaintext(PurpleNotifyUserInfo *user_info, const char *label, const char *value);
15205
f642029b2f97 [gaim-migrate @ 17929]
Evan Schoenberg <evands@pidgin.im>
parents: 14254
diff changeset
646
f642029b2f97 [gaim-migrate @ 17929]
Evan Schoenberg <evands@pidgin.im>
parents: 14254
diff changeset
647 /**
35397
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
648 * purple_notify_user_info_remove_entry:
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
649 * @user_info: The PurpleNotifyUserInfo
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
650 * @user_info_entry: The PurpleNotifyUserInfoEntry
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
651 *
24702
55805ee6a45b Remove stray whitespace and wrap the function comments at less than 80
Mark Doliner <markdoliner@pidgin.im>
parents: 24569
diff changeset
652 * Remove a PurpleNotifyUserInfoEntry from a PurpleNotifyUserInfo object
55805ee6a45b Remove stray whitespace and wrap the function comments at less than 80
Mark Doliner <markdoliner@pidgin.im>
parents: 24569
diff changeset
653 * without freeing the entry.
42416
d14854b4421f Make sure all of the notify API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents: 42396
diff changeset
654 *
d14854b4421f Make sure all of the notify API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents: 42396
diff changeset
655 * Since: 2.0.0
15328
113b0b520010 [gaim-migrate @ 18056]
Evan Schoenberg <evands@pidgin.im>
parents: 15325
diff changeset
656 */
42416
d14854b4421f Make sure all of the notify API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents: 42396
diff changeset
657 PURPLE_AVAILABLE_IN_ALL
15884
4de1981757fc sed -ie 's/gaim/purple/g'
Sean Egan <seanegan@pidgin.im>
parents: 15435
diff changeset
658 void purple_notify_user_info_remove_entry(PurpleNotifyUserInfo *user_info, PurpleNotifyUserInfoEntry *user_info_entry);
24702
55805ee6a45b Remove stray whitespace and wrap the function comments at less than 80
Mark Doliner <markdoliner@pidgin.im>
parents: 24569
diff changeset
659
15328
113b0b520010 [gaim-migrate @ 18056]
Evan Schoenberg <evands@pidgin.im>
parents: 15325
diff changeset
660 /**
35397
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
661 * purple_notify_user_info_entry_new:
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
662 * @label: A label, which for example might be displayed by a UI
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
663 * with a colon after it ("Status:"). Do not include a
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
664 * colon. If NULL, value will be displayed without a label.
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
665 * @value: The value, which might be displayed by a UI after the
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
666 * label. If NULL, label will still be displayed; the UI
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
667 * should then treat label as independent and not include a
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
668 * colon if it would otherwise.
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
669 *
15884
4de1981757fc sed -ie 's/gaim/purple/g'
Sean Egan <seanegan@pidgin.im>
parents: 15435
diff changeset
670 * Create a new PurpleNotifyUserInfoEntry
15325
d1dcb41d845b [gaim-migrate @ 18053]
Evan Schoenberg <evands@pidgin.im>
parents: 15215
diff changeset
671 *
24702
55805ee6a45b Remove stray whitespace and wrap the function comments at less than 80
Mark Doliner <markdoliner@pidgin.im>
parents: 24569
diff changeset
672 * If added to a PurpleNotifyUserInfo object, this should not be free()'d,
55805ee6a45b Remove stray whitespace and wrap the function comments at less than 80
Mark Doliner <markdoliner@pidgin.im>
parents: 24569
diff changeset
673 * as PurpleNotifyUserInfo will do so when destroyed.
32191
a4668d9dc8d1 Rename purple_notify_user_info_add_pair to
Mark Doliner <markdoliner@pidgin.im>
parents: 32143
diff changeset
674 * purple_notify_user_info_add_pair_html(),
32204
2a09624616c3 Actually commit the purple_notify_user_info_prepend_pair_plaintext
Mark Doliner <markdoliner@pidgin.im>
parents: 32193
diff changeset
675 * purple_notify_user_info_add_pair_plaintext(),
2a09624616c3 Actually commit the purple_notify_user_info_prepend_pair_plaintext
Mark Doliner <markdoliner@pidgin.im>
parents: 32193
diff changeset
676 * purple_notify_user_info_prepend_pair_html() and
2a09624616c3 Actually commit the purple_notify_user_info_prepend_pair_plaintext
Mark Doliner <markdoliner@pidgin.im>
parents: 32193
diff changeset
677 * purple_notify_user_info_prepend_pair_plaintext() are convenience
2a09624616c3 Actually commit the purple_notify_user_info_prepend_pair_plaintext
Mark Doliner <markdoliner@pidgin.im>
parents: 32193
diff changeset
678 * methods for creating entries and adding them to a PurpleNotifyUserInfo.
15325
d1dcb41d845b [gaim-migrate @ 18053]
Evan Schoenberg <evands@pidgin.im>
parents: 15215
diff changeset
679 *
40188
80e78796edb2 Revert (skip) annotations
qarkai <qarkai@gmail.com>
parents: 40186
diff changeset
680 * Returns: (transfer full): A new PurpleNotifyUserInfoEntry
42416
d14854b4421f Make sure all of the notify API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents: 42396
diff changeset
681 *
d14854b4421f Make sure all of the notify API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents: 42396
diff changeset
682 * Since: 2.0.0
15325
d1dcb41d845b [gaim-migrate @ 18053]
Evan Schoenberg <evands@pidgin.im>
parents: 15215
diff changeset
683 */
42416
d14854b4421f Make sure all of the notify API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents: 42396
diff changeset
684 PURPLE_AVAILABLE_IN_ALL
15884
4de1981757fc sed -ie 's/gaim/purple/g'
Sean Egan <seanegan@pidgin.im>
parents: 15435
diff changeset
685 PurpleNotifyUserInfoEntry *purple_notify_user_info_entry_new(const char *label, const char *value);
15325
d1dcb41d845b [gaim-migrate @ 18053]
Evan Schoenberg <evands@pidgin.im>
parents: 15215
diff changeset
686
d1dcb41d845b [gaim-migrate @ 18053]
Evan Schoenberg <evands@pidgin.im>
parents: 15215
diff changeset
687 /**
35397
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
688 * purple_notify_user_info_entry_destroy:
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
689 * @user_info_entry: The PurpleNotifyUserInfoEntry
34795
979a2d8fb770 Made purple_notify_user_info_entry_destroy() public, so entries can be free'd after calling remove_entry
Ankit Vani <a@nevitus.org>
parents: 34793
diff changeset
690 *
35397
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
691 * Destroy a PurpleNotifyUserInfoEntry
40215
f7cf821e15de Replace a bunch of entries in ChangeLog.API entries with Since annotations
Gary Kramlich <grim@reaperworld.com>
parents: 40188
diff changeset
692 *
f7cf821e15de Replace a bunch of entries in ChangeLog.API entries with Since annotations
Gary Kramlich <grim@reaperworld.com>
parents: 40188
diff changeset
693 * Since: 3.0.0
34795
979a2d8fb770 Made purple_notify_user_info_entry_destroy() public, so entries can be free'd after calling remove_entry
Ankit Vani <a@nevitus.org>
parents: 34793
diff changeset
694 */
42387
d9350cda1556 Export symbols added for 3.0.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 41801
diff changeset
695 PURPLE_AVAILABLE_IN_3_0
34795
979a2d8fb770 Made purple_notify_user_info_entry_destroy() public, so entries can be free'd after calling remove_entry
Ankit Vani <a@nevitus.org>
parents: 34793
diff changeset
696 void purple_notify_user_info_entry_destroy(PurpleNotifyUserInfoEntry *user_info_entry);
979a2d8fb770 Made purple_notify_user_info_entry_destroy() public, so entries can be free'd after calling remove_entry
Ankit Vani <a@nevitus.org>
parents: 34793
diff changeset
697
979a2d8fb770 Made purple_notify_user_info_entry_destroy() public, so entries can be free'd after calling remove_entry
Ankit Vani <a@nevitus.org>
parents: 34793
diff changeset
698 /**
35397
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
699 * purple_notify_user_info_add_section_break:
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
700 * @user_info: The PurpleNotifyUserInfo
15205
f642029b2f97 [gaim-migrate @ 17929]
Evan Schoenberg <evands@pidgin.im>
parents: 14254
diff changeset
701 *
35397
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
702 * Add a section break. A UI might display this as a horizontal line.
42416
d14854b4421f Make sure all of the notify API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents: 42396
diff changeset
703 *
d14854b4421f Make sure all of the notify API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents: 42396
diff changeset
704 * Since: 2.0.0
15205
f642029b2f97 [gaim-migrate @ 17929]
Evan Schoenberg <evands@pidgin.im>
parents: 14254
diff changeset
705 */
42416
d14854b4421f Make sure all of the notify API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents: 42396
diff changeset
706 PURPLE_AVAILABLE_IN_ALL
15884
4de1981757fc sed -ie 's/gaim/purple/g'
Sean Egan <seanegan@pidgin.im>
parents: 15435
diff changeset
707 void purple_notify_user_info_add_section_break(PurpleNotifyUserInfo *user_info);
15205
f642029b2f97 [gaim-migrate @ 17929]
Evan Schoenberg <evands@pidgin.im>
parents: 14254
diff changeset
708
f642029b2f97 [gaim-migrate @ 17929]
Evan Schoenberg <evands@pidgin.im>
parents: 14254
diff changeset
709 /**
35397
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
710 * purple_notify_user_info_prepend_section_break:
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
711 * @user_info: The PurpleNotifyUserInfo
23346
fceca7f4710f Added prepend functions for notify_user_info section headers and breaks
Evan Schoenberg <evands@pidgin.im>
parents: 23325
diff changeset
712 *
35397
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
713 * Prepend a section break. A UI might display this as a horizontal line.
42396
31bf5a42ac84 Export symbols and add Since tags for 2.5 API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42392
diff changeset
714 *
31bf5a42ac84 Export symbols and add Since tags for 2.5 API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42392
diff changeset
715 * Since: 2.5.0
23346
fceca7f4710f Added prepend functions for notify_user_info section headers and breaks
Evan Schoenberg <evands@pidgin.im>
parents: 23325
diff changeset
716 */
42396
31bf5a42ac84 Export symbols and add Since tags for 2.5 API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42392
diff changeset
717 PURPLE_AVAILABLE_IN_2_5
23346
fceca7f4710f Added prepend functions for notify_user_info section headers and breaks
Evan Schoenberg <evands@pidgin.im>
parents: 23325
diff changeset
718 void purple_notify_user_info_prepend_section_break(PurpleNotifyUserInfo *user_info);
24702
55805ee6a45b Remove stray whitespace and wrap the function comments at less than 80
Mark Doliner <markdoliner@pidgin.im>
parents: 24569
diff changeset
719
23346
fceca7f4710f Added prepend functions for notify_user_info section headers and breaks
Evan Schoenberg <evands@pidgin.im>
parents: 23325
diff changeset
720 /**
35397
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
721 * purple_notify_user_info_add_section_header:
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
722 * @user_info: The PurpleNotifyUserInfo
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
723 * @label: The name of the section
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
724 *
24702
55805ee6a45b Remove stray whitespace and wrap the function comments at less than 80
Mark Doliner <markdoliner@pidgin.im>
parents: 24569
diff changeset
725 * Add a section header. A UI might display this in a different font
55805ee6a45b Remove stray whitespace and wrap the function comments at less than 80
Mark Doliner <markdoliner@pidgin.im>
parents: 24569
diff changeset
726 * from other text.
42416
d14854b4421f Make sure all of the notify API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents: 42396
diff changeset
727 *
d14854b4421f Make sure all of the notify API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents: 42396
diff changeset
728 * Since: 2.0.0
15205
f642029b2f97 [gaim-migrate @ 17929]
Evan Schoenberg <evands@pidgin.im>
parents: 14254
diff changeset
729 */
42416
d14854b4421f Make sure all of the notify API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents: 42396
diff changeset
730 PURPLE_AVAILABLE_IN_ALL
15884
4de1981757fc sed -ie 's/gaim/purple/g'
Sean Egan <seanegan@pidgin.im>
parents: 15435
diff changeset
731 void purple_notify_user_info_add_section_header(PurpleNotifyUserInfo *user_info, const char *label);
24702
55805ee6a45b Remove stray whitespace and wrap the function comments at less than 80
Mark Doliner <markdoliner@pidgin.im>
parents: 24569
diff changeset
732
23346
fceca7f4710f Added prepend functions for notify_user_info section headers and breaks
Evan Schoenberg <evands@pidgin.im>
parents: 23325
diff changeset
733 /**
35397
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
734 * purple_notify_user_info_prepend_section_header:
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
735 * @user_info: The PurpleNotifyUserInfo
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
736 * @label: The name of the section
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
737 *
24702
55805ee6a45b Remove stray whitespace and wrap the function comments at less than 80
Mark Doliner <markdoliner@pidgin.im>
parents: 24569
diff changeset
738 * Prepend a section header. A UI might display this in a different font
55805ee6a45b Remove stray whitespace and wrap the function comments at less than 80
Mark Doliner <markdoliner@pidgin.im>
parents: 24569
diff changeset
739 * from other text.
42396
31bf5a42ac84 Export symbols and add Since tags for 2.5 API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42392
diff changeset
740 *
31bf5a42ac84 Export symbols and add Since tags for 2.5 API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42392
diff changeset
741 * Since: 2.5.0
23346
fceca7f4710f Added prepend functions for notify_user_info section headers and breaks
Evan Schoenberg <evands@pidgin.im>
parents: 23325
diff changeset
742 */
42396
31bf5a42ac84 Export symbols and add Since tags for 2.5 API
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42392
diff changeset
743 PURPLE_AVAILABLE_IN_2_5
23346
fceca7f4710f Added prepend functions for notify_user_info section headers and breaks
Evan Schoenberg <evands@pidgin.im>
parents: 23325
diff changeset
744 void purple_notify_user_info_prepend_section_header(PurpleNotifyUserInfo *user_info, const char *label);
24702
55805ee6a45b Remove stray whitespace and wrap the function comments at less than 80
Mark Doliner <markdoliner@pidgin.im>
parents: 24569
diff changeset
745
15205
f642029b2f97 [gaim-migrate @ 17929]
Evan Schoenberg <evands@pidgin.im>
parents: 14254
diff changeset
746 /**
35397
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
747 * purple_notify_user_info_remove_last_item:
40245
056a71665e06 Add a bunch of missing docs.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 40215
diff changeset
748 * @user_info: The PurpleNotifyUserInfo
35397
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
749 *
24702
55805ee6a45b Remove stray whitespace and wrap the function comments at less than 80
Mark Doliner <markdoliner@pidgin.im>
parents: 24569
diff changeset
750 * Remove the last item which was added to a PurpleNotifyUserInfo. This
55805ee6a45b Remove stray whitespace and wrap the function comments at less than 80
Mark Doliner <markdoliner@pidgin.im>
parents: 24569
diff changeset
751 * could be used to remove a section header which is not needed.
42416
d14854b4421f Make sure all of the notify API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents: 42396
diff changeset
752 *
d14854b4421f Make sure all of the notify API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents: 42396
diff changeset
753 * Since: 2.0.0
15205
f642029b2f97 [gaim-migrate @ 17929]
Evan Schoenberg <evands@pidgin.im>
parents: 14254
diff changeset
754 */
42416
d14854b4421f Make sure all of the notify API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents: 42396
diff changeset
755 PURPLE_AVAILABLE_IN_ALL
15884
4de1981757fc sed -ie 's/gaim/purple/g'
Sean Egan <seanegan@pidgin.im>
parents: 15435
diff changeset
756 void purple_notify_user_info_remove_last_item(PurpleNotifyUserInfo *user_info);
15205
f642029b2f97 [gaim-migrate @ 17929]
Evan Schoenberg <evands@pidgin.im>
parents: 14254
diff changeset
757
f642029b2f97 [gaim-migrate @ 17929]
Evan Schoenberg <evands@pidgin.im>
parents: 14254
diff changeset
758 /**
35397
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
759 * purple_notify_user_info_entry_get_label:
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
760 * @user_info_entry: The PurpleNotifyUserInfoEntry
15205
f642029b2f97 [gaim-migrate @ 17929]
Evan Schoenberg <evands@pidgin.im>
parents: 14254
diff changeset
761 *
15884
4de1981757fc sed -ie 's/gaim/purple/g'
Sean Egan <seanegan@pidgin.im>
parents: 15435
diff changeset
762 * Get the label for a PurpleNotifyUserInfoEntry
15205
f642029b2f97 [gaim-migrate @ 17929]
Evan Schoenberg <evands@pidgin.im>
parents: 14254
diff changeset
763 *
35393
00f876b129bc Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents: 35024
diff changeset
764 * Returns: The label
42416
d14854b4421f Make sure all of the notify API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents: 42396
diff changeset
765 *
d14854b4421f Make sure all of the notify API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents: 42396
diff changeset
766 * Since: 2.0.0
15205
f642029b2f97 [gaim-migrate @ 17929]
Evan Schoenberg <evands@pidgin.im>
parents: 14254
diff changeset
767 */
42416
d14854b4421f Make sure all of the notify API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents: 42396
diff changeset
768 PURPLE_AVAILABLE_IN_ALL
22762
7f13bec07bad constify the return value from purple_notify_user_info_entry_get_label
Mark Doliner <markdoliner@pidgin.im>
parents: 21453
diff changeset
769 const gchar *purple_notify_user_info_entry_get_label(PurpleNotifyUserInfoEntry *user_info_entry);
15205
f642029b2f97 [gaim-migrate @ 17929]
Evan Schoenberg <evands@pidgin.im>
parents: 14254
diff changeset
770
f642029b2f97 [gaim-migrate @ 17929]
Evan Schoenberg <evands@pidgin.im>
parents: 14254
diff changeset
771 /**
35397
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
772 * purple_notify_user_info_entry_set_label:
35393
00f876b129bc Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents: 35024
diff changeset
773 * @user_info_entry: The PurpleNotifyUserInfoEntry
00f876b129bc Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents: 35024
diff changeset
774 * @label: The label
15325
d1dcb41d845b [gaim-migrate @ 18053]
Evan Schoenberg <evands@pidgin.im>
parents: 15215
diff changeset
775 *
35397
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
776 * Set the label for a PurpleNotifyUserInfoEntry
42416
d14854b4421f Make sure all of the notify API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents: 42396
diff changeset
777 *
d14854b4421f Make sure all of the notify API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents: 42396
diff changeset
778 * Since: 2.0.0
15325
d1dcb41d845b [gaim-migrate @ 18053]
Evan Schoenberg <evands@pidgin.im>
parents: 15215
diff changeset
779 */
42416
d14854b4421f Make sure all of the notify API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents: 42396
diff changeset
780 PURPLE_AVAILABLE_IN_ALL
15884
4de1981757fc sed -ie 's/gaim/purple/g'
Sean Egan <seanegan@pidgin.im>
parents: 15435
diff changeset
781 void purple_notify_user_info_entry_set_label(PurpleNotifyUserInfoEntry *user_info_entry, const char *label);
15325
d1dcb41d845b [gaim-migrate @ 18053]
Evan Schoenberg <evands@pidgin.im>
parents: 15215
diff changeset
782
d1dcb41d845b [gaim-migrate @ 18053]
Evan Schoenberg <evands@pidgin.im>
parents: 15215
diff changeset
783 /**
35397
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
784 * purple_notify_user_info_entry_get_value:
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
785 * @user_info_entry: The PurpleNotifyUserInfoEntry
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
786 *
15884
4de1981757fc sed -ie 's/gaim/purple/g'
Sean Egan <seanegan@pidgin.im>
parents: 15435
diff changeset
787 * Get the value for a PurpleNotifyUserInfoEntry
15205
f642029b2f97 [gaim-migrate @ 17929]
Evan Schoenberg <evands@pidgin.im>
parents: 14254
diff changeset
788 *
35397
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
789 * Returns: The value
42416
d14854b4421f Make sure all of the notify API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents: 42396
diff changeset
790 *
d14854b4421f Make sure all of the notify API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents: 42396
diff changeset
791 * Since: 2.0.0
15205
f642029b2f97 [gaim-migrate @ 17929]
Evan Schoenberg <evands@pidgin.im>
parents: 14254
diff changeset
792 */
42416
d14854b4421f Make sure all of the notify API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents: 42396
diff changeset
793 PURPLE_AVAILABLE_IN_ALL
22762
7f13bec07bad constify the return value from purple_notify_user_info_entry_get_label
Mark Doliner <markdoliner@pidgin.im>
parents: 21453
diff changeset
794 const gchar *purple_notify_user_info_entry_get_value(PurpleNotifyUserInfoEntry *user_info_entry);
15205
f642029b2f97 [gaim-migrate @ 17929]
Evan Schoenberg <evands@pidgin.im>
parents: 14254
diff changeset
795
f642029b2f97 [gaim-migrate @ 17929]
Evan Schoenberg <evands@pidgin.im>
parents: 14254
diff changeset
796 /**
35397
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
797 * purple_notify_user_info_entry_set_value:
35393
00f876b129bc Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents: 35024
diff changeset
798 * @user_info_entry: The PurpleNotifyUserInfoEntry
00f876b129bc Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents: 35024
diff changeset
799 * @value: The value
15325
d1dcb41d845b [gaim-migrate @ 18053]
Evan Schoenberg <evands@pidgin.im>
parents: 15215
diff changeset
800 *
35397
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
801 * Set the value for a PurpleNotifyUserInfoEntry
42416
d14854b4421f Make sure all of the notify API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents: 42396
diff changeset
802 *
d14854b4421f Make sure all of the notify API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents: 42396
diff changeset
803 * Since: 2.0.0
15325
d1dcb41d845b [gaim-migrate @ 18053]
Evan Schoenberg <evands@pidgin.im>
parents: 15215
diff changeset
804 */
42416
d14854b4421f Make sure all of the notify API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents: 42396
diff changeset
805 PURPLE_AVAILABLE_IN_ALL
15884
4de1981757fc sed -ie 's/gaim/purple/g'
Sean Egan <seanegan@pidgin.im>
parents: 15435
diff changeset
806 void purple_notify_user_info_entry_set_value(PurpleNotifyUserInfoEntry *user_info_entry, const char *value);
15325
d1dcb41d845b [gaim-migrate @ 18053]
Evan Schoenberg <evands@pidgin.im>
parents: 15215
diff changeset
807
d1dcb41d845b [gaim-migrate @ 18053]
Evan Schoenberg <evands@pidgin.im>
parents: 15215
diff changeset
808 /**
35477
5036e4cd8a46 Update doc labels for renamed functions
Ankit Vani <a@nevitus.org>
parents: 35475
diff changeset
809 * purple_notify_user_info_entry_get_entry_type:
35397
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
810 * @user_info_entry: The PurpleNotifyUserInfoEntry
15325
d1dcb41d845b [gaim-migrate @ 18053]
Evan Schoenberg <evands@pidgin.im>
parents: 15215
diff changeset
811 *
15884
4de1981757fc sed -ie 's/gaim/purple/g'
Sean Egan <seanegan@pidgin.im>
parents: 15435
diff changeset
812 * Get the type of a PurpleNotifyUserInfoEntry
15325
d1dcb41d845b [gaim-migrate @ 18053]
Evan Schoenberg <evands@pidgin.im>
parents: 15215
diff changeset
813 *
35393
00f876b129bc Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents: 35024
diff changeset
814 * Returns: The PurpleNotifyUserInfoEntryType
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
815 *
090b03385984 Add Since and symbol visibility to new-in-3.0 things
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42387
diff changeset
816 * Since: 3.0.0
15325
d1dcb41d845b [gaim-migrate @ 18053]
Evan Schoenberg <evands@pidgin.im>
parents: 15215
diff changeset
817 */
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
818 PURPLE_AVAILABLE_IN_3_0
35378
5d9e2581005b gtk-doc prep: *_get_type() functions are hidden as standard GType-returning funcs, so rename them.
Ankit Vani <a@nevitus.org>
parents: 35024
diff changeset
819 PurpleNotifyUserInfoEntryType purple_notify_user_info_entry_get_entry_type(
5d9e2581005b gtk-doc prep: *_get_type() functions are hidden as standard GType-returning funcs, so rename them.
Ankit Vani <a@nevitus.org>
parents: 35024
diff changeset
820 PurpleNotifyUserInfoEntry *user_info_entry);
15325
d1dcb41d845b [gaim-migrate @ 18053]
Evan Schoenberg <evands@pidgin.im>
parents: 15215
diff changeset
821
d1dcb41d845b [gaim-migrate @ 18053]
Evan Schoenberg <evands@pidgin.im>
parents: 15215
diff changeset
822 /**
35477
5036e4cd8a46 Update doc labels for renamed functions
Ankit Vani <a@nevitus.org>
parents: 35475
diff changeset
823 * purple_notify_user_info_entry_set_entry_type:
35393
00f876b129bc Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents: 35024
diff changeset
824 * @user_info_entry: The PurpleNotifyUserInfoEntry
00f876b129bc Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents: 35024
diff changeset
825 * @type: The PurpleNotifyUserInfoEntryType
15325
d1dcb41d845b [gaim-migrate @ 18053]
Evan Schoenberg <evands@pidgin.im>
parents: 15215
diff changeset
826 *
35397
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
827 * Set the type of a PurpleNotifyUserInfoEntry
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
828 *
090b03385984 Add Since and symbol visibility to new-in-3.0 things
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42387
diff changeset
829 * Since: 3.0.0
15325
d1dcb41d845b [gaim-migrate @ 18053]
Evan Schoenberg <evands@pidgin.im>
parents: 15215
diff changeset
830 */
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
831 PURPLE_AVAILABLE_IN_3_0
35378
5d9e2581005b gtk-doc prep: *_get_type() functions are hidden as standard GType-returning funcs, so rename them.
Ankit Vani <a@nevitus.org>
parents: 35024
diff changeset
832 void purple_notify_user_info_entry_set_entry_type(
5d9e2581005b gtk-doc prep: *_get_type() functions are hidden as standard GType-returning funcs, so rename them.
Ankit Vani <a@nevitus.org>
parents: 35024
diff changeset
833 PurpleNotifyUserInfoEntry *user_info_entry, PurpleNotifyUserInfoEntryType type);
15325
d1dcb41d845b [gaim-migrate @ 18053]
Evan Schoenberg <evands@pidgin.im>
parents: 15215
diff changeset
834
d1dcb41d845b [gaim-migrate @ 18053]
Evan Schoenberg <evands@pidgin.im>
parents: 15215
diff changeset
835 /**
35397
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
836 * purple_notify_uri:
35393
00f876b129bc Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents: 35024
diff changeset
837 * @handle: The plugin or connection handle.
00f876b129bc Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents: 35024
diff changeset
838 * @uri: The URI to display or go to.
6465
bd201d637ff4 [gaim-migrate @ 6974]
Christian Hammond <chipx86@chipx86.com>
parents: 6381
diff changeset
839 *
bd201d637ff4 [gaim-migrate @ 6974]
Christian Hammond <chipx86@chipx86.com>
parents: 6381
diff changeset
840 * Opens a URI or somehow presents it to the user.
bd201d637ff4 [gaim-migrate @ 6974]
Christian Hammond <chipx86@chipx86.com>
parents: 6381
diff changeset
841 *
35393
00f876b129bc Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents: 35024
diff changeset
842 * Returns: A UI-specific handle, if any. This may only be presented if
6465
bd201d637ff4 [gaim-migrate @ 6974]
Christian Hammond <chipx86@chipx86.com>
parents: 6381
diff changeset
843 * the UI code displays a dialog instead of a webpage, or something
bd201d637ff4 [gaim-migrate @ 6974]
Christian Hammond <chipx86@chipx86.com>
parents: 6381
diff changeset
844 * similar.
42416
d14854b4421f Make sure all of the notify API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents: 42396
diff changeset
845 *
d14854b4421f Make sure all of the notify API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents: 42396
diff changeset
846 * Since: 2.0.0
6465
bd201d637ff4 [gaim-migrate @ 6974]
Christian Hammond <chipx86@chipx86.com>
parents: 6381
diff changeset
847 */
42416
d14854b4421f Make sure all of the notify API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents: 42396
diff changeset
848 PURPLE_AVAILABLE_IN_ALL
15884
4de1981757fc sed -ie 's/gaim/purple/g'
Sean Egan <seanegan@pidgin.im>
parents: 15435
diff changeset
849 void *purple_notify_uri(void *handle, const char *uri);
6465
bd201d637ff4 [gaim-migrate @ 6974]
Christian Hammond <chipx86@chipx86.com>
parents: 6381
diff changeset
850
bd201d637ff4 [gaim-migrate @ 6974]
Christian Hammond <chipx86@chipx86.com>
parents: 6381
diff changeset
851 /**
35397
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
852 * purple_notify_is_valid_ui_handle:
35393
00f876b129bc Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents: 35024
diff changeset
853 * @ui_handle: The UI handle.
00f876b129bc Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents: 35024
diff changeset
854 * @type: The pointer to variable, where request type may be stored
00f876b129bc Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents: 35024
diff changeset
855 * (may be %NULL).
34451
b7165d4e1d73 Implement purple_*_is_valid_ui_handle, purple_request_cpar_*et_parent_from, pidgin_request_get_dialog_window
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents: 34449
diff changeset
856 *
b7165d4e1d73 Implement purple_*_is_valid_ui_handle, purple_request_cpar_*et_parent_from, pidgin_request_get_dialog_window
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents: 34449
diff changeset
857 * Checks, if passed UI handle is valid.
b7165d4e1d73 Implement purple_*_is_valid_ui_handle, purple_request_cpar_*et_parent_from, pidgin_request_get_dialog_window
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents: 34449
diff changeset
858 *
35393
00f876b129bc Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents: 35024
diff changeset
859 * Returns: TRUE, if handle is valid, FALSE otherwise.
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
860 *
090b03385984 Add Since and symbol visibility to new-in-3.0 things
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42387
diff changeset
861 * Since: 3.0.0
34451
b7165d4e1d73 Implement purple_*_is_valid_ui_handle, purple_request_cpar_*et_parent_from, pidgin_request_get_dialog_window
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents: 34449
diff changeset
862 */
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
863 PURPLE_AVAILABLE_IN_3_0
34451
b7165d4e1d73 Implement purple_*_is_valid_ui_handle, purple_request_cpar_*et_parent_from, pidgin_request_get_dialog_window
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents: 34449
diff changeset
864 gboolean
b7165d4e1d73 Implement purple_*_is_valid_ui_handle, purple_request_cpar_*et_parent_from, pidgin_request_get_dialog_window
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents: 34449
diff changeset
865 purple_notify_is_valid_ui_handle(void *ui_handle, PurpleNotifyType *type);
b7165d4e1d73 Implement purple_*_is_valid_ui_handle, purple_request_cpar_*et_parent_from, pidgin_request_get_dialog_window
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents: 34449
diff changeset
866
b7165d4e1d73 Implement purple_*_is_valid_ui_handle, purple_request_cpar_*et_parent_from, pidgin_request_get_dialog_window
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents: 34449
diff changeset
867 /**
35397
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
868 * purple_notify_close:
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
869 * @type: The notification type.
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
870 * @ui_handle: The notification UI handle.
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
871 *
5437
4bd5c5d271e6 [gaim-migrate @ 5819]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
872 * Closes a notification.
4bd5c5d271e6 [gaim-migrate @ 5819]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
873 *
4bd5c5d271e6 [gaim-migrate @ 5819]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
874 * This should be used only by the UI operation functions and part of the
4bd5c5d271e6 [gaim-migrate @ 5819]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
875 * core.
42416
d14854b4421f Make sure all of the notify API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents: 42396
diff changeset
876 *
d14854b4421f Make sure all of the notify API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents: 42396
diff changeset
877 * Since: 2.0.0
5437
4bd5c5d271e6 [gaim-migrate @ 5819]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
878 */
42416
d14854b4421f Make sure all of the notify API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents: 42396
diff changeset
879 PURPLE_AVAILABLE_IN_ALL
15884
4de1981757fc sed -ie 's/gaim/purple/g'
Sean Egan <seanegan@pidgin.im>
parents: 15435
diff changeset
880 void purple_notify_close(PurpleNotifyType type, void *ui_handle);
5437
4bd5c5d271e6 [gaim-migrate @ 5819]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
881
4bd5c5d271e6 [gaim-migrate @ 5819]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
882 /**
35397
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
883 * purple_notify_close_with_handle:
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
884 * @handle: The handle.
5437
4bd5c5d271e6 [gaim-migrate @ 5819]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
885 *
35397
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
886 * Closes all notifications registered with the specified handle.
42416
d14854b4421f Make sure all of the notify API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents: 42396
diff changeset
887 *
d14854b4421f Make sure all of the notify API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents: 42396
diff changeset
888 * Since: 2.0.0
5437
4bd5c5d271e6 [gaim-migrate @ 5819]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
889 */
42416
d14854b4421f Make sure all of the notify API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents: 42396
diff changeset
890 PURPLE_AVAILABLE_IN_ALL
15884
4de1981757fc sed -ie 's/gaim/purple/g'
Sean Egan <seanegan@pidgin.im>
parents: 15435
diff changeset
891 void purple_notify_close_with_handle(void *handle);
5437
4bd5c5d271e6 [gaim-migrate @ 5819]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
892
4bd5c5d271e6 [gaim-migrate @ 5819]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
893 /**
35397
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
894 * purple_notify_info:
40245
056a71665e06 Add a bunch of missing docs.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 40215
diff changeset
895 * @handle: The plugin or connection handle.
056a71665e06 Add a bunch of missing docs.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 40215
diff changeset
896 * @title: The title of the message.
056a71665e06 Add a bunch of missing docs.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 40215
diff changeset
897 * @primary: The main point of the message.
056a71665e06 Add a bunch of missing docs.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 40215
diff changeset
898 * @secondary: The secondary information.
056a71665e06 Add a bunch of missing docs.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 40215
diff changeset
899 * @cpar: The #PurpleRequestCommonParameters associated with this request, or
056a71665e06 Add a bunch of missing docs.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 40215
diff changeset
900 * %NULL if none is.
35397
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
901 *
40245
056a71665e06 Add a bunch of missing docs.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 40215
diff changeset
902 * A wrapper for purple_notify_message() that displays an information message.
5437
4bd5c5d271e6 [gaim-migrate @ 5819]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
903 */
34449
bbcb198650b7 Notify API: extend purple_notify_message with PurpleRequestCommonParameters
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents: 32787
diff changeset
904 #define purple_notify_info(handle, title, primary, secondary, cpar) \
15884
4de1981757fc sed -ie 's/gaim/purple/g'
Sean Egan <seanegan@pidgin.im>
parents: 15435
diff changeset
905 purple_notify_message((handle), PURPLE_NOTIFY_MSG_INFO, (title), \
34449
bbcb198650b7 Notify API: extend purple_notify_message with PurpleRequestCommonParameters
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents: 32787
diff changeset
906 (primary), (secondary), (cpar), NULL, NULL)
5437
4bd5c5d271e6 [gaim-migrate @ 5819]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
907
4bd5c5d271e6 [gaim-migrate @ 5819]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
908 /**
35397
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
909 * purple_notify_warning:
40245
056a71665e06 Add a bunch of missing docs.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 40215
diff changeset
910 * @handle: The plugin or connection handle.
056a71665e06 Add a bunch of missing docs.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 40215
diff changeset
911 * @title: The title of the message.
056a71665e06 Add a bunch of missing docs.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 40215
diff changeset
912 * @primary: The main point of the message.
056a71665e06 Add a bunch of missing docs.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 40215
diff changeset
913 * @secondary: The secondary information.
056a71665e06 Add a bunch of missing docs.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 40215
diff changeset
914 * @cpar: The #PurpleRequestCommonParameters associated with this request, or
056a71665e06 Add a bunch of missing docs.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 40215
diff changeset
915 * %NULL if none is.
35397
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
916 *
40245
056a71665e06 Add a bunch of missing docs.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 40215
diff changeset
917 * A wrapper for purple_notify_message() that displays a warning message.
5437
4bd5c5d271e6 [gaim-migrate @ 5819]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
918 */
34449
bbcb198650b7 Notify API: extend purple_notify_message with PurpleRequestCommonParameters
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents: 32787
diff changeset
919 #define purple_notify_warning(handle, title, primary, secondary, cpar) \
15884
4de1981757fc sed -ie 's/gaim/purple/g'
Sean Egan <seanegan@pidgin.im>
parents: 15435
diff changeset
920 purple_notify_message((handle), PURPLE_NOTIFY_MSG_WARNING, (title), \
34449
bbcb198650b7 Notify API: extend purple_notify_message with PurpleRequestCommonParameters
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents: 32787
diff changeset
921 (primary), (secondary), (cpar), NULL, NULL)
5437
4bd5c5d271e6 [gaim-migrate @ 5819]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
922
4bd5c5d271e6 [gaim-migrate @ 5819]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
923 /**
35397
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
924 * purple_notify_error:
40245
056a71665e06 Add a bunch of missing docs.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 40215
diff changeset
925 * @handle: The plugin or connection handle.
056a71665e06 Add a bunch of missing docs.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 40215
diff changeset
926 * @title: The title of the message.
056a71665e06 Add a bunch of missing docs.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 40215
diff changeset
927 * @primary: The main point of the message.
056a71665e06 Add a bunch of missing docs.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 40215
diff changeset
928 * @secondary: The secondary information.
056a71665e06 Add a bunch of missing docs.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 40215
diff changeset
929 * @cpar: The #PurpleRequestCommonParameters associated with this request, or
056a71665e06 Add a bunch of missing docs.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 40215
diff changeset
930 * %NULL if none is.
35397
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
931 *
40245
056a71665e06 Add a bunch of missing docs.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 40215
diff changeset
932 * A wrapper for purple_notify_message() that displays an error message.
5437
4bd5c5d271e6 [gaim-migrate @ 5819]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
933 */
34449
bbcb198650b7 Notify API: extend purple_notify_message with PurpleRequestCommonParameters
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents: 32787
diff changeset
934 #define purple_notify_error(handle, title, primary, secondary, cpar) \
15884
4de1981757fc sed -ie 's/gaim/purple/g'
Sean Egan <seanegan@pidgin.im>
parents: 15435
diff changeset
935 purple_notify_message((handle), PURPLE_NOTIFY_MSG_ERROR, (title), \
34449
bbcb198650b7 Notify API: extend purple_notify_message with PurpleRequestCommonParameters
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents: 32787
diff changeset
936 (primary), (secondary), (cpar), NULL, NULL)
5437
4bd5c5d271e6 [gaim-migrate @ 5819]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
937
4bd5c5d271e6 [gaim-migrate @ 5819]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
938 /**************************************************************************/
35472
474e26199560 Removed @name
Ankit Vani <a@nevitus.org>
parents: 35467
diff changeset
939 /* UI Registration Functions */
5437
4bd5c5d271e6 [gaim-migrate @ 5819]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
940 /**************************************************************************/
4bd5c5d271e6 [gaim-migrate @ 5819]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
941
4bd5c5d271e6 [gaim-migrate @ 5819]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
942 /**
35572
5c4846317f2f Box the *UiOps structures
Ankit Vani <a@nevitus.org>
parents: 35487
diff changeset
943 * purple_notify_ui_ops_get_type:
5c4846317f2f Box the *UiOps structures
Ankit Vani <a@nevitus.org>
parents: 35487
diff changeset
944 *
5c4846317f2f Box the *UiOps structures
Ankit Vani <a@nevitus.org>
parents: 35487
diff changeset
945 * Returns: The #GType for the #PurpleNotifyUiOps boxed structure.
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
946 *
090b03385984 Add Since and symbol visibility to new-in-3.0 things
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents: 42387
diff changeset
947 * Since: 3.0.0
35572
5c4846317f2f Box the *UiOps structures
Ankit Vani <a@nevitus.org>
parents: 35487
diff changeset
948 */
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
949 PURPLE_AVAILABLE_IN_3_0
35572
5c4846317f2f Box the *UiOps structures
Ankit Vani <a@nevitus.org>
parents: 35487
diff changeset
950 GType purple_notify_ui_ops_get_type(void);
5c4846317f2f Box the *UiOps structures
Ankit Vani <a@nevitus.org>
parents: 35487
diff changeset
951
5c4846317f2f Box the *UiOps structures
Ankit Vani <a@nevitus.org>
parents: 35487
diff changeset
952 /**
35397
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
953 * purple_notify_set_ui_ops:
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
954 * @ops: The UI operations structure.
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
955 *
5437
4bd5c5d271e6 [gaim-migrate @ 5819]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
956 * Sets the UI operations structure to be used when displaying a
4bd5c5d271e6 [gaim-migrate @ 5819]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
957 * notification.
42416
d14854b4421f Make sure all of the notify API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents: 42396
diff changeset
958 *
d14854b4421f Make sure all of the notify API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents: 42396
diff changeset
959 * Since: 2.0.0
5437
4bd5c5d271e6 [gaim-migrate @ 5819]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
960 */
42416
d14854b4421f Make sure all of the notify API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents: 42396
diff changeset
961 PURPLE_AVAILABLE_IN_ALL
15884
4de1981757fc sed -ie 's/gaim/purple/g'
Sean Egan <seanegan@pidgin.im>
parents: 15435
diff changeset
962 void purple_notify_set_ui_ops(PurpleNotifyUiOps *ops);
5437
4bd5c5d271e6 [gaim-migrate @ 5819]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
963
4bd5c5d271e6 [gaim-migrate @ 5819]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
964 /**
35397
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
965 * purple_notify_get_ui_ops:
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
966 *
5437
4bd5c5d271e6 [gaim-migrate @ 5819]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
967 * Returns the UI operations structure to be used when displaying a
4bd5c5d271e6 [gaim-migrate @ 5819]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
968 * notification.
4bd5c5d271e6 [gaim-migrate @ 5819]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
969 *
35393
00f876b129bc Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents: 35024
diff changeset
970 * Returns: The UI operations structure.
42416
d14854b4421f Make sure all of the notify API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents: 42396
diff changeset
971 *
d14854b4421f Make sure all of the notify API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents: 42396
diff changeset
972 * Since: 2.0.0
5437
4bd5c5d271e6 [gaim-migrate @ 5819]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
973 */
42416
d14854b4421f Make sure all of the notify API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents: 42396
diff changeset
974 PURPLE_AVAILABLE_IN_ALL
15884
4de1981757fc sed -ie 's/gaim/purple/g'
Sean Egan <seanegan@pidgin.im>
parents: 15435
diff changeset
975 PurpleNotifyUiOps *purple_notify_get_ui_ops(void);
5944
f19df037ac58 [gaim-migrate @ 6385]
Christian Hammond <chipx86@chipx86.com>
parents: 5522
diff changeset
976
12129
314cd0274e6a [gaim-migrate @ 14429]
Ka-Hing Cheung <khc@pidgin.im>
parents: 11533
diff changeset
977 /**************************************************************************/
35472
474e26199560 Removed @name
Ankit Vani <a@nevitus.org>
parents: 35467
diff changeset
978 /* Notify Subsystem */
12129
314cd0274e6a [gaim-migrate @ 14429]
Ka-Hing Cheung <khc@pidgin.im>
parents: 11533
diff changeset
979 /**************************************************************************/
314cd0274e6a [gaim-migrate @ 14429]
Ka-Hing Cheung <khc@pidgin.im>
parents: 11533
diff changeset
980
314cd0274e6a [gaim-migrate @ 14429]
Ka-Hing Cheung <khc@pidgin.im>
parents: 11533
diff changeset
981 /**
35397
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
982 * purple_notify_init:
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
983 *
12129
314cd0274e6a [gaim-migrate @ 14429]
Ka-Hing Cheung <khc@pidgin.im>
parents: 11533
diff changeset
984 * Initializes the notify subsystem.
42416
d14854b4421f Make sure all of the notify API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents: 42396
diff changeset
985 *
d14854b4421f Make sure all of the notify API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents: 42396
diff changeset
986 * Since: 2.0.0
12129
314cd0274e6a [gaim-migrate @ 14429]
Ka-Hing Cheung <khc@pidgin.im>
parents: 11533
diff changeset
987 */
42416
d14854b4421f Make sure all of the notify API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents: 42396
diff changeset
988 PURPLE_AVAILABLE_IN_ALL
15884
4de1981757fc sed -ie 's/gaim/purple/g'
Sean Egan <seanegan@pidgin.im>
parents: 15435
diff changeset
989 void purple_notify_init(void);
12129
314cd0274e6a [gaim-migrate @ 14429]
Ka-Hing Cheung <khc@pidgin.im>
parents: 11533
diff changeset
990
314cd0274e6a [gaim-migrate @ 14429]
Ka-Hing Cheung <khc@pidgin.im>
parents: 11533
diff changeset
991 /**
35397
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
992 * purple_notify_uninit:
31fa3a1aeff5 Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents: 35394
diff changeset
993 *
12129
314cd0274e6a [gaim-migrate @ 14429]
Ka-Hing Cheung <khc@pidgin.im>
parents: 11533
diff changeset
994 * Uninitializes the notify subsystem.
42416
d14854b4421f Make sure all of the notify API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents: 42396
diff changeset
995 *
d14854b4421f Make sure all of the notify API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents: 42396
diff changeset
996 * Since: 2.0.0
12129
314cd0274e6a [gaim-migrate @ 14429]
Ka-Hing Cheung <khc@pidgin.im>
parents: 11533
diff changeset
997 */
42416
d14854b4421f Make sure all of the notify API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents: 42396
diff changeset
998 PURPLE_AVAILABLE_IN_ALL
15884
4de1981757fc sed -ie 's/gaim/purple/g'
Sean Egan <seanegan@pidgin.im>
parents: 15435
diff changeset
999 void purple_notify_uninit(void);
12129
314cd0274e6a [gaim-migrate @ 14429]
Ka-Hing Cheung <khc@pidgin.im>
parents: 11533
diff changeset
1000
314cd0274e6a [gaim-migrate @ 14429]
Ka-Hing Cheung <khc@pidgin.im>
parents: 11533
diff changeset
1001
32787
7072f190d6ad Use G_BEGIN/END_DECLS in public libpurple files. This was
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32691
diff changeset
1002 G_END_DECLS
5944
f19df037ac58 [gaim-migrate @ 6385]
Christian Hammond <chipx86@chipx86.com>
parents: 5522
diff changeset
1003
39659
e4dfb99b0cef Fix libpurple header guards using reserved names.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 39026
diff changeset
1004 #endif /* PURPLE_NOTIFY_H */

mercurial