Add purple_util_write_data_to_*_file declarations
[pidgin-git.git] / pidgin / gtkrequest.h
blobfb475b7322b7895b0188cc9cd1ec7813b43bc3e6
1 /* pidgin
3 * Pidgin is the legal property of its developers, whose names are too numerous
4 * to list here. Please refer to the COPYRIGHT file distributed with this
5 * source distribution.
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.
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.
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
19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA
22 #ifndef _PIDGINREQUEST_H_
23 #define _PIDGINREQUEST_H_
24 /**
25 * SECTION:gtkrequest
26 * @section_id: pidgin-gtkrequest
27 * @short_description: <filename>gtkrequest.h</filename>
28 * @title: Request API
31 #include "request.h"
33 G_BEGIN_DECLS
35 /**
36 * pidgin_request_get_ui_ops:
38 * Returns the UI operations structure for GTK+ request functions.
40 * Returns: The GTK+ UI request operations structure.
42 PurpleRequestUiOps *pidgin_request_get_ui_ops(void);
44 /**
45 * pidgin_request_get_dialog_window:
46 * @ui_handle: The UI handle.
48 * Gets dialog window for specified libpurple request.
50 * Returns: The dialog window.
52 GtkWindow *
53 pidgin_request_get_dialog_window(void *ui_handle);
55 /**************************************************************************/
56 /* GTK+ Requests Subsystem */
57 /**************************************************************************/
59 /**
60 * pidgin_request_get_handle:
62 * Returns the gtk requests subsystem handle.
64 * Returns: The requests subsystem handle.
66 void *pidgin_request_get_handle(void);
68 /**
69 * pidgin_request_init:
71 * Initializes the GTK+ requests subsystem.
73 void pidgin_request_init(void);
75 /**
76 * pidgin_request_uninit:
78 * Uninitializes the GTK+ requests subsystem.
80 void pidgin_request_uninit(void);
82 G_END_DECLS
84 #endif /* _PIDGINREQUEST_H_ */