]> git.itanic.dy.fi Git - maemo-mapper/blobdiff - src/types.h
* Made compatible with new Debian autobuilder architecture.
[maemo-mapper] / src / types.h
index 36a4753fc0cf604afe81f21005efdb712bb721a6..b6ec785bfb33e1d499599068bcee5b9e8dae00d0 100644 (file)
@@ -81,25 +81,6 @@ typedef enum
     CENTER_LATLON = 2
 } CenterMode;
 
-/** This enum defines the states of the SAX parsing state machine. */
-typedef enum
-{
-    START,
-    INSIDE_GPX,
-    INSIDE_WPT,
-    INSIDE_WPT_NAME,
-    INSIDE_WPT_DESC,
-    INSIDE_PATH,
-    INSIDE_PATH_SEGMENT,
-    INSIDE_PATH_POINT,
-    INSIDE_PATH_POINT_ELE,
-    INSIDE_PATH_POINT_TIME,
-    INSIDE_PATH_POINT_DESC,
-    FINISH,
-    UNKNOWN,
-    ERROR,
-} SaxState;
-
 /** POI dialog action **/
 typedef enum
 {
@@ -312,22 +293,6 @@ struct _Path {
     WayPoint *wcap; /* points after last slot in array. */
 };
 
-/** Data used during the SAX parsing operation. */
-typedef struct _SaxData SaxData;
-struct _SaxData {
-    SaxState state;
-    SaxState prev_state;
-    gint unknown_depth;
-    gboolean at_least_one_trkpt;
-    GString *chars;
-};
-
-typedef struct _PathSaxData PathSaxData;
-struct _PathSaxData {
-    SaxData sax_data;
-    Path path;
-};
-
 /** Data to describe a POI. */
 typedef struct _PoiInfo PoiInfo;
 struct _PoiInfo {
@@ -340,13 +305,6 @@ struct _PoiInfo {
     gchar *clabel;
 };
 
-typedef struct _PoiSaxData PoiSaxData;
-struct _PoiSaxData {
-    SaxData sax_data;
-    GList *poi_list;
-    PoiInfo *curr_poi;
-};
-
 /** Data regarding a map repository. */
 typedef struct _RepoData RepoData;
 struct _RepoData {