Navit SVN

/work/compile/navit/src/navit/map/csv/csv.h

00001 
00020 #include <stdio.h>
00021 #include <glib.h>
00022 
00023 #include "attr.h"
00024 #include "coord.h"
00025 #include "quadtree.h"
00026 
00027 
00028 struct map_priv {
00029         int id;
00030         struct quadtree_node* tree_root;
00031         int flags;
00032         GHashTable*qitem_hash;
00033         char* filename;
00034         /*need to write map file on exit*/
00035         int dirty;  
00036         int attr_cnt;
00037         enum attr_type *attr_types;
00038         int next_item_idx;
00039         enum item_type item_type;
00040         /*list of quadtree items that have no coord set yet ()*/
00041         GList* new_items;  
00042         char *charset;
00043 };
00044 
00045 struct map_rect_priv {
00046         struct map_selection *sel;
00047         struct quadtree_iter *qiter;
00048         struct quadtree_item *qitem;
00049         struct coord c;
00050         int bStarted;
00051         struct item item;
00052         struct map_priv *m;
00053         GList* at_iter;
00054 };
00055