]> Pileus Git - grits/blobdiff - src/gis/gis.h
Splitting GIS into a shared library, and a lot more
[grits] / src / gis / gis.h
similarity index 50%
rename from src/aweather-plugin.c
rename to src/gis/gis.h
index 87cf35cb1e59620e5ed45041d69bd42114239391..be6cbc312775729580a76c11511cd0e0926ac59c 100644 (file)
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 
-#include <glib.h>
+#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