Mercurial > pidgin.yaz
annotate finch/gntrequest.h @ 19675:a48681403103
Unregister the iq callback listener when the transfer is freed. Fixes #1804. It doesn't seem correct to me that nothing is sent to the recipient when the sender cancels the ft request, but that is a different issue.
author | Daniel Atallah <daniel.atallah@gmail.com> |
---|---|
date | Fri, 07 Sep 2007 01:52:47 +0000 |
parents | 8c89913276b3 |
children | 44b4e8bd759b |
rev | line source |
---|---|
15818 | 1 /** |
2 * @file gntrequest.h GNT Request API | |
16194
0f0832c13fcb
Rename the Doxygen group from gntui to finch and define the finch group
Richard Laager <rlaager@wiktel.com>
parents:
15871
diff
changeset
|
3 * @ingroup finch |
15818 | 4 * |
15871
66dff3dfdea6
Re-sed the copyright notices so they don't all talk about Purple.
Richard Laager <rlaager@wiktel.com>
parents:
15823
diff
changeset
|
5 * finch |
15818 | 6 * |
15871
66dff3dfdea6
Re-sed the copyright notices so they don't all talk about Purple.
Richard Laager <rlaager@wiktel.com>
parents:
15823
diff
changeset
|
7 * Finch is the legal property of its developers, whose names are too numerous |
15818 | 8 * to list here. Please refer to the COPYRIGHT file distributed with this |
9 * source distribution. | |
10 * | |
11 * This program is free software; you can redistribute it and/or modify | |
12 * it under the terms of the GNU General Public License as published by | |
13 * the Free Software Foundation; either version 2 of the License, or | |
14 * (at your option) any later version. | |
15 * | |
16 * This program is distributed in the hope that it will be useful, | |
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
19 * GNU General Public License for more details. | |
20 * | |
21 * You should have received a copy of the GNU General Public License | |
22 * along with this program; if not, write to the Free Software | |
23 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
24 */ | |
25 #ifndef _GNT_REQUEST_H | |
26 #define _GNT_REQUEST_H | |
27 | |
28 #include "request.h" | |
29 | |
30 /********************************************************************** | |
31 * @name GNT Request API | |
32 **********************************************************************/ | |
33 /*@{*/ | |
34 | |
35 /** | |
36 * Get the ui-functions. | |
37 * | |
15823 | 38 * @return The PurpleRequestUiOps structure populated with the appropriate functions. |
15818 | 39 */ |
15823 | 40 PurpleRequestUiOps *finch_request_get_ui_ops(void); |
15818 | 41 |
42 /** | |
43 * Perform necessary initializations. | |
44 */ | |
45 void finch_request_init(void); | |
46 | |
47 /** | |
48 * Perform necessary uninitializations. | |
49 */ | |
50 void finch_request_uninit(void); | |
51 | |
16310
8c89913276b3
Implement the plugin-pref ui using the request api. The preferences for the core plugins can now be modified from Finch. And no new strings.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
16194
diff
changeset
|
52 /** |
8c89913276b3
Implement the plugin-pref ui using the request api. The preferences for the core plugins can now be modified from Finch. And no new strings.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
16194
diff
changeset
|
53 * Save the request fields in preferences where the id attribute of each field is the |
8c89913276b3
Implement the plugin-pref ui using the request api. The preferences for the core plugins can now be modified from Finch. And no new strings.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
16194
diff
changeset
|
54 * id of a preference. |
8c89913276b3
Implement the plugin-pref ui using the request api. The preferences for the core plugins can now be modified from Finch. And no new strings.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
16194
diff
changeset
|
55 */ |
8c89913276b3
Implement the plugin-pref ui using the request api. The preferences for the core plugins can now be modified from Finch. And no new strings.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
16194
diff
changeset
|
56 void finch_request_save_in_prefs(gpointer null, PurpleRequestFields *fields); |
8c89913276b3
Implement the plugin-pref ui using the request api. The preferences for the core plugins can now be modified from Finch. And no new strings.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
16194
diff
changeset
|
57 |
15818 | 58 /*@}*/ |
59 | |
60 #endif |