Main Page | Modules | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals | Related Pages

c2ui.h

Go to the documentation of this file.
00001 /*
00002  * $Id: c2ui.h 13629 2007-05-13 04:30:01Z cbiere $
00003  *
00004  * Copyright (c) 2004, Emile Roberts
00005  *
00006  *----------------------------------------------------------------------
00007  * This file is part of gtk-gnutella.
00008  *
00009  *  gtk-gnutella is free software; you can redistribute it and/or modify
00010  *  it under the terms of the GNU General Public License as published by
00011  *  the Free Software Foundation; either version 2 of the License, or
00012  *  (at your option) any later version.
00013  *
00014  *  gtk-gnutella is distributed in the hope that it will be useful,
00015  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
00016  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00017  *  GNU General Public License for more details.
00018  *
00019  *  You should have received a copy of the GNU General Public License
00020  *  along with gtk-gnutella; if not, write to the Free Software
00021  *  Foundation, Inc.:
00022  *      59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
00023  *----------------------------------------------------------------------
00024  */
00025 
00036 #ifndef _if_bridge_c2ui_h_
00037 #define _if_bridge_c2ui_h_
00038 
00039 #include "common.h"
00040 
00041 /*
00042  *  SECTION 1 - Interface includes
00043  */
00044 
00045 #include "if/core/downloads.h"
00046 #include "if/core/uploads.h"
00047 #include "if/core/bitzi.h"
00048 
00049 #include "lib/host_addr.h"
00050 #include "lib/misc.h"
00051 
00052 /* Property table includes */
00053 #include "if/gui_property.h"
00054 
00055 /* download interface functions */
00056 void gcu_download_enable_start_now(guint32 running_downloads,
00057     guint32 max_num_downloads);
00058 void gcu_gui_update_download(struct download *d, gboolean force);
00059 void gcu_gui_update_download_server(struct download *d);
00060 void gcu_gui_update_download_range(struct download *d);
00061 void gcu_gui_update_download_size(struct download *d);
00062 void gcu_gui_update_download_host(struct download *d);
00063 void gcu_gui_update_download_abort_resume(void);
00064 void gcu_gui_update_download_clear(void);
00065 void gcu_gui_update_download_clear_now(void);
00066 void gcu_download_gui_add(struct download *d);
00067 void gcu_download_gui_remove(struct download *d);
00068 
00069 /* misc interface functions */
00070 void guc_allow_rescan_dir(gboolean flag);
00071 void gcu_gui_update_files_scanned(void);
00072 gint gcu_gtk_main_flush(void);
00073 
00075 gboolean gcu_search_gui_new_search(const gchar *query, flag_t flags);
00076 
00077 /* statusbar interface functions */
00078 void gcu_statusbar_warning(const gchar *message);
00079 void gcu_statusbar_message(const gchar *message);
00080 
00081 /* upload interface functions */
00082 void gcu_upload_stats_gui_add(const struct ul_stats *);
00083 void gcu_upload_stats_gui_update(const struct ul_stats *);
00084 void gcu_upload_stats_gui_clear_all(void);
00085 
00087 void gcu_bitzi_result(bitzi_data_t *bitzi_data);
00088 
00089 #endif /* _if_bridge_c2ui_h_ */
00090 

Generated on Sat Jun 30 17:53:22 2007 for gtk-gnutella by  doxygen 1.3.9.1