diff options
Diffstat (limited to 'src/ka-preferences.h')
-rw-r--r-- | src/ka-preferences.h | 25 |
1 files changed, 22 insertions, 3 deletions
diff --git a/src/ka-preferences.h b/src/ka-preferences.h index 6f767c5..4b6a732 100644 --- a/src/ka-preferences.h +++ b/src/ka-preferences.h @@ -3,15 +3,34 @@ #ifndef KA_PREFERENCES_H #define KA_PREFERENCES_H +#include <glib.h> +#include <glib-object.h> #include <gtk/gtk.h> +#include "config.h" #include "ka-applet.h" G_BEGIN_DECLS -void ka_preferences_window_create (KaApplet *applet, GtkBuilder *xml); -void ka_preferences_window_destroy (void); -void ka_preferences_window_show (KaApplet *applet); +#define KA_TYPE_PREFERENCES (ka_preferences_get_type ()) +#define KA_PREFERENCES(obj) \ + (G_TYPE_CHECK_INSTANCE_CAST ((obj), KA_TYPE_PREFERENCES, KaPreferences)) +#define KA_PREFERENCES_CLASS(klass) \ + (G_TYPE_CHECK_CLASS_CAST ((klass), KA_TYPE_PREFERENCES, KaPreferencesClass)) +#define KA_IS_PREFERENCES(obj) \ + (G_TYPE_CHECK_INSTANCE_TYPE ((obj), KA_TYPE_PREFERENCES)) +#define KA_IS_PREFERENCES_CLASS(klass) \ + (G_TYPE_CHECK_CLASS_TYPE ((klass), KA_TYPE_PREFERENCES)) +#define KA_PREFERENCES_GET_CLASS(obj) \ + (G_TYPE_INSTANCE_GET_CLASS ((obj), KA_TYPE_PREFERENCES, KaPreferencesClass)) + typedef struct _KaPreferences KaPreferences; +typedef struct _KaPreferencesClass KaPreferencesClass; +typedef struct _KaPreferencesPrivate KaPreferencesPrivate; + +GType ka_preferences_get_type (void); + +KaPreferences* ka_preferences_new (KaApplet *applet); +void ka_preferences_run (KaPreferences *self); G_END_DECLS |