00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00037 #ifndef _gtk_columns_h_
00038 #define _gtk_columns_h_
00039
00044 enum {
00045 c_gnet_host = 0,
00046 c_gnet_loc,
00047 c_gnet_flags,
00048 c_gnet_user_agent,
00049 c_gnet_version,
00050 c_gnet_connected,
00051 c_gnet_uptime,
00052 c_gnet_info,
00053 #define NODES_VISIBLE_COLUMNS ((guint) c_gnet_info + 1)
00054 #ifdef USE_GTK2
00055 c_gnet_handle,
00056 c_gnet_fg,
00057 #endif
00058 c_gnet_num
00059 };
00060
00065 enum {
00066 c_ul_filename = 0,
00067 c_ul_host,
00068 c_ul_loc,
00069 c_ul_size,
00070 c_ul_range,
00071 c_ul_agent,
00072 c_ul_progress,
00073 c_ul_status,
00074 #define UPLOADS_GUI_VISIBLE_COLUMNS ((guint) c_ul_status + 1)
00075 #ifdef USE_GTK2
00076 c_ul_fg,
00077 c_ul_data,
00078 #endif
00079
00080 c_ul_num
00081 };
00082
00087 enum {
00088 c_us_filename = 0,
00089 c_us_size,
00090 c_us_attempts,
00091 c_us_complete,
00092 c_us_norm,
00093 #define UPLOAD_STATS_GUI_VISIBLE_COLUMNS ((guint) c_us_norm + 1)
00094 c_us_stat,
00095
00096 c_us_num
00097 };
00098
00099
00100
00101
00102
00103 enum {
00104 c_dl_filename = 0,
00105 c_dl_host,
00106 c_dl_loc,
00107 c_dl_size,
00108 c_dl_range,
00109 c_dl_server,
00110 c_dl_progress,
00111 c_dl_status,
00112 #define DOWNLOADS_VISIBLE_COLUMNS ((guint) c_dl_status + 1)
00113 #ifdef USE_GTK2
00114 c_dl_fg,
00115 c_dl_bg,
00116 c_dl_record,
00117 #endif
00118 c_dl_num
00119 };
00120
00121
00122
00123
00124
00125 #ifdef USE_GTK1
00126 enum {
00127 c_queue_filename = 0,
00128 c_queue_host,
00129 c_queue_loc,
00130 c_queue_size,
00131 c_queue_server,
00132 c_queue_status,
00133 c_queue_num
00134 #define DOWNLOAD_QUEUE_VISIBLE_COLUMNS ((guint) c_queue_num)
00135 };
00136 #endif
00137
00138 #ifdef USE_GTK2
00139 enum {
00140 c_queue_filename = 0,
00141 c_queue_size,
00142 c_queue_host,
00143 c_queue_loc,
00144 c_queue_server,
00145 c_queue_status,
00146 #define DOWNLOAD_QUEUE_VISIBLE_COLUMNS ((guint) c_queue_status + 1)
00147 c_queue_fg,
00148 c_queue_bg,
00149 c_queue_record,
00150 c_queue_num
00151 };
00152 #endif
00153
00154
00159 enum {
00160 c_fi_filename = 0,
00161 c_fi_size,
00162 c_fi_done,
00163 c_fi_sources,
00164 c_fi_status,
00165 #define FILEINFO_VISIBLE_COLUMNS ((guint) c_fi_status + 1)
00166 #ifdef USE_GTK2
00167 c_fi_handle,
00168 c_fi_isize,
00169 c_fi_idone,
00170 c_fi_isources,
00171 c_fi_istatus,
00172 #endif
00173 c_fi_num
00174 };
00175
00180 enum {
00181 c_sr_filename = 0,
00182 c_sr_ext,
00183 c_sr_charset,
00184 c_sr_size,
00185 c_sr_count,
00186 c_sr_loc,
00187 c_sr_meta,
00188 c_sr_info,
00189 #define SEARCH_RESULTS_VISIBLE_COLUMNS ((guint) c_sr_info + 1)
00190 #ifdef USE_GTK2
00191 c_sr_fg,
00192 c_sr_bg,
00193 #endif
00194 c_sr_num
00195 };
00196
00201 typedef enum {
00202 c_gs_type = 0,
00203 c_gs_received,
00204 c_gs_expired,
00205 c_gs_dropped,
00206 c_gs_queued,
00207 c_gs_relayed,
00208 c_gs_gen_queued,
00209 c_gs_generated,
00210
00211 num_c_gs
00212 } c_gs_t;
00213
00214 typedef enum {
00215 c_horizon_hops = 0,
00216 c_horizon_nodes,
00217 c_horizon_files,
00218 c_horizon_size,
00219
00220 num_c_horizon
00221 } c_horizon_t;
00222
00226 enum {
00227 c_hcs_name = 0,
00228 c_hcs_host_count,
00229 c_hcs_hits,
00230 c_hcs_misses
00231 #define HCACHE_STATS_VISIBLE_COLUMNS ((guint) c_hcs_misses + 1)
00232 };
00233
00234
00239 enum {
00240 c_sl_name = 0,
00241 c_sl_hit,
00242 c_sl_new,
00243 #define SEARCH_LIST_VISIBLE_COLUMNS ((guint) c_sl_new + 1)
00244 #ifdef USE_GTK2
00245 c_sl_fg,
00246 c_sl_bg,
00247 c_sl_sch,
00248 #endif
00249 c_sl_num
00250 };
00251
00256 enum {
00257 c_st_term = 0,
00258 c_st_period,
00259 c_st_total
00260 };
00261
00262 #endif
00263
00264