00001 /* -*- Mode: C; tab-width: 4; indent-tabs-mode: t; c-basic-offset: 4 -*- */ 00002 /* 00003 result_window.h 00004 result_window.h - A window that will collect all results of functions such as 00005 find, find a data from type, ... 00006 00007 (C) Copyright 2010 - 2011 Olivier Delhomme 00008 e-mail : heraia@delhomme.org 00009 URL : http://heraia.tuxfamily.org 00010 00011 This program is free software; you can redistribute it and/or modify 00012 it under the terms of the GNU General Public License as published by 00013 the Free Software Foundation; either version 2, or (at your option) 00014 any later version. 00015 00016 This program is distributed in the hope that it will be useful, 00017 but WITHOUT ANY WARRANTY; without even the implied warranty of 00018 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00019 GNU General Public License for more details. 00020 00021 You should have received a copy of the GNU General Public License 00022 along with this program; if not, write to the Free Software 00023 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 00024 */ 00025 /** 00026 * @file result_window.h 00027 * Header file for the result window 00028 */ 00029 #ifndef _HERAIA_RESULT_WINDOW_H_ 00030 #define _HERAIA_RESULT_WINDOW_H_ 00031 00032 /** 00033 * Columns definition for the GtkListStore 00034 * Used for : 00035 * - find all button 00036 */ 00037 enum { 00038 R_LS_N, 00039 R_LS_POS, 00040 R_LS_HEX, 00041 R_LS_ASCII, 00042 R_LS_N_COLUMNS 00043 }; 00044 00045 extern void result_window_show(GtkWidget *widget, gpointer data); 00046 extern void result_window_init_interface(heraia_struct_t *main_struct); 00047 extern void rw_add_one_tab_from_find_all_bt(heraia_struct_t *main_struct, GArray *all_pos, guint size, guchar *text); 00048 extern void rw_remove_all_tabs(heraia_struct_t *main_struct, doc_t *doc); 00049 00050 #endif /* _HERAIA_RESULT_WINDOW_H_ */