mark PurpleImageClass as private
[pidgin-git.git] / libpurple / protocols / gg / edisc.h
blob0608f5c3951b3eadddc98a51da28d14841859943
1 /* purple
3 * Purple 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 * Component written by Tomek Wasilczyk (http://www.wasilczyk.pl).
9 * This file is dual-licensed under the GPL2+ and the X11 (MIT) licences.
10 * As a recipient of this file you may choose, which license to receive the
11 * code under. As a contributor, you have to ensure the new code is
12 * compatible with both.
14 * This program is free software; you can redistribute it and/or modify
15 * it under the terms of the GNU General Public License as published by
16 * the Free Software Foundation; either version 2 of the License, or
17 * (at your option) any later version.
19 * This program is distributed in the hope that it will be useful,
20 * but WITHOUT ANY WARRANTY; without even the implied warranty of
21 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22 * GNU General Public License for more details.
24 * You should have received a copy of the GNU General Public License
25 * along with this program; if not, write to the Free Software
26 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA
29 #ifndef PURPLE_GG_EDISC_H
30 #define PURPLE_GG_EDISC_H
32 #include <internal.h>
34 typedef struct _ggp_edisc_session_data ggp_edisc_session_data;
36 G_BEGIN_DECLS
38 #define GGP_TYPE_XFER (ggp_xfer_get_type())
39 G_DECLARE_FINAL_TYPE(GGPXfer, ggp_xfer, GGP, XFER, PurpleXfer);
41 void ggp_xfer_register(GTypeModule *module);
43 /* Setting up. */
44 void ggp_edisc_setup(PurpleConnection *gc);
45 void ggp_edisc_cleanup(PurpleConnection *gc);
47 /* General xfer functions. */
48 void ggp_edisc_xfer_ticket_changed(PurpleConnection *gc,
49 const char *data);
51 /* Sending a file. */
52 gboolean ggp_edisc_xfer_can_receive_file(PurpleProtocolXfer *prplxfer, PurpleConnection *gc, const char *who);
53 void ggp_edisc_xfer_send_file(PurpleProtocolXfer *prplxfer, PurpleConnection *gc, const char *who,
54 const char *filename);
55 PurpleXfer * ggp_edisc_xfer_send_new(PurpleProtocolXfer *prplxfer, PurpleConnection *gc, const char *who);
57 G_END_DECLS
59 #endif /* PURPLE_GG_EDISC_H */