2
Copyright (C) 2008 Christian Dywan <christian@twotoasts.de>
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.
9
See the file COPYING for the full license text.
12
#ifndef __MIDORI_CONSOLE_H__
13
#define __MIDORI_CONSOLE_H__
17
#include <katze/katze.h>
21
#define MIDORI_TYPE_CONSOLE \
22
(midori_console_get_type ())
23
#define MIDORI_CONSOLE(obj) \
24
(G_TYPE_CHECK_INSTANCE_CAST ((obj), MIDORI_TYPE_CONSOLE, MidoriConsole))
25
#define MIDORI_CONSOLE_CLASS(klass) \
26
(G_TYPE_CHECK_CLASS_CAST ((klass), MIDORI_TYPE_CONSOLE, MidoriConsoleClass))
27
#define MIDORI_IS_CONSOLE(obj) \
28
(G_TYPE_CHECK_INSTANCE_TYPE ((obj), MIDORI_TYPE_CONSOLE))
29
#define MIDORI_IS_CONSOLE_CLASS(klass) \
30
(G_TYPE_CHECK_CLASS_TYPE ((klass), MIDORI_TYPE_CONSOLE))
31
#define MIDORI_CONSOLE_GET_CLASS(obj) \
32
(G_TYPE_INSTANCE_GET_CLASS ((obj), MIDORI_TYPE_CONSOLE, MidoriConsoleClass))
34
typedef struct _MidoriConsole MidoriConsole;
35
typedef struct _MidoriConsolePrivate MidoriConsolePrivate;
36
typedef struct _MidoriConsoleClass MidoriConsoleClass;
40
GtkVBox parent_instance;
42
MidoriConsolePrivate* priv;
45
struct _MidoriConsoleClass
47
GtkVBoxClass parent_class;
51
midori_console_get_type (void);
54
midori_console_new (void);
57
midori_console_get_toolbar (MidoriConsole* console);
60
midori_console_add (MidoriConsole* console,
63
const gchar* source_id);
67
#endif /* __MIDORI_CONSOLE_H__ */