summaryrefslogtreecommitdiff
path: root/src/ephy-suggestion-model.h
diff options
context:
space:
mode:
authorMichael Catanzaro <mcatanzaro@igalia.com>2017-09-06 21:37:04 -0500
committerMichael Catanzaro <mcatanzaro@igalia.com>2017-09-06 21:37:04 -0500
commit0129c42aec581b93465e8af5abd101ec99d0d8bb (patch)
tree54ec627bcb80f00a30d239b959ba2277e09310ff /src/ephy-suggestion-model.h
parent2b0142fcb35ce181c16a5505995ab63ea1917c03 (diff)
downloadepiphany-0129c42aec581b93465e8af5abd101ec99d0d8bb.tar.gz
search-provider: Port to EphySuggestionModelwip/dazzle
Diffstat (limited to 'src/ephy-suggestion-model.h')
-rw-r--r--src/ephy-suggestion-model.h25
1 files changed, 14 insertions, 11 deletions
diff --git a/src/ephy-suggestion-model.h b/src/ephy-suggestion-model.h
index 625789076..1286b80b7 100644
--- a/src/ephy-suggestion-model.h
+++ b/src/ephy-suggestion-model.h
@@ -20,8 +20,9 @@
#include <gio/gio.h>
-#include "ephy-history-service.h"
#include "ephy-bookmarks-manager.h"
+#include "ephy-history-service.h"
+#include "ephy-suggestion.h"
G_BEGIN_DECLS
@@ -29,15 +30,17 @@ G_BEGIN_DECLS
G_DECLARE_FINAL_TYPE (EphySuggestionModel, ephy_suggestion_model, EPHY, SUGGESTION_MODEL, GObject)
-EphySuggestionModel *ephy_suggestion_model_new (EphyHistoryService *history_service,
- EphyBookmarksManager *bookmarks_manager);
-void ephy_suggestion_model_query_async (EphySuggestionModel *self,
- const gchar *query,
- GCancellable *cancellable,
- GAsyncReadyCallback callback,
- gpointer user_data);
-gboolean ephy_suggestion_model_query_finish (EphySuggestionModel *self,
- GAsyncResult *result,
- GError **error);
+EphySuggestionModel *ephy_suggestion_model_new (EphyHistoryService *history_service,
+ EphyBookmarksManager *bookmarks_manager);
+void ephy_suggestion_model_query_async (EphySuggestionModel *self,
+ const gchar *query,
+ GCancellable *cancellable,
+ GAsyncReadyCallback callback,
+ gpointer user_data);
+gboolean ephy_suggestion_model_query_finish (EphySuggestionModel *self,
+ GAsyncResult *result,
+ GError **error);
+EphySuggestion *ephy_suggestion_model_get_suggestion_with_id (EphySuggestionModel *self,
+ const char *id);
G_END_DECLS