X-Git-Url: https://vcs.maemo.org/git/?a=blobdiff_plain;f=src%2Fgconf-search.h;fp=src%2Fgconf-search.h;h=3b2da81d0ae5ca638d24a622cd0328805893aa9d;hb=34f89e89320f83ec38ebf7257ddfe4d4a84b7cf0;hp=0000000000000000000000000000000000000000;hpb=3a0d577474f47cb857051247625d9fb7911d0f50;p=gconf-editor diff --git a/src/gconf-search.h b/src/gconf-search.h new file mode 100644 index 0000000..3b2da81 --- /dev/null +++ b/src/gconf-search.h @@ -0,0 +1,46 @@ +/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- */ +/* + * Copyright (C) 2004 Fernando Herrera + * + * 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., 675 Mass Ave, Cambridge, MA 02139, USA. + */ + +#ifndef __GCONF_SEARCH_H__ +#define __GCONF_SEARCH_H__ + +#include "gconf-editor-window.h" +#include "gedit-output-window.h" +#include "gconf-tree-model.h" +#include "gconf-list-model.h" +#include + +typedef struct _SearchIter SearchIter; + +struct _SearchIter { + const char *pattern; + gboolean search_values; + gboolean search_keys; + GeditOutputWindow *output_window; + GObject *searching; + int res; +}; + +int gconf_tree_model_build_match_list (GConfTreeModel *tree_model, GeditOutputWindow *output_window, + const char *pattern, gboolean search_keys, gboolean search_values, + GObject *dialog); + + + +#endif /* __GCONF_SEARCH_H__ */