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_EXTENSION_H__
13
#define __MIDORI_EXTENSION_H__
15
#include <glib-object.h>
19
#define MIDORI_TYPE_EXTENSION \
20
(midori_extension_get_type ())
21
#define MIDORI_EXTENSION(obj) \
22
(G_TYPE_CHECK_INSTANCE_CAST ((obj), MIDORI_TYPE_EXTENSION, MidoriExtension))
23
#define MIDORI_EXTENSION_CLASS(klass) \
24
(G_TYPE_CHECK_CLASS_CAST ((klass), MIDORI_TYPE_EXTENSION, MidoriExtensionClass))
25
#define MIDORI_IS_EXTENSION(obj) \
26
(G_TYPE_CHECK_INSTANCE_TYPE ((obj), MIDORI_TYPE_EXTENSION))
27
#define MIDORI_IS_EXTENSION_CLASS(klass) \
28
(G_TYPE_CHECK_CLASS_TYPE ((klass), MIDORI_TYPE_EXTENSION))
29
#define MIDORI_EXTENSION_GET_CLASS(obj) \
30
(G_TYPE_INSTANCE_GET_CLASS ((obj), MIDORI_TYPE_EXTENSION, MidoriExtensionClass))
32
typedef struct _MidoriExtension MidoriExtension;
33
typedef struct _MidoriExtensionClass MidoriExtensionClass;
34
typedef struct _MidoriExtensionPrivate MidoriExtensionPrivate;
36
struct _MidoriExtension
38
GObject parent_instance;
40
MidoriExtensionPrivate* priv;
43
struct _MidoriExtensionClass
45
GObjectClass parent_class;
49
midori_extension_get_type (void);
51
/* There is no API for MidoriExtension. Please use the
52
available properties and signals. */
56
#endif /* __MIDORI_EXTENSION_H__ */