/*
- * Copyright (C) 2009 Andy Spencer <spenceal@rose-hulman.edu>
+ * Copyright (C) 2009-2011 Andy Spencer <andy753421@gmail.com>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
#include <gtk/gtk.h>
#include <glib-object.h>
-#include "gis-opengl.h"
-#include "gis-world.h"
-#include "gis-view.h"
-#include "aweather-plugin.h"
+
+#include <grits.h>
/* Type macros */
#define AWEATHER_TYPE_GUI (aweather_gui_get_type())
GtkWindow parent_instance;
/* instance members */
- GisWorld *world;
- GisView *view;
- GisOpenGL *opengl;
- GtkBuilder *builder;
- GList *plugins;
+ GtkBuilder *builder;
+ GritsViewer *viewer;
+ GritsPlugins *plugins;
+ GritsPrefs *prefs;
+ GtkListStore *gtk_plugins;
+ guint update_source;
};
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);
+GritsViewer *aweather_gui_get_viewer(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