Mon, 12 Dec 2022 23:38:47 -0600
Create PurpleAvatar to represent avatars
Testing Done:
Ran the unit tests and manually verified the docs.
Reviewed at https://reviews.imfreedom.org/r/2092/
|
20147
66f05a854eee
applied changes from 8a731bbd0197fbcc91a705c2d8f528154216defa
Richard Laager <rlaager@pidgin.im>
parents:
19868
diff
changeset
|
1 | /* purple |
| 5437 | 2 | * |
| 15884 | 3 | * Purple is the legal property of its developers, whose names are too numerous |
| 8046 | 4 | * to list here. Please refer to the COPYRIGHT file distributed with this |
| 5 | * source distribution. | |
|
6465
bd201d637ff4
[gaim-migrate @ 6974]
Christian Hammond <chipx86@chipx86.com>
parents:
6381
diff
changeset
|
6 | * |
| 5437 | 7 | * This program is free software; you can redistribute it and/or modify |
| 8 | * it under the terms of the GNU General Public License as published by | |
| 9 | * the Free Software Foundation; either version 2 of the License, or | |
| 10 | * (at your option) any later version. | |
| 11 | * | |
| 12 | * This program is distributed in the hope that it will be useful, | |
| 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 15 | * GNU General Public License for more details. | |
| 16 | * | |
| 17 | * You should have received a copy of the GNU General Public License | |
| 18 | * along with this program; if not, write to the Free Software | |
|
19859
71d37b57eff2
The FSF changed its address a while ago; our files were out of date.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
18412
diff
changeset
|
19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA |
| 5437 | 20 | */ |
|
35487
494f09f7f331
Move section blocks inside inclusion guards -- otherwise g-ir-scanner yells
Ankit Vani <a@nevitus.org>
parents:
35486
diff
changeset
|
21 | |
|
40474
1341be8e3402
Make it so only libpurple can directly include libpurple header files.
Gary Kramlich <grim@reaperworld.com>
parents:
40245
diff
changeset
|
22 | #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
|
23 | # 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
|
24 | #endif |
|
1341be8e3402
Make it so only libpurple can directly include libpurple header files.
Gary Kramlich <grim@reaperworld.com>
parents:
40245
diff
changeset
|
25 | |
|
39659
e4dfb99b0cef
Fix libpurple header guards using reserved names.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
39026
diff
changeset
|
26 | #ifndef PURPLE_NOTIFY_H |
|
e4dfb99b0cef
Fix libpurple header guards using reserved names.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
39026
diff
changeset
|
27 | #define PURPLE_NOTIFY_H |
|
35440
467bb21b82a1
Add section blocks for debug.h to prpl.h
Ankit Vani <a@nevitus.org>
parents:
35397
diff
changeset
|
28 | |
| 5437 | 29 | #include <stdlib.h> |
| 30 | #include <glib-object.h> | |
| 31 | #include <glib.h> | |
| 32 | ||
| 15884 | 33 | typedef struct _PurpleNotifyUserInfoEntry PurpleNotifyUserInfoEntry; |
|
34793
07f8ceb4e690
Added GBoxed for PurpleNotifyUserInfo
Ankit Vani <a@nevitus.org>
parents:
32787
diff
changeset
|
34 | |
|
07f8ceb4e690
Added GBoxed for PurpleNotifyUserInfo
Ankit Vani <a@nevitus.org>
parents:
32787
diff
changeset
|
35 | #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
|
36 | typedef struct _PurpleNotifyUserInfo PurpleNotifyUserInfo; |
|
34793
07f8ceb4e690
Added GBoxed for PurpleNotifyUserInfo
Ankit Vani <a@nevitus.org>
parents:
32787
diff
changeset
|
37 | |
|
37410
fd7447005dea
Convert PurpleNotifySearchButton to a GBoxed type
Jorge Villaseñor <salinasv@pidgin.im>
parents:
37409
diff
changeset
|
38 | #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
|
39 | typedef struct _PurpleNotifySearchButton PurpleNotifySearchButton; |
|
fd7447005dea
Convert PurpleNotifySearchButton to a GBoxed type
Jorge Villaseñor <salinasv@pidgin.im>
parents:
37409
diff
changeset
|
40 | |
|
35397
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
41 | /** |
|
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
42 | * PurpleNotifySearchColumn: |
|
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
43 | * |
|
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
44 | * 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
|
45 | */ |
|
32691
d6eb58903f8b
Hide struct PurpleNotifySearchColumn.
Andrew Victor <andrew.victor@mxit.com>
parents:
32604
diff
changeset
|
46 | typedef struct _PurpleNotifySearchColumn PurpleNotifySearchColumn; |
|
15205
f642029b2f97
[gaim-migrate @ 17929]
Evan Schoenberg <evands@pidgin.im>
parents:
14254
diff
changeset
|
47 | |
| 9797 | 48 | #include "connection.h" |
|
34449
bbcb198650b7
Notify API: extend purple_notify_message with PurpleRequestCommonParameters
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
32787
diff
changeset
|
49 | #include "request.h" |
| 9797 | 50 | |
|
35467
975ae62dd895
Fix cross-references and some other warnings
Ankit Vani <a@nevitus.org>
parents:
35462
diff
changeset
|
51 | typedef struct _PurpleNotifySearchResults PurpleNotifySearchResults; |
|
975ae62dd895
Fix cross-references and some other warnings
Ankit Vani <a@nevitus.org>
parents:
35462
diff
changeset
|
52 | |
| 35572 | 53 | #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
|
54 | typedef struct _PurpleNotifyUiOps PurpleNotifyUiOps; |
|
32691
d6eb58903f8b
Hide struct PurpleNotifySearchColumn.
Andrew Victor <andrew.victor@mxit.com>
parents:
32604
diff
changeset
|
55 | |
| 5437 | 56 | /** |
|
35397
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
57 | * PurpleNotifyCloseCallback: |
|
40827
ea25e596b1d4
Clean up some random gtk-doc warnings in libpurple's documentation
Gary Kramlich <grim@reaperworld.com>
parents:
40474
diff
changeset
|
58 | * @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
|
59 | * |
|
12242
e7fc1748eb56
[gaim-migrate @ 14544]
Richard Laager <rlaager@pidgin.im>
parents:
12220
diff
changeset
|
60 | * Notification close callbacks. |
|
e7fc1748eb56
[gaim-migrate @ 14544]
Richard Laager <rlaager@pidgin.im>
parents:
12220
diff
changeset
|
61 | */ |
| 15884 | 62 | typedef void (*PurpleNotifyCloseCallback) (gpointer user_data); |
|
12242
e7fc1748eb56
[gaim-migrate @ 14544]
Richard Laager <rlaager@pidgin.im>
parents:
12220
diff
changeset
|
63 | |
|
12624
c1c92f08976b
[gaim-migrate @ 14960]
Christopher O'Brien <siege@pidgin.im>
parents:
12323
diff
changeset
|
64 | |
|
12242
e7fc1748eb56
[gaim-migrate @ 14544]
Richard Laager <rlaager@pidgin.im>
parents:
12220
diff
changeset
|
65 | /** |
|
35397
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
66 | * PurpleNotifyType: |
|
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
67 | * @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
|
68 | * @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
|
69 | * @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
|
70 | * @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
|
71 | * @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
|
72 | * |
| 5437 | 73 | * Notification types. |
| 74 | */ | |
| 75 | typedef enum | |
| 76 | { | |
|
35397
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
77 | PURPLE_NOTIFY_MESSAGE = 0, |
|
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
78 | PURPLE_NOTIFY_FORMATTED, |
|
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
79 | PURPLE_NOTIFY_SEARCHRESULTS, |
|
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
80 | PURPLE_NOTIFY_USERINFO, |
|
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
81 | PURPLE_NOTIFY_URI |
| 15884 | 82 | } PurpleNotifyType; |
| 5437 | 83 | |
|
12624
c1c92f08976b
[gaim-migrate @ 14960]
Christopher O'Brien <siege@pidgin.im>
parents:
12323
diff
changeset
|
84 | |
| 5437 | 85 | /** |
|
37409
9dadde8529a8
Change enum name from PurpleNotifyMsgType to PurpleNotifyMessageType
Jorge Villaseñor <salinasv@pidgin.im>
parents:
37131
diff
changeset
|
86 | * PurpleNotifyMessageType: |
|
35397
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
87 | * @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
|
88 | * @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
|
89 | * @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
|
90 | * |
| 5437 | 91 | * Notification message types. |
| 92 | */ | |
| 93 | typedef enum | |
| 94 | { | |
|
35397
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
95 | 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
|
96 | PURPLE_NOTIFY_MSG_WARNING, |
|
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
97 | PURPLE_NOTIFY_MSG_INFO |
| 5437 | 98 | |
|
37409
9dadde8529a8
Change enum name from PurpleNotifyMsgType to PurpleNotifyMessageType
Jorge Villaseñor <salinasv@pidgin.im>
parents:
37131
diff
changeset
|
99 | } PurpleNotifyMessageType; |
| 5437 | 100 | |
|
12624
c1c92f08976b
[gaim-migrate @ 14960]
Christopher O'Brien <siege@pidgin.im>
parents:
12323
diff
changeset
|
101 | |
| 5437 | 102 | /** |
|
35397
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
103 | * PurpleNotifySearchButtonType: |
|
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
104 | * @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
|
105 | * 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
|
106 | * @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
|
107 | * @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
|
108 | * @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
|
109 | * @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
|
110 | * @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
|
111 | * @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
|
112 | * |
|
40827
ea25e596b1d4
Clean up some random gtk-doc warnings in libpurple's documentation
Gary Kramlich <grim@reaperworld.com>
parents:
40474
diff
changeset
|
113 | * 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
|
114 | * 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
|
115 | * button. |
| 11359 | 116 | */ |
| 117 | typedef enum | |
| 118 | { | |
|
35397
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
119 | PURPLE_NOTIFY_BUTTON_LABELED = 0, |
| 15884 | 120 | PURPLE_NOTIFY_BUTTON_CONTINUE = 1, |
| 121 | PURPLE_NOTIFY_BUTTON_ADD, | |
| 122 | PURPLE_NOTIFY_BUTTON_INFO, | |
| 123 | PURPLE_NOTIFY_BUTTON_IM, | |
| 124 | PURPLE_NOTIFY_BUTTON_JOIN, | |
| 125 | PURPLE_NOTIFY_BUTTON_INVITE | |
| 126 | } PurpleNotifySearchButtonType; | |
| 11359 | 127 | |
| 128 | ||
| 129 | /** | |
|
35397
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
130 | * PurpleNotifySearchResults: |
|
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
131 | * @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
|
132 | * @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
|
133 | * @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
|
134 | * |
| 11359 | 135 | * Search results object. |
| 136 | */ | |
|
35467
975ae62dd895
Fix cross-references and some other warnings
Ankit Vani <a@nevitus.org>
parents:
35462
diff
changeset
|
137 | struct _PurpleNotifySearchResults |
| 11359 | 138 | { |
|
35397
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
139 | GList *columns; |
|
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
140 | GList *rows; |
|
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
141 | GList *buttons; |
| 11359 | 142 | |
|
35467
975ae62dd895
Fix cross-references and some other warnings
Ankit Vani <a@nevitus.org>
parents:
35462
diff
changeset
|
143 | }; |
| 11359 | 144 | |
|
15211
bb75b7bc10a8
[gaim-migrate @ 17935]
Evan Schoenberg <evands@pidgin.im>
parents:
15205
diff
changeset
|
145 | /** |
|
35397
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
146 | * PurpleNotifyUserInfoEntryType: |
|
40827
ea25e596b1d4
Clean up some random gtk-doc warnings in libpurple's documentation
Gary Kramlich <grim@reaperworld.com>
parents:
40474
diff
changeset
|
147 | * @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
|
148 | * @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
|
149 | * @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
|
150 | * current section. |
|
35397
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
151 | * |
| 15884 | 152 | * Types of PurpleNotifyUserInfoEntry objects |
|
15211
bb75b7bc10a8
[gaim-migrate @ 17935]
Evan Schoenberg <evands@pidgin.im>
parents:
15205
diff
changeset
|
153 | */ |
|
bb75b7bc10a8
[gaim-migrate @ 17935]
Evan Schoenberg <evands@pidgin.im>
parents:
15205
diff
changeset
|
154 | typedef enum |
|
bb75b7bc10a8
[gaim-migrate @ 17935]
Evan Schoenberg <evands@pidgin.im>
parents:
15205
diff
changeset
|
155 | { |
| 15884 | 156 | PURPLE_NOTIFY_USER_INFO_ENTRY_PAIR = 0, |
| 157 | PURPLE_NOTIFY_USER_INFO_ENTRY_SECTION_BREAK, | |
| 158 | PURPLE_NOTIFY_USER_INFO_ENTRY_SECTION_HEADER | |
| 159 | } PurpleNotifyUserInfoEntryType; | |
|
12624
c1c92f08976b
[gaim-migrate @ 14960]
Christopher O'Brien <siege@pidgin.im>
parents:
12323
diff
changeset
|
160 | |
| 11359 | 161 | |
|
12624
c1c92f08976b
[gaim-migrate @ 14960]
Christopher O'Brien <siege@pidgin.im>
parents:
12323
diff
changeset
|
162 | |
|
c1c92f08976b
[gaim-migrate @ 14960]
Christopher O'Brien <siege@pidgin.im>
parents:
12323
diff
changeset
|
163 | /** |
|
35397
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
164 | * PurpleNotifySearchResultsCallback: |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35024
diff
changeset
|
165 | * @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
|
166 | * @row: the contents of the selected row |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35024
diff
changeset
|
167 | * @user_data: User defined data. |
|
12624
c1c92f08976b
[gaim-migrate @ 14960]
Christopher O'Brien <siege@pidgin.im>
parents:
12323
diff
changeset
|
168 | * |
|
35397
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
169 | * Callback for a button in a search result. |
|
12624
c1c92f08976b
[gaim-migrate @ 14960]
Christopher O'Brien <siege@pidgin.im>
parents:
12323
diff
changeset
|
170 | */ |
| 15884 | 171 | typedef void (*PurpleNotifySearchResultsCallback)(PurpleConnection *c, GList *row, |
| 13641 | 172 | gpointer user_data); |
| 11359 | 173 | |
| 174 | ||
| 175 | /** | |
|
35397
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
176 | * PurpleNotifySearchButton: |
|
37410
fd7447005dea
Convert PurpleNotifySearchButton to a GBoxed type
Jorge Villaseñor <salinasv@pidgin.im>
parents:
37409
diff
changeset
|
177 | * @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
|
178 | * @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
|
179 | * @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
|
180 | * |
| 11359 | 181 | * Definition of a button. |
| 182 | */ | |
|
37410
fd7447005dea
Convert PurpleNotifySearchButton to a GBoxed type
Jorge Villaseñor <salinasv@pidgin.im>
parents:
37409
diff
changeset
|
183 | struct _PurpleNotifySearchButton |
| 11359 | 184 | { |
| 15884 | 185 | PurpleNotifySearchButtonType type; |
|
35397
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
186 | PurpleNotifySearchResultsCallback callback; |
|
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
187 | char *label; |
|
37410
fd7447005dea
Convert PurpleNotifySearchButton to a GBoxed type
Jorge Villaseñor <salinasv@pidgin.im>
parents:
37409
diff
changeset
|
188 | }; |
| 11359 | 189 | |
| 190 | /** | |
|
35397
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
191 | * PurpleNotifyUiOps: |
|
40245
056a71665e06
Add a bunch of missing docs.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
40215
diff
changeset
|
192 | * @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
|
193 | * @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
|
194 | * @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
|
195 | * @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
|
196 | * purple_notify_searchresults_new_rows(). |
|
056a71665e06
Add a bunch of missing docs.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
40215
diff
changeset
|
197 | * @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
|
198 | * @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
|
199 | * @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
|
200 | * 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
|
201 | * |
| 5437 | 202 | * Notification UI operations. |
| 203 | */ | |
|
35467
975ae62dd895
Fix cross-references and some other warnings
Ankit Vani <a@nevitus.org>
parents:
35462
diff
changeset
|
204 | struct _PurpleNotifyUiOps |
| 5437 | 205 | { |
|
37409
9dadde8529a8
Change enum name from PurpleNotifyMsgType to PurpleNotifyMessageType
Jorge Villaseñor <salinasv@pidgin.im>
parents:
37131
diff
changeset
|
206 | 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
|
207 | const char *primary, const char *secondary, |
|
bbcb198650b7
Notify API: extend purple_notify_message with PurpleRequestCommonParameters
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
32787
diff
changeset
|
208 | PurpleRequestCommonParameters *cpar); |
|
12624
c1c92f08976b
[gaim-migrate @ 14960]
Christopher O'Brien <siege@pidgin.im>
parents:
12323
diff
changeset
|
209 | |
|
6381
53203c44c731
[gaim-migrate @ 6886]
Christian Hammond <chipx86@chipx86.com>
parents:
6356
diff
changeset
|
210 | void *(*notify_formatted)(const char *title, const char *primary, |
|
12624
c1c92f08976b
[gaim-migrate @ 14960]
Christopher O'Brien <siege@pidgin.im>
parents:
12323
diff
changeset
|
211 | const char *secondary, const char *text); |
|
c1c92f08976b
[gaim-migrate @ 14960]
Christopher O'Brien <siege@pidgin.im>
parents:
12323
diff
changeset
|
212 | |
| 15884 | 213 | void *(*notify_searchresults)(PurpleConnection *gc, const char *title, |
|
12624
c1c92f08976b
[gaim-migrate @ 14960]
Christopher O'Brien <siege@pidgin.im>
parents:
12323
diff
changeset
|
214 | const char *primary, const char *secondary, |
| 15884 | 215 | PurpleNotifySearchResults *results, gpointer user_data); |
|
12624
c1c92f08976b
[gaim-migrate @ 14960]
Christopher O'Brien <siege@pidgin.im>
parents:
12323
diff
changeset
|
216 | |
| 15884 | 217 | void (*notify_searchresults_new_rows)(PurpleConnection *gc, |
| 218 | PurpleNotifySearchResults *results, | |
| 13641 | 219 | void *data); |
|
12624
c1c92f08976b
[gaim-migrate @ 14960]
Christopher O'Brien <siege@pidgin.im>
parents:
12323
diff
changeset
|
220 | |
| 15884 | 221 | void *(*notify_userinfo)(PurpleConnection *gc, const char *who, |
| 222 | PurpleNotifyUserInfo *user_info); | |
|
12624
c1c92f08976b
[gaim-migrate @ 14960]
Christopher O'Brien <siege@pidgin.im>
parents:
12323
diff
changeset
|
223 | |
|
10240
09342bc554d9
[gaim-migrate @ 11377]
Herman Bloggs <herman@bluedigits.com>
parents:
10209
diff
changeset
|
224 | void *(*notify_uri)(const char *uri); |
| 5437 | 225 | |
| 15884 | 226 | void (*close_notify)(PurpleNotifyType type, void *ui_handle); |
| 5437 | 227 | |
|
35024
eb3afb7643ce
Added /*< private >*/ for padding members, clean them up and add missing ones
Ankit Vani <a@nevitus.org>
parents:
34956
diff
changeset
|
228 | /*< private >*/ |
|
16743
1ce5ffe12e2a
Initial addition of padding for ui_ops and other class-like structs
Gary Kramlich <grim@reaperworld.com>
parents:
15997
diff
changeset
|
229 | 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
|
230 | 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
|
231 | 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
|
232 | void (*_purple_reserved4)(void); |
|
35467
975ae62dd895
Fix cross-references and some other warnings
Ankit Vani <a@nevitus.org>
parents:
35462
diff
changeset
|
233 | }; |
| 5437 | 234 | |
|
12624
c1c92f08976b
[gaim-migrate @ 14960]
Christopher O'Brien <siege@pidgin.im>
parents:
12323
diff
changeset
|
235 | |
|
32787
7072f190d6ad
Use G_BEGIN/END_DECLS in public libpurple files. This was
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32691
diff
changeset
|
236 | G_BEGIN_DECLS |
|
5944
f19df037ac58
[gaim-migrate @ 6385]
Christian Hammond <chipx86@chipx86.com>
parents:
5522
diff
changeset
|
237 | |
|
12624
c1c92f08976b
[gaim-migrate @ 14960]
Christopher O'Brien <siege@pidgin.im>
parents:
12323
diff
changeset
|
238 | |
| 5437 | 239 | /**************************************************************************/ |
|
39026
feb9db80ec7c
doc: Remove invalid GTK-Doc annotations
Mike Ruprecht <cmaiku@gmail.com>
parents:
38716
diff
changeset
|
240 | /* Search results notification API */ |
| 11359 | 241 | /**************************************************************************/ |
| 242 | ||
| 243 | /** | |
|
35397
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
244 | * purple_notify_searchresults: |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35024
diff
changeset
|
245 | * @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
|
246 | * @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
|
247 | * will be "Search Results." |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35024
diff
changeset
|
248 | * @primary: The main point of the message. |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35024
diff
changeset
|
249 | * @secondary: The secondary information. |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35024
diff
changeset
|
250 | * @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
|
251 | * @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
|
252 | * the notification. |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35024
diff
changeset
|
253 | * @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
|
254 | * callback associated with a button. |
| 11359 | 255 | * |
| 256 | * Displays results from a buddy search. This can be, for example, | |
| 257 | * a window with a list of all found buddies, where you are given the | |
| 258 | * option of adding buddies to your buddy list. | |
| 259 | * | |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35024
diff
changeset
|
260 | * Returns: A UI-specific handle. |
| 11359 | 261 | */ |
| 15884 | 262 | void *purple_notify_searchresults(PurpleConnection *gc, const char *title, |
| 11359 | 263 | const char *primary, const char *secondary, |
| 15884 | 264 | PurpleNotifySearchResults *results, PurpleNotifyCloseCallback cb, |
| 12220 | 265 | gpointer user_data); |
| 11359 | 266 | |
|
19868
af326d8f70b1
This function wasn't documented in the Doxygen stuff. If I've documented
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
19859
diff
changeset
|
267 | /** |
|
35397
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
268 | * purple_notify_searchresults_free: |
|
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
269 | * @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
|
270 | * |
|
35397
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
271 | * Frees a PurpleNotifySearchResults object. |
|
19868
af326d8f70b1
This function wasn't documented in the Doxygen stuff. If I've documented
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
19859
diff
changeset
|
272 | */ |
| 15884 | 273 | void purple_notify_searchresults_free(PurpleNotifySearchResults *results); |
| 11359 | 274 | |
| 275 | /** | |
|
35397
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
276 | * purple_notify_searchresults_new_rows: |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35024
diff
changeset
|
277 | * @gc: The PurpleConnection structure. |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35024
diff
changeset
|
278 | * @results: The PurpleNotifySearchResults structure. |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35024
diff
changeset
|
279 | * @data: Data returned by the purple_notify_searchresults(). |
| 11359 | 280 | * |
|
35397
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
281 | * Replace old rows with the new. Reuse an existing window. |
| 11359 | 282 | */ |
| 15884 | 283 | void purple_notify_searchresults_new_rows(PurpleConnection *gc, |
| 284 | PurpleNotifySearchResults *results, | |
| 13641 | 285 | void *data); |
| 11359 | 286 | |
|
12624
c1c92f08976b
[gaim-migrate @ 14960]
Christopher O'Brien <siege@pidgin.im>
parents:
12323
diff
changeset
|
287 | |
| 11359 | 288 | /** |
|
35397
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
289 | * purple_notify_searchresults_button_add: |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35024
diff
changeset
|
290 | * @results: The search results object. |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35024
diff
changeset
|
291 | * @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
|
292 | * can be displayed.) |
|
65c1912ee2c8
Add (scope) annotation to callback parameters (account.h to proxy.h)
Ankit Vani <a@nevitus.org>
parents:
35572
diff
changeset
|
293 | * @cb: (scope call): Function that will be called on the click event. |
| 11359 | 294 | * |
|
35397
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
295 | * Adds a stock button that will be displayed in the search results dialog. |
| 11359 | 296 | */ |
| 15884 | 297 | void purple_notify_searchresults_button_add(PurpleNotifySearchResults *results, |
| 298 | PurpleNotifySearchButtonType type, | |
| 299 | PurpleNotifySearchResultsCallback cb); | |
| 11359 | 300 | |
|
12624
c1c92f08976b
[gaim-migrate @ 14960]
Christopher O'Brien <siege@pidgin.im>
parents:
12323
diff
changeset
|
301 | |
|
c1c92f08976b
[gaim-migrate @ 14960]
Christopher O'Brien <siege@pidgin.im>
parents:
12323
diff
changeset
|
302 | /** |
|
35397
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
303 | * purple_notify_searchresults_button_add_labeled: |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35024
diff
changeset
|
304 | * @results: The search results object |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35024
diff
changeset
|
305 | * @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
|
306 | * @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
|
307 | * |
|
24702
55805ee6a45b
Remove stray whitespace and wrap the function comments at less than 80
Mark Doliner <markdoliner@pidgin.im>
parents:
24569
diff
changeset
|
308 | * 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
|
309 | * dialog. |
|
12624
c1c92f08976b
[gaim-migrate @ 14960]
Christopher O'Brien <siege@pidgin.im>
parents:
12323
diff
changeset
|
310 | */ |
| 15884 | 311 | void purple_notify_searchresults_button_add_labeled(PurpleNotifySearchResults *results, |
|
12624
c1c92f08976b
[gaim-migrate @ 14960]
Christopher O'Brien <siege@pidgin.im>
parents:
12323
diff
changeset
|
312 | const char *label, |
| 15884 | 313 | PurpleNotifySearchResultsCallback cb); |
|
12624
c1c92f08976b
[gaim-migrate @ 14960]
Christopher O'Brien <siege@pidgin.im>
parents:
12323
diff
changeset
|
314 | |
|
c1c92f08976b
[gaim-migrate @ 14960]
Christopher O'Brien <siege@pidgin.im>
parents:
12323
diff
changeset
|
315 | |
| 11359 | 316 | /** |
|
35397
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
317 | * purple_notify_searchresults_new: |
|
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
318 | * |
| 11359 | 319 | * Returns a newly created search results object. |
| 320 | * | |
| 40188 | 321 | * Returns: (transfer full): The new search results object. |
| 11359 | 322 | */ |
| 15884 | 323 | PurpleNotifySearchResults *purple_notify_searchresults_new(void); |
| 11359 | 324 | |
| 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_column_new: |
|
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
327 | * @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
|
328 | * |
|
31698
12d88a8ea37d
Document the default explicitly
Paul Aurich <darkrain42@pidgin.im>
parents:
31696
diff
changeset
|
329 | * 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
|
330 | * to being visible. |
| 11359 | 331 | * |
| 40188 | 332 | * Returns: (transfer full): The new search column object. |
| 11359 | 333 | */ |
| 15884 | 334 | PurpleNotifySearchColumn *purple_notify_searchresults_column_new(const char *title); |
| 11359 | 335 | |
| 336 | /** | |
|
35397
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
337 | * 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
|
338 | * @column: The search column object. |
|
32691
d6eb58903f8b
Hide struct PurpleNotifySearchColumn.
Andrew Victor <andrew.victor@mxit.com>
parents:
32604
diff
changeset
|
339 | * |
|
d6eb58903f8b
Hide struct PurpleNotifySearchColumn.
Andrew Victor <andrew.victor@mxit.com>
parents:
32604
diff
changeset
|
340 | * Returns the title of the column |
|
d6eb58903f8b
Hide struct PurpleNotifySearchColumn.
Andrew Victor <andrew.victor@mxit.com>
parents:
32604
diff
changeset
|
341 | * |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35024
diff
changeset
|
342 | * 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
|
343 | * |
|
f7cf821e15de
Replace a bunch of entries in ChangeLog.API entries with Since annotations
Gary Kramlich <grim@reaperworld.com>
parents:
40188
diff
changeset
|
344 | * Since: 3.0.0 |
|
32691
d6eb58903f8b
Hide struct PurpleNotifySearchColumn.
Andrew Victor <andrew.victor@mxit.com>
parents:
32604
diff
changeset
|
345 | */ |
|
d6eb58903f8b
Hide struct PurpleNotifySearchColumn.
Andrew Victor <andrew.victor@mxit.com>
parents:
32604
diff
changeset
|
346 | 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
|
347 | |
|
d6eb58903f8b
Hide struct PurpleNotifySearchColumn.
Andrew Victor <andrew.victor@mxit.com>
parents:
32604
diff
changeset
|
348 | /** |
|
35397
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
349 | * purple_notify_searchresult_column_set_visible: |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35024
diff
changeset
|
350 | * @column: The search column object. |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35024
diff
changeset
|
351 | * @visible: TRUE if visible, or FALSE if not. |
| 31696 | 352 | * |
|
35397
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
353 | * 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
|
354 | * |
|
f7cf821e15de
Replace a bunch of entries in ChangeLog.API entries with Since annotations
Gary Kramlich <grim@reaperworld.com>
parents:
40188
diff
changeset
|
355 | * Since: 3.0.0 |
| 31696 | 356 | */ |
| 357 | void purple_notify_searchresult_column_set_visible(PurpleNotifySearchColumn *column, gboolean visible); | |
| 358 | ||
| 359 | /** | |
|
35397
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
360 | * 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
|
361 | * @column: The search column object. |
| 31696 | 362 | * |
| 363 | * Returns whether or not a search result column is visible. | |
| 364 | * | |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35024
diff
changeset
|
365 | * 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
|
366 | * |
|
f7cf821e15de
Replace a bunch of entries in ChangeLog.API entries with Since annotations
Gary Kramlich <grim@reaperworld.com>
parents:
40188
diff
changeset
|
367 | * Since: 3.0.0 |
| 31696 | 368 | */ |
| 369 | gboolean purple_notify_searchresult_column_is_visible(const PurpleNotifySearchColumn *column); | |
| 370 | ||
| 371 | /** | |
|
35397
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
372 | * purple_notify_searchresults_column_add: |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35024
diff
changeset
|
373 | * @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
|
374 | * @column: The column that will be added to the result object. |
| 11359 | 375 | * |
|
35397
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
376 | * Adds a new column to the search result object. |
| 11359 | 377 | */ |
| 15884 | 378 | void purple_notify_searchresults_column_add(PurpleNotifySearchResults *results, |
| 379 | PurpleNotifySearchColumn *column); | |
| 11359 | 380 | |
| 381 | /** | |
|
35397
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
382 | * purple_notify_searchresults_row_add: |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35024
diff
changeset
|
383 | * @results: The search results object. |
|
38716
b9bed228745a
Add many libpurple element-type annotations.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
37410
diff
changeset
|
384 | * @row: (element-type utf8) (transfer full): The row of the results. |
| 11359 | 385 | * |
|
35397
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
386 | * Adds a new row of the results to the search results object. |
| 11359 | 387 | */ |
| 15884 | 388 | void purple_notify_searchresults_row_add(PurpleNotifySearchResults *results, |
| 11359 | 389 | GList *row); |
|
25893
77f655480a0f
Slap some PURPLE_DISABLE_DEPRECATED checks around the functions Mark just
Richard Laager <rlaager@pidgin.im>
parents:
25890
diff
changeset
|
390 | |
| 11359 | 391 | /**************************************************************************/ |
| 35472 | 392 | /* Notification API */ |
| 5437 | 393 | /**************************************************************************/ |
| 394 | ||
| 395 | /** | |
|
35397
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
396 | * purple_notify_message: |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35024
diff
changeset
|
397 | * @handle: The plugin or connection handle. |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35024
diff
changeset
|
398 | * @type: The notification type. |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35024
diff
changeset
|
399 | * @title: The title of the message. |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35024
diff
changeset
|
400 | * @primary: The main point of the message. |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35024
diff
changeset
|
401 | * @secondary: The secondary information. |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35024
diff
changeset
|
402 | * @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
|
403 | * 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
|
404 | * @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
|
405 | * the notification. |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35024
diff
changeset
|
406 | * @user_data: The data to pass to the callback. |
| 5437 | 407 | * |
| 408 | * Displays a notification message to the user. | |
| 409 | * | |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35024
diff
changeset
|
410 | * Returns: A UI-specific handle. |
| 5437 | 411 | */ |
|
37409
9dadde8529a8
Change enum name from PurpleNotifyMsgType to PurpleNotifyMessageType
Jorge Villaseñor <salinasv@pidgin.im>
parents:
37131
diff
changeset
|
412 | void *purple_notify_message(void *handle, PurpleNotifyMessageType type, |
|
34449
bbcb198650b7
Notify API: extend purple_notify_message with PurpleRequestCommonParameters
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
32787
diff
changeset
|
413 | const char *title, const char *primary, const char *secondary, |
|
bbcb198650b7
Notify API: extend purple_notify_message with PurpleRequestCommonParameters
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
32787
diff
changeset
|
414 | PurpleRequestCommonParameters *cpar, PurpleNotifyCloseCallback cb, |
|
bbcb198650b7
Notify API: extend purple_notify_message with PurpleRequestCommonParameters
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
32787
diff
changeset
|
415 | gpointer user_data); |
| 5437 | 416 | |
| 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_formatted: |
|
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 | * @title: The title of the message. |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35024
diff
changeset
|
421 | * @primary: The main point of the message. |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35024
diff
changeset
|
422 | * @secondary: The secondary information. |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35024
diff
changeset
|
423 | * @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
|
424 | * @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
|
425 | * the notification. |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35024
diff
changeset
|
426 | * @user_data: The data to pass to the callback. |
|
6381
53203c44c731
[gaim-migrate @ 6886]
Christian Hammond <chipx86@chipx86.com>
parents:
6356
diff
changeset
|
427 | * |
|
53203c44c731
[gaim-migrate @ 6886]
Christian Hammond <chipx86@chipx86.com>
parents:
6356
diff
changeset
|
428 | * Displays a notification with formatted text. |
|
53203c44c731
[gaim-migrate @ 6886]
Christian Hammond <chipx86@chipx86.com>
parents:
6356
diff
changeset
|
429 | * |
|
53203c44c731
[gaim-migrate @ 6886]
Christian Hammond <chipx86@chipx86.com>
parents:
6356
diff
changeset
|
430 | * 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
|
431 | * IMs may send. |
|
53203c44c731
[gaim-migrate @ 6886]
Christian Hammond <chipx86@chipx86.com>
parents:
6356
diff
changeset
|
432 | * |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35024
diff
changeset
|
433 | * Returns: A UI-specific handle. |
|
6381
53203c44c731
[gaim-migrate @ 6886]
Christian Hammond <chipx86@chipx86.com>
parents:
6356
diff
changeset
|
434 | */ |
| 15884 | 435 | void *purple_notify_formatted(void *handle, const char *title, |
|
6381
53203c44c731
[gaim-migrate @ 6886]
Christian Hammond <chipx86@chipx86.com>
parents:
6356
diff
changeset
|
436 | const char *primary, const char *secondary, |
| 15884 | 437 | const char *text, PurpleNotifyCloseCallback cb, gpointer user_data); |
|
6381
53203c44c731
[gaim-migrate @ 6886]
Christian Hammond <chipx86@chipx86.com>
parents:
6356
diff
changeset
|
438 | |
|
53203c44c731
[gaim-migrate @ 6886]
Christian Hammond <chipx86@chipx86.com>
parents:
6356
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_userinfo: |
|
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
441 | * @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
|
442 | * @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
|
443 | * @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
|
444 | * @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
|
445 | * notification. |
|
35397
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
446 | * @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
|
447 | * |
|
9800
1115830011b8
[gaim-migrate @ 10668]
Mark Doliner <markdoliner@pidgin.im>
parents:
9797
diff
changeset
|
448 | * Displays user information with formatted text, passing information giving |
|
1115830011b8
[gaim-migrate @ 10668]
Mark Doliner <markdoliner@pidgin.im>
parents:
9797
diff
changeset
|
449 | * the connection and username from which the user information came. |
| 9797 | 450 | * |
| 451 | * The text is essentially a stripped-down format of HTML, the same that | |
| 452 | * IMs may send. | |
| 453 | * | |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35024
diff
changeset
|
454 | * Returns: A UI-specific handle. |
| 9797 | 455 | */ |
| 15884 | 456 | void *purple_notify_userinfo(PurpleConnection *gc, const char *who, |
| 457 | PurpleNotifyUserInfo *user_info, PurpleNotifyCloseCallback cb, | |
| 12220 | 458 | gpointer user_data); |
| 9797 | 459 | |
| 460 | /** | |
|
37410
fd7447005dea
Convert PurpleNotifySearchButton to a GBoxed type
Jorge Villaseñor <salinasv@pidgin.im>
parents:
37409
diff
changeset
|
461 | * purple_notify_search_button_get_type: |
|
fd7447005dea
Convert PurpleNotifySearchButton to a GBoxed type
Jorge Villaseñor <salinasv@pidgin.im>
parents:
37409
diff
changeset
|
462 | * |
|
fd7447005dea
Convert PurpleNotifySearchButton to a GBoxed type
Jorge Villaseñor <salinasv@pidgin.im>
parents:
37409
diff
changeset
|
463 | * Returns: The #GType for #PurpleNotifiySearchButton boxed structure. |
|
fd7447005dea
Convert PurpleNotifySearchButton to a GBoxed type
Jorge Villaseñor <salinasv@pidgin.im>
parents:
37409
diff
changeset
|
464 | */ |
|
fd7447005dea
Convert PurpleNotifySearchButton to a GBoxed type
Jorge Villaseñor <salinasv@pidgin.im>
parents:
37409
diff
changeset
|
465 | 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
|
466 | |
|
fd7447005dea
Convert PurpleNotifySearchButton to a GBoxed type
Jorge Villaseñor <salinasv@pidgin.im>
parents:
37409
diff
changeset
|
467 | /** |
|
35397
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
468 | * 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
|
469 | * |
|
35462
901dfa763f15
Fix some gtk-doc warnings till proxy.c
Ankit Vani <a@nevitus.org>
parents:
35440
diff
changeset
|
470 | * Returns: The #GType for the #PurpleNotifyUserInfo boxed structure. |
|
34793
07f8ceb4e690
Added GBoxed for PurpleNotifyUserInfo
Ankit Vani <a@nevitus.org>
parents:
32787
diff
changeset
|
471 | */ |
|
07f8ceb4e690
Added GBoxed for PurpleNotifyUserInfo
Ankit Vani <a@nevitus.org>
parents:
32787
diff
changeset
|
472 | GType purple_notify_user_info_get_type(void); |
|
07f8ceb4e690
Added GBoxed for PurpleNotifyUserInfo
Ankit Vani <a@nevitus.org>
parents:
32787
diff
changeset
|
473 | |
|
07f8ceb4e690
Added GBoxed for PurpleNotifyUserInfo
Ankit Vani <a@nevitus.org>
parents:
32787
diff
changeset
|
474 | /** |
|
35397
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
475 | * 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
|
476 | * |
|
24702
55805ee6a45b
Remove stray whitespace and wrap the function comments at less than 80
Mark Doliner <markdoliner@pidgin.im>
parents:
24569
diff
changeset
|
477 | * 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
|
478 | * purple_notify_userinfo() |
|
15205
f642029b2f97
[gaim-migrate @ 17929]
Evan Schoenberg <evands@pidgin.im>
parents:
14254
diff
changeset
|
479 | * |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35024
diff
changeset
|
480 | * Returns: A new PurpleNotifyUserInfo, which the caller must destroy when done |
|
15205
f642029b2f97
[gaim-migrate @ 17929]
Evan Schoenberg <evands@pidgin.im>
parents:
14254
diff
changeset
|
481 | */ |
| 15884 | 482 | PurpleNotifyUserInfo *purple_notify_user_info_new(void); |
|
15205
f642029b2f97
[gaim-migrate @ 17929]
Evan Schoenberg <evands@pidgin.im>
parents:
14254
diff
changeset
|
483 | |
|
f642029b2f97
[gaim-migrate @ 17929]
Evan Schoenberg <evands@pidgin.im>
parents:
14254
diff
changeset
|
484 | /** |
|
35397
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
485 | * 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
|
486 | * @user_info: The PurpleNotifyUserInfo |
|
15205
f642029b2f97
[gaim-migrate @ 17929]
Evan Schoenberg <evands@pidgin.im>
parents:
14254
diff
changeset
|
487 | * |
|
35397
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
488 | * Destroy a PurpleNotifyUserInfo |
|
15205
f642029b2f97
[gaim-migrate @ 17929]
Evan Schoenberg <evands@pidgin.im>
parents:
14254
diff
changeset
|
489 | */ |
| 15884 | 490 | void purple_notify_user_info_destroy(PurpleNotifyUserInfo *user_info); |
|
15205
f642029b2f97
[gaim-migrate @ 17929]
Evan Schoenberg <evands@pidgin.im>
parents:
14254
diff
changeset
|
491 | |
|
f642029b2f97
[gaim-migrate @ 17929]
Evan Schoenberg <evands@pidgin.im>
parents:
14254
diff
changeset
|
492 | /** |
|
35397
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
493 | * 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
|
494 | * @user_info: The PurpleNotifyUserInfo |
|
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
495 | * |
|
24702
55805ee6a45b
Remove stray whitespace and wrap the function comments at less than 80
Mark Doliner <markdoliner@pidgin.im>
parents:
24569
diff
changeset
|
496 | * 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
|
497 | * PurpleNotifyUserInfo |
|
15325
d1dcb41d845b
[gaim-migrate @ 18053]
Evan Schoenberg <evands@pidgin.im>
parents:
15215
diff
changeset
|
498 | * |
|
32193
42173d1c1317
Change PurpleNotifyUserInfo->user_info_entries from a GList to a GQueue.
Mark Doliner <markdoliner@pidgin.im>
parents:
32191
diff
changeset
|
499 | * 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
|
500 | * 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
|
501 | * 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
|
502 | * 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
|
503 | * destroyed. |
|
15328
113b0b520010
[gaim-migrate @ 18056]
Evan Schoenberg <evands@pidgin.im>
parents:
15325
diff
changeset
|
504 | * |
|
24702
55805ee6a45b
Remove stray whitespace and wrap the function comments at less than 80
Mark Doliner <markdoliner@pidgin.im>
parents:
24569
diff
changeset
|
505 | * 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
|
506 | * 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
|
507 | * |
|
35394
38facb8226d4
Use 'transfer none' for TODO const
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
508 | * Returns: (transfer none): A GQueue of PurpleNotifyUserInfoEntry objects. |
|
15205
f642029b2f97
[gaim-migrate @ 17929]
Evan Schoenberg <evands@pidgin.im>
parents:
14254
diff
changeset
|
509 | */ |
|
32193
42173d1c1317
Change PurpleNotifyUserInfo->user_info_entries from a GList to a GQueue.
Mark Doliner <markdoliner@pidgin.im>
parents:
32191
diff
changeset
|
510 | GQueue *purple_notify_user_info_get_entries(PurpleNotifyUserInfo *user_info); |
|
15205
f642029b2f97
[gaim-migrate @ 17929]
Evan Schoenberg <evands@pidgin.im>
parents:
14254
diff
changeset
|
511 | |
|
f642029b2f97
[gaim-migrate @ 17929]
Evan Schoenberg <evands@pidgin.im>
parents:
14254
diff
changeset
|
512 | /** |
|
35397
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
513 | * 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
|
514 | * @user_info: The PurpleNotifyUserInfo |
|
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
515 | * @newline: The separation character |
|
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
516 | * |
|
24702
55805ee6a45b
Remove stray whitespace and wrap the function comments at less than 80
Mark Doliner <markdoliner@pidgin.im>
parents:
24569
diff
changeset
|
517 | * 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
|
518 | * entries with newline |
|
15205
f642029b2f97
[gaim-migrate @ 17929]
Evan Schoenberg <evands@pidgin.im>
parents:
14254
diff
changeset
|
519 | */ |
| 15884 | 520 | 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
|
521 | |
|
f642029b2f97
[gaim-migrate @ 17929]
Evan Schoenberg <evands@pidgin.im>
parents:
14254
diff
changeset
|
522 | /** |
|
35397
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
523 | * 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
|
524 | * @user_info: The PurpleNotifyUserInfo |
|
056a71665e06
Add a bunch of missing docs.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
40215
diff
changeset
|
525 | * @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
|
526 | * 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
|
527 | * displayed without a label. |
|
056a71665e06
Add a bunch of missing docs.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
40215
diff
changeset
|
528 | * @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
|
529 | * 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
|
530 | * 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
|
531 | * %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
|
532 | * 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
|
533 | * |
|
40245
056a71665e06
Add a bunch of missing docs.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
40215
diff
changeset
|
534 | * 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
|
535 | * #PurpleNotifyUserInfo keeps track of the order in which pairs are added. |
|
15205
f642029b2f97
[gaim-migrate @ 17929]
Evan Schoenberg <evands@pidgin.im>
parents:
14254
diff
changeset
|
536 | */ |
|
32191
a4668d9dc8d1
Rename purple_notify_user_info_add_pair to
Mark Doliner <markdoliner@pidgin.im>
parents:
32143
diff
changeset
|
537 | 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
|
538 | |
|
f642029b2f97
[gaim-migrate @ 17929]
Evan Schoenberg <evands@pidgin.im>
parents:
14254
diff
changeset
|
539 | /** |
|
35397
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
540 | * 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
|
541 | * @user_info: The PurpleNotifyUserInfo |
|
056a71665e06
Add a bunch of missing docs.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
40215
diff
changeset
|
542 | * @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
|
543 | * 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
|
544 | * displayed without a label. |
|
056a71665e06
Add a bunch of missing docs.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
40215
diff
changeset
|
545 | * @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
|
546 | * 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
|
547 | * 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
|
548 | * %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
|
549 | * 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
|
550 | * |
|
40245
056a71665e06
Add a bunch of missing docs.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
40215
diff
changeset
|
551 | * 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
|
552 | * #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
|
553 | * |
|
056a71665e06
Add a bunch of missing docs.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
40215
diff
changeset
|
554 | * 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
|
555 | * and will be escaped using g_markup_escape_text(). |
|
9f833935ecd7
Add a purple_notify_user_info_add_pair_plaintext function that accepts a
Mark Doliner <markdoliner@pidgin.im>
parents:
27346
diff
changeset
|
556 | */ |
|
9f833935ecd7
Add a purple_notify_user_info_add_pair_plaintext function that accepts a
Mark Doliner <markdoliner@pidgin.im>
parents:
27346
diff
changeset
|
557 | 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
|
558 | |
|
9f833935ecd7
Add a purple_notify_user_info_add_pair_plaintext function that accepts a
Mark Doliner <markdoliner@pidgin.im>
parents:
27346
diff
changeset
|
559 | /** |
|
35397
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
560 | * 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
|
561 | * @user_info: The PurpleNotifyUserInfo |
|
056a71665e06
Add a bunch of missing docs.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
40215
diff
changeset
|
562 | * @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
|
563 | * 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
|
564 | * displayed without a label. |
|
056a71665e06
Add a bunch of missing docs.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
40215
diff
changeset
|
565 | * @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
|
566 | * 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
|
567 | * 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
|
568 | * %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
|
569 | * 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
|
570 | * |
|
40245
056a71665e06
Add a bunch of missing docs.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
40215
diff
changeset
|
571 | * 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
|
572 | * at the beginning of the list. |
|
15205
f642029b2f97
[gaim-migrate @ 17929]
Evan Schoenberg <evands@pidgin.im>
parents:
14254
diff
changeset
|
573 | */ |
|
32204
2a09624616c3
Actually commit the purple_notify_user_info_prepend_pair_plaintext
Mark Doliner <markdoliner@pidgin.im>
parents:
32193
diff
changeset
|
574 | 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
|
575 | |
|
2a09624616c3
Actually commit the purple_notify_user_info_prepend_pair_plaintext
Mark Doliner <markdoliner@pidgin.im>
parents:
32193
diff
changeset
|
576 | /** |
|
35397
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
577 | * 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
|
578 | * @user_info: The PurpleNotifyUserInfo |
|
056a71665e06
Add a bunch of missing docs.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
40215
diff
changeset
|
579 | * @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
|
580 | * 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
|
581 | * displayed without a label. |
|
056a71665e06
Add a bunch of missing docs.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
40215
diff
changeset
|
582 | * @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
|
583 | * 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
|
584 | * 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
|
585 | * 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
|
586 | * 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
|
587 | * |
|
40245
056a71665e06
Add a bunch of missing docs.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
40215
diff
changeset
|
588 | * 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
|
589 | * 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
|
590 | * |
|
f7cf821e15de
Replace a bunch of entries in ChangeLog.API entries with Since annotations
Gary Kramlich <grim@reaperworld.com>
parents:
40188
diff
changeset
|
591 | * 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
|
592 | */ |
|
2a09624616c3
Actually commit the purple_notify_user_info_prepend_pair_plaintext
Mark Doliner <markdoliner@pidgin.im>
parents:
32193
diff
changeset
|
593 | 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
|
594 | |
|
f642029b2f97
[gaim-migrate @ 17929]
Evan Schoenberg <evands@pidgin.im>
parents:
14254
diff
changeset
|
595 | /** |
|
35397
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
596 | * 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
|
597 | * @user_info: The PurpleNotifyUserInfo |
|
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
598 | * @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
|
599 | * |
|
24702
55805ee6a45b
Remove stray whitespace and wrap the function comments at less than 80
Mark Doliner <markdoliner@pidgin.im>
parents:
24569
diff
changeset
|
600 | * 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
|
601 | * without freeing the entry. |
|
15328
113b0b520010
[gaim-migrate @ 18056]
Evan Schoenberg <evands@pidgin.im>
parents:
15325
diff
changeset
|
602 | */ |
| 15884 | 603 | 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
|
604 | |
|
15328
113b0b520010
[gaim-migrate @ 18056]
Evan Schoenberg <evands@pidgin.im>
parents:
15325
diff
changeset
|
605 | /** |
|
35397
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
606 | * 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
|
607 | * @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
|
608 | * 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
|
609 | * 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
|
610 | * @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
|
611 | * 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
|
612 | * 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
|
613 | * 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
|
614 | * |
| 15884 | 615 | * Create a new PurpleNotifyUserInfoEntry |
|
15325
d1dcb41d845b
[gaim-migrate @ 18053]
Evan Schoenberg <evands@pidgin.im>
parents:
15215
diff
changeset
|
616 | * |
|
24702
55805ee6a45b
Remove stray whitespace and wrap the function comments at less than 80
Mark Doliner <markdoliner@pidgin.im>
parents:
24569
diff
changeset
|
617 | * 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
|
618 | * 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
|
619 | * 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
|
620 | * 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
|
621 | * 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
|
622 | * 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
|
623 | * methods for creating entries and adding them to a PurpleNotifyUserInfo. |
|
15325
d1dcb41d845b
[gaim-migrate @ 18053]
Evan Schoenberg <evands@pidgin.im>
parents:
15215
diff
changeset
|
624 | * |
| 40188 | 625 | * Returns: (transfer full): A new PurpleNotifyUserInfoEntry |
|
15325
d1dcb41d845b
[gaim-migrate @ 18053]
Evan Schoenberg <evands@pidgin.im>
parents:
15215
diff
changeset
|
626 | */ |
| 15884 | 627 | 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
|
628 | |
|
d1dcb41d845b
[gaim-migrate @ 18053]
Evan Schoenberg <evands@pidgin.im>
parents:
15215
diff
changeset
|
629 | /** |
|
35397
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
630 | * 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
|
631 | * @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
|
632 | * |
|
35397
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
633 | * 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
|
634 | * |
|
f7cf821e15de
Replace a bunch of entries in ChangeLog.API entries with Since annotations
Gary Kramlich <grim@reaperworld.com>
parents:
40188
diff
changeset
|
635 | * 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
|
636 | */ |
|
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
|
637 | 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
|
638 | |
|
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
|
639 | /** |
|
35397
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
640 | * 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
|
641 | * @user_info: The PurpleNotifyUserInfo |
|
15205
f642029b2f97
[gaim-migrate @ 17929]
Evan Schoenberg <evands@pidgin.im>
parents:
14254
diff
changeset
|
642 | * |
|
35397
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
643 | * Add a section break. A UI might display this as a horizontal line. |
|
15205
f642029b2f97
[gaim-migrate @ 17929]
Evan Schoenberg <evands@pidgin.im>
parents:
14254
diff
changeset
|
644 | */ |
| 15884 | 645 | 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
|
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_prepend_section_break: |
|
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 |
|
23346
fceca7f4710f
Added prepend functions for notify_user_info section headers and breaks
Evan Schoenberg <evands@pidgin.im>
parents:
23325
diff
changeset
|
650 | * |
|
35397
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
651 | * Prepend a section break. A UI might display this as a horizontal line. |
|
23346
fceca7f4710f
Added prepend functions for notify_user_info section headers and breaks
Evan Schoenberg <evands@pidgin.im>
parents:
23325
diff
changeset
|
652 | */ |
|
fceca7f4710f
Added prepend functions for notify_user_info section headers and breaks
Evan Schoenberg <evands@pidgin.im>
parents:
23325
diff
changeset
|
653 | 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
|
654 | |
|
23346
fceca7f4710f
Added prepend functions for notify_user_info section headers and breaks
Evan Schoenberg <evands@pidgin.im>
parents:
23325
diff
changeset
|
655 | /** |
|
35397
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
656 | * 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
|
657 | * @user_info: The PurpleNotifyUserInfo |
|
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
658 | * @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
|
659 | * |
|
24702
55805ee6a45b
Remove stray whitespace and wrap the function comments at less than 80
Mark Doliner <markdoliner@pidgin.im>
parents:
24569
diff
changeset
|
660 | * 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
|
661 | * from other text. |
|
15205
f642029b2f97
[gaim-migrate @ 17929]
Evan Schoenberg <evands@pidgin.im>
parents:
14254
diff
changeset
|
662 | */ |
| 15884 | 663 | 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
|
664 | |
|
23346
fceca7f4710f
Added prepend functions for notify_user_info section headers and breaks
Evan Schoenberg <evands@pidgin.im>
parents:
23325
diff
changeset
|
665 | /** |
|
35397
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
666 | * 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
|
667 | * @user_info: The PurpleNotifyUserInfo |
|
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
668 | * @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
|
669 | * |
|
24702
55805ee6a45b
Remove stray whitespace and wrap the function comments at less than 80
Mark Doliner <markdoliner@pidgin.im>
parents:
24569
diff
changeset
|
670 | * 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
|
671 | * from other text. |
|
23346
fceca7f4710f
Added prepend functions for notify_user_info section headers and breaks
Evan Schoenberg <evands@pidgin.im>
parents:
23325
diff
changeset
|
672 | */ |
|
fceca7f4710f
Added prepend functions for notify_user_info section headers and breaks
Evan Schoenberg <evands@pidgin.im>
parents:
23325
diff
changeset
|
673 | 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
|
674 | |
|
15205
f642029b2f97
[gaim-migrate @ 17929]
Evan Schoenberg <evands@pidgin.im>
parents:
14254
diff
changeset
|
675 | /** |
|
35397
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
676 | * 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
|
677 | * @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
|
678 | * |
|
24702
55805ee6a45b
Remove stray whitespace and wrap the function comments at less than 80
Mark Doliner <markdoliner@pidgin.im>
parents:
24569
diff
changeset
|
679 | * 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
|
680 | * could be used to remove a section header which is not needed. |
|
15205
f642029b2f97
[gaim-migrate @ 17929]
Evan Schoenberg <evands@pidgin.im>
parents:
14254
diff
changeset
|
681 | */ |
| 15884 | 682 | 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
|
683 | |
|
f642029b2f97
[gaim-migrate @ 17929]
Evan Schoenberg <evands@pidgin.im>
parents:
14254
diff
changeset
|
684 | /** |
|
35397
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
685 | * 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
|
686 | * @user_info_entry: The PurpleNotifyUserInfoEntry |
|
15205
f642029b2f97
[gaim-migrate @ 17929]
Evan Schoenberg <evands@pidgin.im>
parents:
14254
diff
changeset
|
687 | * |
| 15884 | 688 | * Get the label for a PurpleNotifyUserInfoEntry |
|
15205
f642029b2f97
[gaim-migrate @ 17929]
Evan Schoenberg <evands@pidgin.im>
parents:
14254
diff
changeset
|
689 | * |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35024
diff
changeset
|
690 | * Returns: The label |
|
15205
f642029b2f97
[gaim-migrate @ 17929]
Evan Schoenberg <evands@pidgin.im>
parents:
14254
diff
changeset
|
691 | */ |
|
22762
7f13bec07bad
constify the return value from purple_notify_user_info_entry_get_label
Mark Doliner <markdoliner@pidgin.im>
parents:
21453
diff
changeset
|
692 | 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
|
693 | |
|
f642029b2f97
[gaim-migrate @ 17929]
Evan Schoenberg <evands@pidgin.im>
parents:
14254
diff
changeset
|
694 | /** |
|
35397
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
695 | * 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
|
696 | * @user_info_entry: The PurpleNotifyUserInfoEntry |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35024
diff
changeset
|
697 | * @label: The label |
|
15325
d1dcb41d845b
[gaim-migrate @ 18053]
Evan Schoenberg <evands@pidgin.im>
parents:
15215
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 | * Set the label for a PurpleNotifyUserInfoEntry |
|
15325
d1dcb41d845b
[gaim-migrate @ 18053]
Evan Schoenberg <evands@pidgin.im>
parents:
15215
diff
changeset
|
700 | */ |
| 15884 | 701 | 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
|
702 | |
|
d1dcb41d845b
[gaim-migrate @ 18053]
Evan Schoenberg <evands@pidgin.im>
parents:
15215
diff
changeset
|
703 | /** |
|
35397
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
704 | * 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
|
705 | * @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
|
706 | * |
| 15884 | 707 | * Get the value for a PurpleNotifyUserInfoEntry |
|
15205
f642029b2f97
[gaim-migrate @ 17929]
Evan Schoenberg <evands@pidgin.im>
parents:
14254
diff
changeset
|
708 | * |
|
35397
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
709 | * Returns: The value |
|
15205
f642029b2f97
[gaim-migrate @ 17929]
Evan Schoenberg <evands@pidgin.im>
parents:
14254
diff
changeset
|
710 | */ |
|
22762
7f13bec07bad
constify the return value from purple_notify_user_info_entry_get_label
Mark Doliner <markdoliner@pidgin.im>
parents:
21453
diff
changeset
|
711 | 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
|
712 | |
|
f642029b2f97
[gaim-migrate @ 17929]
Evan Schoenberg <evands@pidgin.im>
parents:
14254
diff
changeset
|
713 | /** |
|
35397
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
714 | * 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
|
715 | * @user_info_entry: The PurpleNotifyUserInfoEntry |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35024
diff
changeset
|
716 | * @value: The value |
|
15325
d1dcb41d845b
[gaim-migrate @ 18053]
Evan Schoenberg <evands@pidgin.im>
parents:
15215
diff
changeset
|
717 | * |
|
35397
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
718 | * Set the value for a PurpleNotifyUserInfoEntry |
|
15325
d1dcb41d845b
[gaim-migrate @ 18053]
Evan Schoenberg <evands@pidgin.im>
parents:
15215
diff
changeset
|
719 | */ |
| 15884 | 720 | 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
|
721 | |
|
d1dcb41d845b
[gaim-migrate @ 18053]
Evan Schoenberg <evands@pidgin.im>
parents:
15215
diff
changeset
|
722 | |
|
d1dcb41d845b
[gaim-migrate @ 18053]
Evan Schoenberg <evands@pidgin.im>
parents:
15215
diff
changeset
|
723 | /** |
|
35477
5036e4cd8a46
Update doc labels for renamed functions
Ankit Vani <a@nevitus.org>
parents:
35475
diff
changeset
|
724 | * 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
|
725 | * @user_info_entry: The PurpleNotifyUserInfoEntry |
|
15325
d1dcb41d845b
[gaim-migrate @ 18053]
Evan Schoenberg <evands@pidgin.im>
parents:
15215
diff
changeset
|
726 | * |
| 15884 | 727 | * Get the type of a PurpleNotifyUserInfoEntry |
|
15325
d1dcb41d845b
[gaim-migrate @ 18053]
Evan Schoenberg <evands@pidgin.im>
parents:
15215
diff
changeset
|
728 | * |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35024
diff
changeset
|
729 | * Returns: The PurpleNotifyUserInfoEntryType |
|
15325
d1dcb41d845b
[gaim-migrate @ 18053]
Evan Schoenberg <evands@pidgin.im>
parents:
15215
diff
changeset
|
730 | */ |
|
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
|
731 | 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
|
732 | PurpleNotifyUserInfoEntry *user_info_entry); |
|
15325
d1dcb41d845b
[gaim-migrate @ 18053]
Evan Schoenberg <evands@pidgin.im>
parents:
15215
diff
changeset
|
733 | |
|
d1dcb41d845b
[gaim-migrate @ 18053]
Evan Schoenberg <evands@pidgin.im>
parents:
15215
diff
changeset
|
734 | /** |
|
35477
5036e4cd8a46
Update doc labels for renamed functions
Ankit Vani <a@nevitus.org>
parents:
35475
diff
changeset
|
735 | * 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
|
736 | * @user_info_entry: The PurpleNotifyUserInfoEntry |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35024
diff
changeset
|
737 | * @type: The PurpleNotifyUserInfoEntryType |
|
15325
d1dcb41d845b
[gaim-migrate @ 18053]
Evan Schoenberg <evands@pidgin.im>
parents:
15215
diff
changeset
|
738 | * |
|
35397
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
739 | * Set the type of a PurpleNotifyUserInfoEntry |
|
15325
d1dcb41d845b
[gaim-migrate @ 18053]
Evan Schoenberg <evands@pidgin.im>
parents:
15215
diff
changeset
|
740 | */ |
|
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
|
741 | 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
|
742 | PurpleNotifyUserInfoEntry *user_info_entry, PurpleNotifyUserInfoEntryType type); |
|
15325
d1dcb41d845b
[gaim-migrate @ 18053]
Evan Schoenberg <evands@pidgin.im>
parents:
15215
diff
changeset
|
743 | |
|
d1dcb41d845b
[gaim-migrate @ 18053]
Evan Schoenberg <evands@pidgin.im>
parents:
15215
diff
changeset
|
744 | /** |
|
35397
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
745 | * purple_notify_uri: |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35024
diff
changeset
|
746 | * @handle: The plugin or connection handle. |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35024
diff
changeset
|
747 | * @uri: The URI to display or go to. |
|
6465
bd201d637ff4
[gaim-migrate @ 6974]
Christian Hammond <chipx86@chipx86.com>
parents:
6381
diff
changeset
|
748 | * |
|
bd201d637ff4
[gaim-migrate @ 6974]
Christian Hammond <chipx86@chipx86.com>
parents:
6381
diff
changeset
|
749 | * Opens a URI or somehow presents it to the user. |
|
bd201d637ff4
[gaim-migrate @ 6974]
Christian Hammond <chipx86@chipx86.com>
parents:
6381
diff
changeset
|
750 | * |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35024
diff
changeset
|
751 | * 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
|
752 | * 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
|
753 | * similar. |
|
bd201d637ff4
[gaim-migrate @ 6974]
Christian Hammond <chipx86@chipx86.com>
parents:
6381
diff
changeset
|
754 | */ |
| 15884 | 755 | void *purple_notify_uri(void *handle, const char *uri); |
|
6465
bd201d637ff4
[gaim-migrate @ 6974]
Christian Hammond <chipx86@chipx86.com>
parents:
6381
diff
changeset
|
756 | |
|
bd201d637ff4
[gaim-migrate @ 6974]
Christian Hammond <chipx86@chipx86.com>
parents:
6381
diff
changeset
|
757 | /** |
|
35397
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
758 | * purple_notify_is_valid_ui_handle: |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35024
diff
changeset
|
759 | * @ui_handle: The UI handle. |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35024
diff
changeset
|
760 | * @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
|
761 | * (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
|
762 | * |
|
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
|
763 | * 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
|
764 | * |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35024
diff
changeset
|
765 | * Returns: TRUE, if handle is valid, FALSE otherwise. |
|
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
|
766 | */ |
|
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
|
767 | 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
|
768 | 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
|
769 | |
|
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
|
770 | /** |
|
35397
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
771 | * purple_notify_close: |
|
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
772 | * @type: The notification type. |
|
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
773 | * @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
|
774 | * |
| 5437 | 775 | * Closes a notification. |
| 776 | * | |
| 777 | * This should be used only by the UI operation functions and part of the | |
| 778 | * core. | |
| 779 | */ | |
| 15884 | 780 | void purple_notify_close(PurpleNotifyType type, void *ui_handle); |
| 5437 | 781 | |
| 782 | /** | |
|
35397
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
783 | * 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
|
784 | * @handle: The handle. |
| 5437 | 785 | * |
|
35397
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
786 | * Closes all notifications registered with the specified handle. |
| 5437 | 787 | */ |
| 15884 | 788 | void purple_notify_close_with_handle(void *handle); |
| 5437 | 789 | |
| 790 | /** | |
|
35397
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
791 | * purple_notify_info: |
|
40245
056a71665e06
Add a bunch of missing docs.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
40215
diff
changeset
|
792 | * @handle: The plugin or connection handle. |
|
056a71665e06
Add a bunch of missing docs.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
40215
diff
changeset
|
793 | * @title: The title of the message. |
|
056a71665e06
Add a bunch of missing docs.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
40215
diff
changeset
|
794 | * @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
|
795 | * @secondary: The secondary information. |
|
056a71665e06
Add a bunch of missing docs.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
40215
diff
changeset
|
796 | * @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
|
797 | * %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
|
798 | * |
|
40245
056a71665e06
Add a bunch of missing docs.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
40215
diff
changeset
|
799 | * A wrapper for purple_notify_message() that displays an information message. |
| 5437 | 800 | */ |
|
34449
bbcb198650b7
Notify API: extend purple_notify_message with PurpleRequestCommonParameters
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
32787
diff
changeset
|
801 | #define purple_notify_info(handle, title, primary, secondary, cpar) \ |
| 15884 | 802 | 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
|
803 | (primary), (secondary), (cpar), NULL, NULL) |
| 5437 | 804 | |
| 805 | /** | |
|
35397
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
806 | * purple_notify_warning: |
|
40245
056a71665e06
Add a bunch of missing docs.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
40215
diff
changeset
|
807 | * @handle: The plugin or connection handle. |
|
056a71665e06
Add a bunch of missing docs.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
40215
diff
changeset
|
808 | * @title: The title of the message. |
|
056a71665e06
Add a bunch of missing docs.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
40215
diff
changeset
|
809 | * @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
|
810 | * @secondary: The secondary information. |
|
056a71665e06
Add a bunch of missing docs.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
40215
diff
changeset
|
811 | * @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
|
812 | * %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
|
813 | * |
|
40245
056a71665e06
Add a bunch of missing docs.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
40215
diff
changeset
|
814 | * A wrapper for purple_notify_message() that displays a warning message. |
| 5437 | 815 | */ |
|
34449
bbcb198650b7
Notify API: extend purple_notify_message with PurpleRequestCommonParameters
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
32787
diff
changeset
|
816 | #define purple_notify_warning(handle, title, primary, secondary, cpar) \ |
| 15884 | 817 | 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
|
818 | (primary), (secondary), (cpar), NULL, NULL) |
| 5437 | 819 | |
| 820 | /** | |
|
35397
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
821 | * purple_notify_error: |
|
40245
056a71665e06
Add a bunch of missing docs.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
40215
diff
changeset
|
822 | * @handle: The plugin or connection handle. |
|
056a71665e06
Add a bunch of missing docs.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
40215
diff
changeset
|
823 | * @title: The title of the message. |
|
056a71665e06
Add a bunch of missing docs.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
40215
diff
changeset
|
824 | * @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
|
825 | * @secondary: The secondary information. |
|
056a71665e06
Add a bunch of missing docs.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
40215
diff
changeset
|
826 | * @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
|
827 | * %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
|
828 | * |
|
40245
056a71665e06
Add a bunch of missing docs.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
40215
diff
changeset
|
829 | * A wrapper for purple_notify_message() that displays an error message. |
| 5437 | 830 | */ |
|
34449
bbcb198650b7
Notify API: extend purple_notify_message with PurpleRequestCommonParameters
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
32787
diff
changeset
|
831 | #define purple_notify_error(handle, title, primary, secondary, cpar) \ |
| 15884 | 832 | 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
|
833 | (primary), (secondary), (cpar), NULL, NULL) |
| 5437 | 834 | |
| 835 | /**************************************************************************/ | |
| 35472 | 836 | /* UI Registration Functions */ |
| 5437 | 837 | /**************************************************************************/ |
| 838 | ||
| 839 | /** | |
| 35572 | 840 | * purple_notify_ui_ops_get_type: |
| 841 | * | |
| 842 | * Returns: The #GType for the #PurpleNotifyUiOps boxed structure. | |
| 843 | */ | |
| 844 | GType purple_notify_ui_ops_get_type(void); | |
| 845 | ||
| 846 | /** | |
|
35397
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
847 | * 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
|
848 | * @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
|
849 | * |
| 5437 | 850 | * Sets the UI operations structure to be used when displaying a |
| 851 | * notification. | |
| 852 | */ | |
| 15884 | 853 | void purple_notify_set_ui_ops(PurpleNotifyUiOps *ops); |
| 5437 | 854 | |
| 855 | /** | |
|
35397
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
856 | * 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
|
857 | * |
| 5437 | 858 | * Returns the UI operations structure to be used when displaying a |
| 859 | * notification. | |
| 860 | * | |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35024
diff
changeset
|
861 | * Returns: The UI operations structure. |
| 5437 | 862 | */ |
| 15884 | 863 | PurpleNotifyUiOps *purple_notify_get_ui_ops(void); |
|
5944
f19df037ac58
[gaim-migrate @ 6385]
Christian Hammond <chipx86@chipx86.com>
parents:
5522
diff
changeset
|
864 | |
| 12129 | 865 | /**************************************************************************/ |
| 35472 | 866 | /* Notify Subsystem */ |
| 12129 | 867 | /**************************************************************************/ |
| 868 | ||
| 869 | /** | |
|
35397
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
870 | * purple_notify_init: |
|
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
871 | * |
| 12129 | 872 | * Initializes the notify subsystem. |
| 873 | */ | |
| 15884 | 874 | void purple_notify_init(void); |
| 12129 | 875 | |
| 876 | /** | |
|
35397
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
877 | * purple_notify_uninit: |
|
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
878 | * |
| 12129 | 879 | * Uninitializes the notify subsystem. |
| 880 | */ | |
| 15884 | 881 | void purple_notify_uninit(void); |
| 12129 | 882 | |
| 883 | ||
|
32787
7072f190d6ad
Use G_BEGIN/END_DECLS in public libpurple files. This was
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32691
diff
changeset
|
884 | G_END_DECLS |
|
5944
f19df037ac58
[gaim-migrate @ 6385]
Christian Hammond <chipx86@chipx86.com>
parents:
5522
diff
changeset
|
885 | |
|
39659
e4dfb99b0cef
Fix libpurple header guards using reserved names.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
39026
diff
changeset
|
886 | #endif /* PURPLE_NOTIFY_H */ |