]> Pileus Git - aweather/blobdiff - src/gis/gis-opengl.h
Splitting out libgis
[aweather] / src / gis / gis-opengl.h
diff --git a/src/gis/gis-opengl.h b/src/gis/gis-opengl.h
deleted file mode 100644 (file)
index fcaaa0e..0000000
+++ /dev/null
@@ -1,74 +0,0 @@
-/*
- * Copyright (C) 2009 Andy Spencer <spenceal@rose-hulman.edu>
- * 
- * 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
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- * 
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- * 
- * You should have received a copy of the GNU General Public License
- * along with this program.  If not, see <http://www.gnu.org/licenses/>.
- */
-
-#ifndef __GIS_OPENGL_H__
-#define __GIS_OPENGL_H__
-
-#include <gtk/gtk.h>
-#include <gtk/gtkgl.h>
-#include <glib-object.h>
-
-/* Type macros */
-#define GIS_TYPE_OPENGL            (gis_opengl_get_type())
-#define GIS_OPENGL(obj)            (G_TYPE_CHECK_INSTANCE_CAST((obj),   GIS_TYPE_OPENGL, GisOpenGL))
-#define GIS_IS_OPENGL(obj)         (G_TYPE_CHECK_INSTANCE_TYPE((obj),   GIS_TYPE_OPENGL))
-#define GIS_OPENGL_CLASS(klass)    (G_TYPE_CHECK_CLASS_CAST   ((klass), GIS_TYPE_OPENGL, GisOpenGLClass))
-#define GIS_IS_OPENGL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE   ((klass), GIS_TYPE_OPENGL))
-#define GIS_OPENGL_GET_CLASS(obj)  (G_TYPE_INSTANCE_GET_CLASS ((obj),   GIS_TYPE_OPENGL, GisOpenGLClass))
-
-typedef struct _GisOpenGL      GisOpenGL;
-typedef struct _GisOpenGLClass GisOpenGLClass;
-
-#include "gis-view.h"
-#include "gis-world.h"
-#include "gis-plugin.h"
-#include "roam.h"
-#include "wms.h"
-
-struct _GisOpenGL {
-       GtkDrawingArea parent_instance;
-
-       /* instance members */
-       GisWorld   *world;
-       GisView    *view;
-       GisPlugins *plugins;
-       RoamSphere *sphere;
-       WmsInfo    *bmng;
-       WmsInfo    *srtm;
-       guint       sm_source;
-};
-
-struct _GisOpenGLClass {
-       GtkDrawingAreaClass parent_class;
-       
-       /* class members */
-};
-
-GType gis_opengl_get_type(void);
-
-/* Methods */
-GisOpenGL *gis_opengl_new(GisWorld *world, GisView *view, GisPlugins *plugins);
-
-void gis_opengl_center_position(GisOpenGL *gis, gdouble lat, gdouble lon, gdouble elev);
-
-void gis_opengl_redraw(GisOpenGL *gis);
-
-void gis_opengl_begin(GisOpenGL *gis);
-void gis_opengl_end(GisOpenGL *gis);
-void gis_opengl_flush(GisOpenGL *gis);
-
-#endif