Fix:core: do not exposure the map text file headr stuff into navit.c
authorwoglinde <woglinde@ffa7fe5e-494d-0410-b361-a75ebd5db220>
Sat, 18 Feb 2012 20:38:25 +0000 (20:38 +0000)
committerwoglinde <woglinde@ffa7fe5e-494d-0410-b361-a75ebd5db220>
Sat, 18 Feb 2012 20:38:25 +0000 (20:38 +0000)
git-svn-id: https://navit.svn.sourceforge.net/svnroot/navit/trunk@4939 ffa7fe5e-494d-0410-b361-a75ebd5db220

navit/navit/map/textfile/textfile.h
navit/navit/navit.c

index 929cfd7..75e5401 100644 (file)
@@ -22,7 +22,6 @@
 #include "coord.h"
 
 #define TEXTFILE_COMMENT_CHAR '#'
-#define TEXTFILE_COMMENT_NAVI_STOPPED "# navigation stopped\n"
 
 struct map_priv {
        int id;
index 1bff73e..183d23c 100644 (file)
@@ -76,8 +76,8 @@
 #include "libc.h"
 #endif
 
-/*FIXME: don't include pvt textfile map includes here */
-#include "map/textfile/textfile.h"
+/* define string for bookmark handling */
+#define TEXTFILE_COMMENT_NAVI_STOPPED "# navigation stopped\n"
 
 /**
  * @defgroup navit the navit core instance. navit is the object containing nearly everything: A set of maps, one or more vehicle, a graphics object for rendering the map, a gui object for displaying the user interface, a route object, a navigation object and so on. Be warned that it is theoretically possible to have more than one navit object