fix .desktop file
[gconf-editor] / src / gconf-search.h
1 /* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- */
2 /*
3  * Copyright (C) 2004 Fernando Herrera <fherrera@onirica.com>
4  *
5  * This program is free software; you can redistribute it and/or
6  * modify it under the terms of the GNU General Public License as
7  * published by the Free Software Foundation; either version 2 of the
8  * License, or (at your option) any later version.
9  *
10  * This program is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
13  * General Public License for more details.
14  *
15  * You should have received a copy of the GNU General Public License
16  * along with this program; if not, write to the Free Software
17  * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
18  */
19
20 #ifndef __GCONF_SEARCH_H__
21 #define __GCONF_SEARCH_H__
22
23 #include "gconf-editor-window.h"
24 #include "gedit-output-window.h"
25 #include "gconf-tree-model.h"
26 #include "gconf-list-model.h"
27 #include <gtk/gtk.h>
28
29 typedef struct _SearchIter SearchIter;
30
31 struct _SearchIter {
32         const char *pattern;
33         gboolean search_values;
34         gboolean search_keys;
35         GeditOutputWindow *output_window;
36         GObject *searching;
37         int res;
38 };
39
40 int gconf_tree_model_build_match_list (GConfTreeModel *tree_model, GeditOutputWindow *output_window,
41                                        const char *pattern, gboolean search_keys, gboolean search_values, 
42                                        GObject *dialog);
43
44
45
46 #endif /* __GCONF_SEARCH_H__ */