X-Git-Url: http://pileus.org/git/?p=grits;a=blobdiff_plain;f=src%2Fgis%2Fgis.h;fp=src%2Faweather-plugin.c;h=be6cbc312775729580a76c11511cd0e0926ac59c;hp=87cf35cb1e59620e5ed45041d69bd42114239391;hb=ca898105ec4018b54ac2f6f1327200624169103e;hpb=f705ad00b5d94f8ddc59575737b79feed191b404 diff --git a/src/aweather-plugin.c b/src/gis/gis.h similarity index 50% rename from src/aweather-plugin.c rename to src/gis/gis.h index 87cf35c..be6cbc3 100644 --- a/src/aweather-plugin.c +++ b/src/gis/gis.h @@ -15,36 +15,20 @@ * along with this program. If not, see . */ -#include +#ifndef __GIS_H__ +#define __GIS_H__ -#include "aweather-plugin.h" +/* GIS Core */ +#include "gis-world.h" +#include "gis-view.h" +#include "gis-opengl.h" +#include "gis-prefs.h" -static void aweather_plugin_base_init(gpointer g_class) -{ - static gboolean is_initialized = FALSE; - if (!is_initialized) { - /* add properties and signals to the interface here */ - is_initialized = TRUE; - } -} +/* GIS helprs */ +#include "gis-data.h" +#include "gis-marshal.h" -GType aweather_plugin_get_type() -{ - static GType type = 0; - if (type == 0) { - static const GTypeInfo info = { - sizeof(AWeatherPluginInterface), - aweather_plugin_base_init, - NULL, - }; - type = g_type_register_static(G_TYPE_INTERFACE, - "AWeatherPlugin", &info, 0); - } - return type; -} +/* Plugins */ +#include "gis-plugin.h" -void aweather_plugin_expose(AWeatherPlugin *self) -{ - g_return_if_fail(AWEATHER_IS_PLUGIN(self)); - AWEATHER_PLUGIN_GET_INTERFACE(self)->expose(self); -} +#endif