/ gwenginequicksearch.h / Content
/*  GWhere.
 *  Copyright (C) 2000  Sébastien LECACHEUR
 *
 *  This program is free software; you can redistribute it and/or modify
 *  it under the terms of the GNU General Public License as published by
 *  the Free Software Foundation; either version 2 of the License, or
 *  (at your option) any later version.
 *
 *  This program is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *  GNU General Public License for more details.
 *
 *  You should have received a copy of the GNU General Public License
 *  along with this program; if not, write to the Free Software
 *  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 */





#ifndef GW_DATA_ENGINE_QUICK_SEARCH_H
#define GW_DATA_ENGINE_QUICK_SEARCH_H



//struct engine_quick_search;



struct engine_quick_search *engine_quick_search_new ( void);



gint engine_quick_search_set_pattern ( struct engine_quick_search *p, gchar *pattern);



gint engine_quick_search_set_key_words ( struct engine_quick_search *p, gchar **key_words_list);



gint engine_quick_search_set_type ( struct engine_quick_search *p, gint type);



gint engine_quick_search_set_case_sensitive ( struct engine_quick_search *p, gboolean case_sensitive);



gint engine_quick_search_set_match_file ( struct engine_quick_search *p, gboolean match_file);



gint engine_quick_search_set_match_folder ( struct engine_quick_search *p, gboolean match_folder);



gint engine_quick_search_set_match_disk ( struct engine_quick_search *p, gboolean match_disk);



gint engine_quick_search_set_match_category ( struct engine_quick_search *p, gboolean match_category);



gint engine_quick_search_set_match_description ( struct engine_quick_search *p, gboolean match_description);



gint engine_quick_search_set_match_all_key_words ( struct engine_quick_search *p, gboolean match_all_key_words);



gchar * engine_quick_search_get_pattern ( struct engine_quick_search *p);



gchar ** engine_quick_search_get_key_words ( struct engine_quick_search *p);



gint engine_quick_search_get_type ( struct engine_quick_search *p);



gboolean engine_quick_search_get_case_sensitive ( struct engine_quick_search *p);



gboolean engine_quick_search_get_match_file ( struct engine_quick_search *p);



gboolean engine_quick_search_get_match_folder ( struct engine_quick_search *p);



gboolean engine_quick_search_get_match_disk ( struct engine_quick_search *p);



gboolean engine_quick_search_get_match_category ( struct engine_quick_search *p);



gboolean engine_quick_search_get_match_description ( struct engine_quick_search *p);



gboolean engine_quick_search_get_match_all_key_words ( struct engine_quick_search *p);



gint engine_quick_search_free ( struct engine_quick_search *p);


#endif