00001 00006 /* pidgin 00007 * 00008 * Pidgin is the legal property of its developers, whose names are too numerous 00009 * to list here. Please refer to the COPYRIGHT file distributed with this 00010 * source distribution. 00011 * 00012 * This program is free software; you can redistribute it and/or modify 00013 * it under the terms of the GNU General Public License as published by 00014 * the Free Software Foundation; either version 2 of the License, or 00015 * (at your option) any later version. 00016 * 00017 * This program is distributed in the hope that it will be useful, 00018 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00019 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00020 * GNU General Public License for more details. 00021 * 00022 * You should have received a copy of the GNU General Public License 00023 * along with this program; if not, write to the Free Software 00024 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA 00025 */ 00026 #ifndef _PIDGINFT_H_ 00027 #define _PIDGINFT_H_ 00028 00029 #include "ft.h" 00030 00037 typedef struct _PidginXferDialog PidginXferDialog; 00038 00039 /**************************************************************************/ 00041 /**************************************************************************/ 00049 PidginXferDialog *pidgin_xfer_dialog_new(void); 00050 00056 void pidgin_xfer_dialog_destroy(PidginXferDialog *dialog); 00057 00064 void pidgin_xfer_dialog_show(PidginXferDialog *dialog); 00065 00071 void pidgin_xfer_dialog_hide(PidginXferDialog *dialog); 00072 00079 void pidgin_xfer_dialog_add_xfer(PidginXferDialog *dialog, PurpleXfer *xfer); 00080 00087 void pidgin_xfer_dialog_remove_xfer(PidginXferDialog *dialog, 00088 PurpleXfer *xfer); 00089 00096 void pidgin_xfer_dialog_cancel_xfer(PidginXferDialog *dialog, 00097 PurpleXfer *xfer); 00098 00105 void pidgin_xfer_dialog_update_xfer(PidginXferDialog *dialog, 00106 PurpleXfer *xfer); 00107 00110 /**************************************************************************/ 00112 /**************************************************************************/ 00118 void pidgin_xfers_init(void); 00119 00123 void pidgin_xfers_uninit(void); 00124 00130 void pidgin_set_xfer_dialog(PidginXferDialog *dialog); 00131 00137 PidginXferDialog *pidgin_get_xfer_dialog(void); 00138 00144 PurpleXferUiOps *pidgin_xfers_get_ui_ops(void); 00145 00148 #endif /* _PIDGINFT_H_ */