summaryrefslogtreecommitdiff
path: root/navit/map.h
diff options
context:
space:
mode:
authormartin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220>2009-10-25 18:22:57 +0000
committermartin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220>2009-10-25 18:22:57 +0000
commitcf0619d31ca6507b7fc20d047c440cb90673e655 (patch)
treed2cfefad00a8674a06ae88c4855a6732c296535e /navit/map.h
parentdd20de532f00c31857129a2b27202d8829cfaf9e (diff)
downloadnavit-svn-cf0619d31ca6507b7fc20d047c440cb90673e655.tar.gz
Core:Made attributes for maps settable
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@2690 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'navit/map.h')
-rw-r--r--navit/map.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/navit/map.h b/navit/map.h
index b43313b5..dda18e16 100644
--- a/navit/map.h
+++ b/navit/map.h
@@ -75,6 +75,9 @@ struct map_methods {
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);
+
};
/**