1 /* 2 * 3 * This program is free software; you can redistribute it and/or modify it 4 * under the terms of the GNU Lesser General Public License as published by 5 * the Free Software Foundation. 6 * 7 * This program is distributed in the hope that it will be useful, but 8 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY 9 * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 10 * for more details. 11 * 12 * You should have received a copy of the GNU Lesser General Public License 13 * along with this program; if not, see <http://www.gnu.org/licenses/>. 14 * 15 * 16 * Authors: 17 * Chris Lahey <clahey@ximian.com> 18 * 19 * Copyright (C) 1999-2008 Novell, Inc. (www.novell.com) 20 * 21 */ 22 23 #if !defined (__E_UTIL_H_INSIDE__) && !defined (LIBEUTIL_COMPILATION) 24 #error "Only <e-util/e-util.h> should be included directly." 25 #endif 26 27 #ifndef _E_TABLE_UTILS_H_ 28 #define _E_TABLE_UTILS_H_ 29 30 #include <e-util/e-table-extras.h> 31 #include <e-util/e-table-header.h> 32 #include <e-util/e-table-specification.h> 33 #include <e-util/e-table-state.h> 34 35 G_BEGIN_DECLS 36 37 ETableHeader * e_table_state_to_header (GtkWidget *widget, 38 ETableHeader *full_header, 39 ETableState *state); 40 41 ETableHeader * e_table_spec_to_full_header (ETableSpecification *spec, 42 ETableExtras *ete); 43 44 ETableCol * e_table_util_calculate_current_search_col 45 (ETableHeader *header, 46 ETableHeader *full_header, 47 ETableSortInfo *sort_info, 48 gboolean always_search); 49 50 G_END_DECLS 51 52 #endif /* _E_TABLE_UTILS_H_ */ 53 54