gtkft.h
Go to the documentation of this file.
1
6 /* pidgin
7 *
8 * Pidgin is the legal property of its developers, whose names are too numerous
9 * to list here. Please refer to the COPYRIGHT file distributed with this
10 * source distribution.
11 *
12 * This program is free software; you can redistribute it and/or modify
13 * it under the terms of the GNU General Public License as published by
14 * the Free Software Foundation; either version 2 of the License, or
15 * (at your option) any later version.
16 *
17 * This program is distributed in the hope that it will be useful,
18 * but WITHOUT ANY WARRANTY; without even the implied warranty of
19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 * GNU General Public License for more details.
21 *
22 * You should have received a copy of the GNU General Public License
23 * along with this program; if not, write to the Free Software
24 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA
25 */
26 #ifndef _PIDGINFT_H_
27 #define _PIDGINFT_H_
28
29 #include "ft.h"
30
37 typedef struct _PidginXferDialog PidginXferDialog;
38
39 /**************************************************************************/
41 /**************************************************************************/
49 PidginXferDialog *pidgin_xfer_dialog_new(void);
50
56 void pidgin_xfer_dialog_destroy(PidginXferDialog *dialog);
57
64 void pidgin_xfer_dialog_show(PidginXferDialog *dialog);
65
71 void pidgin_xfer_dialog_hide(PidginXferDialog *dialog);
72
79 void pidgin_xfer_dialog_add_xfer(PidginXferDialog *dialog, PurpleXfer *xfer);
80
87 void pidgin_xfer_dialog_remove_xfer(PidginXferDialog *dialog,
88 PurpleXfer *xfer);
89
96 void pidgin_xfer_dialog_cancel_xfer(PidginXferDialog *dialog,
97 PurpleXfer *xfer);
98
105 void pidgin_xfer_dialog_update_xfer(PidginXferDialog *dialog,
106 PurpleXfer *xfer);
107
110 /**************************************************************************/
112 /**************************************************************************/
118 void pidgin_xfers_init(void);
119
123 void pidgin_xfers_uninit(void);
124
130 void pidgin_set_xfer_dialog(PidginXferDialog *dialog);
131
137 PidginXferDialog *pidgin_get_xfer_dialog(void);
138
144 PurpleXferUiOps *pidgin_xfers_get_ui_ops(void);
145
148 #endif /* _PIDGINFT_H_ */
PurpleXferUiOps
File transfer UI operations.
Definition: ft.h:71
pidgin_get_xfer_dialog
PidginXferDialog * pidgin_get_xfer_dialog(void)
Returns pirgin&#39;s main file transfer dialog.
ft.h
File Transfer API.
pidgin_xfer_dialog_destroy
void pidgin_xfer_dialog_destroy(PidginXferDialog *dialog)
Destroys a file transfer dialog.
pidgin_set_xfer_dialog
void pidgin_set_xfer_dialog(PidginXferDialog *dialog)
Sets pidgin&#39;s main file transfer dialog.
pidgin_xfer_dialog_new
PidginXferDialog * pidgin_xfer_dialog_new(void)
Creates a new file transfer dialog.
pidgin_xfer_dialog_add_xfer
void pidgin_xfer_dialog_add_xfer(PidginXferDialog *dialog, PurpleXfer *xfer)
Adds a file transfer to the dialog.
pidgin_xfer_dialog_hide
void pidgin_xfer_dialog_hide(PidginXferDialog *dialog)
Hides the file transfer dialog.
pidgin_xfers_init
void pidgin_xfers_init(void)
Initializes the GTK+ file transfer system.
pidgin_xfer_dialog_cancel_xfer
void pidgin_xfer_dialog_cancel_xfer(PidginXferDialog *dialog, PurpleXfer *xfer)
Indicate in a file transfer dialog that a transfer was cancelled.
pidgin_xfers_get_ui_ops
PurpleXferUiOps * pidgin_xfers_get_ui_ops(void)
Returns the UI operations structure for the GTK+ file transfer UI.
PidginXferDialog
struct _PidginXferDialog PidginXferDialog
A file transfer dialog.
Definition: gtkft.h:37
pidgin_xfers_uninit
void pidgin_xfers_uninit(void)
Uninitializes the GTK+ file transfer system.
pidgin_xfer_dialog_update_xfer
void pidgin_xfer_dialog_update_xfer(PidginXferDialog *dialog, PurpleXfer *xfer)
Updates the information for a transfer in the dialog.
pidgin_xfer_dialog_show
void pidgin_xfer_dialog_show(PidginXferDialog *dialog)
Displays the file transfer dialog given.
pidgin_xfer_dialog_remove_xfer
void pidgin_xfer_dialog_remove_xfer(PidginXferDialog *dialog, PurpleXfer *xfer)
Removes a file transfer from the dialog.
_PurpleXfer
A core representation of a file transfer.
Definition: ft.h:134