]> Pileus Git - aweather/blobdiff - src/plugins/radar.h
Remove marching code (now in marching branch)
[aweather] / src / plugins / radar.h
index 1aa9cb3b9dc98fa6e591becc3b579a99f0922e12..771b1d4ba449acc6d743cf7fe7b1271a3d56ee85 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2009 Andy Spencer <spenceal@rose-hulman.edu>
+ * Copyright (C) 2009-2010 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
 #define __RADAR_H__
 
 #include <glib-object.h>
-#include <libsoup/soup.h>
 #include <rsl.h>
 
-#include <gis/gis.h>
-
-#include "marching.h"
+#include <gis.h>
 
 /* TODO: convert */
 typedef struct {
@@ -49,19 +46,20 @@ struct _GisPluginRadar {
        /* instance members */
        GisViewer   *viewer;
        GisPrefs    *prefs;
+       GisHttp     *http;
        GtkWidget   *config_body;
        GtkWidget   *progress_bar;
        GtkWidget   *progress_label;
-       SoupSession *soup;
        guint        time_changed_id;
+       guint        location_changed_id;
 
        /* Private data for loading radars */
+       char        *cur_site;
+       char        *cur_time;
        Radar       *cur_radar;
        Sweep       *cur_sweep;
        colormap_t  *cur_colormap;
        guint        cur_sweep_tex;
-       TRIANGLE    *cur_triangles;
-       guint        cur_num_triangles;
 };
 
 struct _GisPluginRadarClass {