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>
19
#include "midori-viewable.h"
23
#define MIDORI_TYPE_CONSOLE \
24
(midori_console_get_type ())
25
#define MIDORI_CONSOLE(obj) \
26
(G_TYPE_CHECK_INSTANCE_CAST ((obj), MIDORI_TYPE_CONSOLE, MidoriConsole))
27
#define MIDORI_CONSOLE_CLASS(klass) \
28
(G_TYPE_CHECK_CLASS_CAST ((klass), MIDORI_TYPE_CONSOLE, MidoriConsoleClass))
29
#define MIDORI_IS_CONSOLE(obj) \
30
(G_TYPE_CHECK_INSTANCE_TYPE ((obj), MIDORI_TYPE_CONSOLE))
31
#define MIDORI_IS_CONSOLE_CLASS(klass) \
32
(G_TYPE_CHECK_CLASS_TYPE ((klass), MIDORI_TYPE_CONSOLE))
33
#define MIDORI_CONSOLE_GET_CLASS(obj) \
34
(G_TYPE_INSTANCE_GET_CLASS ((obj), MIDORI_TYPE_CONSOLE, MidoriConsoleClass))
36
typedef struct _MidoriConsole MidoriConsole;
37
typedef struct _MidoriConsoleClass MidoriConsoleClass;
40
midori_console_get_type (void);
43
midori_console_new (void);
46
midori_console_get_toolbar (MidoriViewable* console);
49
midori_console_add (MidoriConsole* console,
52
const gchar* source_id);
56
#endif /* __MIDORI_CONSOLE_H__ */