00001 /*************************************************************************** 00002 * filter.h 00003 * 00004 * Fri Aug 25 15:02:10 2006 00005 * Copyright 2006-2007 Neil Williams 00006 * linux@codehelp.co.uk 00007 ****************************************************************************/ 00013 /* 00014 This package is free software; you can redistribute it and/or modify 00015 it under the terms of the GNU General Public License as published by 00016 the Free Software Foundation; either version 3 of the License, or 00017 (at your option) any later version. 00018 00019 This program is distributed in the hope that it will be useful, 00020 but WITHOUT ANY WARRANTY; without even the implied warranty of 00021 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00022 GNU General Public License for more details. 00023 00024 You should have received a copy of the GNU General Public License 00025 along with this program. If not, see <http://www.gnu.org/licenses/>. 00026 */ 00027 00028 #ifndef _HAVE_FILTER_H_ 00029 #define _HAVE_FILTER_H_ 00030 00031 #include "main.h" 00032 #include "dialog_initial.h" 00033 00036 typedef enum 00037 { FILTER_CONTAINS, 00038 FILTER_CONTAINSNO, 00039 FILTER_IS, 00040 FILTER_ISNOT, 00041 FILTER_LESS, 00042 FILTER_MORE, 00043 FILTER_ISBLANK, 00044 FILTER_ISNOTBLANK 00045 } QLFilterRule; 00046 00047 void filter_show_all (GtkAction * w, gpointer data); 00048 void filter_apply (GtkAction * w, gpointer data); 00049 void filter_add (GtkAction * w, gpointer data); 00050 void filter_edit (GtkAction * w, gpointer data); 00051 void filter_delete (GtkAction * w, gpointer data); 00052 void filter_do_apply (QlTabData * tab, gint16 filter_index); 00053 00054 #endif /* ! _HAVE_FILTER_H_ */