summaryrefslogtreecommitdiff
path: root/gtk/gtksearchengine.h
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2015-06-18 14:31:02 -0400
committerMatthias Clasen <mclasen@redhat.com>2015-06-18 14:33:13 -0400
commitabe4829e363abeb09d6ae2eef7e0e1bae573865d (patch)
tree8af2a9070e970726925c6716b95a9f247a3003aa /gtk/gtksearchengine.h
parent4b8df8c546a769d578437cec8bbf4e5d61d12965 (diff)
downloadgtk+-abe4829e363abeb09d6ae2eef7e0e1bae573865d.tar.gz
search engine: Pass file infos along for hits
Diffstat (limited to 'gtk/gtksearchengine.h')
-rw-r--r--gtk/gtksearchengine.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/gtk/gtksearchengine.h b/gtk/gtksearchengine.h
index fc4b6d64ed..8f86cd8e4d 100644
--- a/gtk/gtksearchengine.h
+++ b/gtk/gtksearchengine.h
@@ -23,6 +23,7 @@
#define __GTK_SEARCH_ENGINE_H__
#include "gtkquery.h"
+#include <gio/gio.h>
G_BEGIN_DECLS
@@ -37,6 +38,15 @@ typedef struct _GtkSearchEngine GtkSearchEngine;
typedef struct _GtkSearchEngineClass GtkSearchEngineClass;
typedef struct _GtkSearchEnginePrivate GtkSearchEnginePrivate;
+typedef struct _GtkSearchHit GtkSearchHit;
+
+struct _GtkSearchHit
+{
+ gint ref_count;
+ gchar *uri;
+ GFileInfo *info; /* may be NULL */
+};
+
struct _GtkSearchEngine
{
GObject parent;
@@ -81,6 +91,9 @@ void _gtk_search_engine_finished (GtkSearchEngine *engine);
void _gtk_search_engine_error (GtkSearchEngine *engine,
const gchar *error_message);
+void _gtk_search_hit_free (GtkSearchHit *hit);
+GtkSearchHit *_gtk_search_hit_dup (GtkSearchHit *hit);
+
G_END_DECLS
#endif /* __GTK_SEARCH_ENGINE_H__ */