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_PREFERENCES_H__
13
#define __MIDORI_PREFERENCES_H__
15
#include "midori-websettings.h"
19
#include <katze/katze.h>
23
#define MIDORI_TYPE_PREFERENCES \
24
(midori_preferences_get_type ())
25
#define MIDORI_PREFERENCES(obj) \
26
(G_TYPE_CHECK_INSTANCE_CAST ((obj), MIDORI_TYPE_PREFERENCES, MidoriPreferences))
27
#define MIDORI_PREFERENCES_CLASS(klass) \
28
(G_TYPE_CHECK_CLASS_CAST ((klass), MIDORI_TYPE_PREFERENCES, MidoriPreferencesClass))
29
#define MIDORI_IS_PREFERENCES(obj) \
30
(G_TYPE_CHECK_INSTANCE_TYPE ((obj), MIDORI_TYPE_PREFERENCES))
31
#define MIDORI_IS_PREFERENCES_CLASS(klass) \
32
(G_TYPE_CHECK_CLASS_TYPE ((klass), MIDORI_TYPE_PREFERENCES))
33
#define MIDORI_PREFERENCES_GET_CLASS(obj) \
34
(G_TYPE_INSTANCE_GET_CLASS ((obj), MIDORI_TYPE_PREFERENCES, MidoriPreferencesClass))
36
typedef struct _MidoriPreferences MidoriPreferences;
37
typedef struct _MidoriPreferencesPrivate MidoriPreferencesPrivate;
38
typedef struct _MidoriPreferencesClass MidoriPreferencesClass;
40
struct _MidoriPreferences
42
GtkDialog parent_instance;
44
MidoriPreferencesPrivate* priv;
47
struct _MidoriPreferencesClass
49
GtkDialogClass parent_class;
53
midori_preferences_get_type (void);
56
midori_preferences_new (GtkWindow* parent,
57
MidoriWebSettings* settings);
60
midori_preferences_set_settings (MidoriPreferences* preferences,
61
MidoriWebSettings* settings);
65
#endif /* __MIDORI_PREFERENCES_H__ */