~midori/midori/cmake-make-dist

« back to all changes in this revision

Viewing changes to src/webSearch.h

  • Committer: Christian Dywan
  • Date: 2008-06-01 21:47:27 UTC
  • Revision ID: git-v1:b511f12b9b4b063610161f2229b94a24a86be0fc
Rename folder 'src' to 'midori'

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*
2
 
 Copyright (C) 2007 Christian Dywan <christian@twotoasts.de>
3
 
 
4
 
 This library is free software; you can redistribute it and/or
5
 
 modify it under the terms of the GNU Lesser General Public
6
 
 License as published by the Free Software Foundation; either
7
 
 version 2.1 of the License, or (at your option) any later version.
8
 
 
9
 
 See the file COPYING for the full license text.
10
 
*/
11
 
 
12
 
#ifndef __WEBSEARCH_H__
13
 
#define __WEBSEARCH_H__ 1
14
 
 
15
 
#include "midori-browser.h"
16
 
 
17
 
#include <gtk/gtk.h>
18
 
#include <libsexy/sexy.h>
19
 
#include <webkit/webkit.h>
20
 
 
21
 
// -- Types
22
 
 
23
 
typedef struct
24
 
{
25
 
    MidoriBrowser* browser;
26
 
    GtkWidget* window;
27
 
    GtkWidget* treeview;
28
 
    GtkWidget* edit;
29
 
    GtkWidget* remove;
30
 
} CWebSearch;
31
 
 
32
 
enum
33
 
{
34
 
    ENGINES_COL_ENGINE,
35
 
    ENGINES_COL_N
36
 
};
37
 
 
38
 
// -- Declarations
39
 
 
40
 
void
41
 
update_searchEngine(guint, GtkWidget*);
42
 
 
43
 
void
44
 
on_webSearch_icon_released(GtkWidget*, SexyIconEntryPosition*, gint, MidoriBrowser*);
45
 
 
46
 
void
47
 
on_webSearch_engine_activate(GtkWidget*, MidoriBrowser*);
48
 
 
49
 
void
50
 
on_webSearch_activate(GtkWidget*, MidoriBrowser*);
51
 
 
52
 
GtkWidget*
53
 
webSearch_manageSearchEngines_dialog_new(MidoriBrowser*);
54
 
 
55
 
gboolean
56
 
on_webSearch_key_down(GtkWidget*, GdkEventKey*, MidoriBrowser*);
57
 
 
58
 
gboolean
59
 
on_webSearch_scroll(GtkWidget*, GdkEventScroll*, MidoriBrowser*);
60
 
 
61
 
#endif /* !__WEBSEARCH_H__ */