FIX: windows build process: enable png build
[navit-package] / navit / map.h
index b2e68d7..dda18e1 100644 (file)
@@ -74,6 +74,10 @@ struct map_methods {
        struct map_search_priv *(*map_search_new)(struct map_priv *map, struct item *item, struct attr *search, int partial); /**< Function to start a new search on the map */
        void                    (*map_search_destroy)(struct map_search_priv *ms); /**< Function to destroy a map search struct */
        struct item *           (*map_search_get_item)(struct map_search_priv *ms); /**< Function to get the next item of a search on the map */
+       struct item *           (*map_rect_create_item)(struct map_rect_priv *mr, enum item_type type); /**< Function to create a new item in the map */
+       int                     (*map_get_attr)(struct map_priv *priv, enum attr_type type, struct attr *attr);
+        int                    (*map_set_attr)(struct map_priv *priv, struct attr *attr);
+
 };
 
 /**
@@ -253,7 +257,7 @@ int map_selection_contains_item_range(struct map_selection *sel, int follow, str
 int map_selection_contains_item(struct map_selection *sel, int follow, enum item_type type);
 int map_priv_is(struct map *map, struct map_priv *priv);
 void map_dump_filedesc(struct map *map, FILE *out);
-void map_dump_file(struct map *map, char *file);
+void map_dump_file(struct map *map, const char *file);
 void map_dump(struct map *map);
 /* end of prototypes */