X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=src%2Faweather-gui.h;h=eb28a55307fca65f09e81df55620215e7dc3460c;hb=372f8b7c6c2f487508fd345a83b92c709c94baa1;hp=020aed6a97f10c3d249c7df5be5bc26845b20c5b;hpb=5e8bf923bce829075eb0754eecfd7e6b9b768a61;p=aweather diff --git a/src/aweather-gui.h b/src/aweather-gui.h index 020aed6..eb28a55 100644 --- a/src/aweather-gui.h +++ b/src/aweather-gui.h @@ -20,10 +20,8 @@ #include #include -#include "gis-opengl.h" -#include "gis-world.h" -#include "gis-view.h" -#include "aweather-plugin.h" + +#include /* Type macros */ #define AWEATHER_TYPE_GUI (aweather_gui_get_type()) @@ -40,11 +38,13 @@ struct _AWeatherGui { GtkWindow parent_instance; /* instance members */ - GisWorld *world; - GisView *view; - GisOpenGL *opengl; - GtkBuilder *builder; - GList *plugins; + GtkBuilder *builder; + GisWorld *world; + GisView *view; + GisOpenGL *opengl; + GisPlugins *plugins; + GisPrefs *prefs; + GtkListStore *gtk_plugins; }; struct _AWeatherGuiClass { @@ -56,15 +56,16 @@ struct _AWeatherGuiClass { GType aweather_gui_get_type(void); /* Methods */ -AWeatherGui *aweather_gui_new(); +AWeatherGui *aweather_gui_new(); -GisWorld *aweather_gui_get_world(AWeatherGui *gui); -GisOpenGL *aweather_gui_get_opengl(AWeatherGui *gui); -GisView *aweather_gui_get_view(AWeatherGui *gui); +GisWorld *aweather_gui_get_world(AWeatherGui *gui); +GisOpenGL *aweather_gui_get_opengl(AWeatherGui *gui); +GisView *aweather_gui_get_view(AWeatherGui *gui); -GtkWidget *aweather_gui_get_widget(AWeatherGui *gui, const gchar *name); -GObject *aweather_gui_get_object(AWeatherGui *gui, const gchar *name); +GtkWidget *aweather_gui_get_widget(AWeatherGui *gui, const gchar *name); +GObject *aweather_gui_get_object(AWeatherGui *gui, const gchar *name); -void aweather_gui_register_plugin(AWeatherGui *gui, AWeatherPlugin *plugin); +void aweather_gui_attach_plugin(AWeatherGui *self, const gchar *name); +void aweather_gui_deattach_plugin(AWeatherGui *self, const gchar *name); #endif