/* Copyright (C) 2007 Christian Dywan This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. See the file COPYING for the full license text. */ #ifndef __WEBSEARCH_H__ #define __WEBSEARCH_H__ 1 #include "midori-browser.h" #include #include #include // -- Types typedef struct { MidoriBrowser* browser; GtkWidget* window; GtkWidget* treeview; GtkWidget* edit; GtkWidget* remove; } CWebSearch; enum { ENGINES_COL_ENGINE, ENGINES_COL_N }; // -- Declarations void update_searchEngine(guint, GtkWidget*); void on_webSearch_icon_released(GtkWidget*, SexyIconEntryPosition*, gint, MidoriBrowser*); void on_webSearch_engine_activate(GtkWidget*, MidoriBrowser*); void on_webSearch_activate(GtkWidget*, MidoriBrowser*); GtkWidget* webSearch_manageSearchEngines_dialog_new(MidoriBrowser*); gboolean on_webSearch_key_down(GtkWidget*, GdkEventKey*, MidoriBrowser*); gboolean on_webSearch_scroll(GtkWidget*, GdkEventScroll*, MidoriBrowser*); #endif /* !__WEBSEARCH_H__ */