Add:Core:Support for group attributes
authormartin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220>
Thu, 18 Mar 2010 10:59:34 +0000 (10:59 +0000)
committermartin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220>
Thu, 18 Mar 2010 10:59:34 +0000 (10:59 +0000)
git-svn-id: https://navit.svn.sourceforge.net/svnroot/navit/trunk@3050 ffa7fe5e-494d-0410-b361-a75ebd5db220

navit/navit/attr.h

index 10329e5..939f462 100644 (file)
@@ -86,6 +86,7 @@ enum attr_position_valid {
 #define ATTR_IS_COLOR(x) ((x) >= attr_type_color_begin && (x) <= attr_type_color_end)
 #define ATTR_IS_PCOORD(x) ((x) >= attr_type_pcoord_begin && (x) <= attr_type_pcoord_end)
 #define ATTR_IS_COORD(x) ((x) >= attr_type_coord_begin && (x) <= attr_type_coord_end)
+#define ATTR_IS_GROUP(x) ((x) >= attr_type_group_begin && (x) <= attr_type_group_end)
 
 #define ATTR_DEF_STR(x,y) (&(struct attr){attr_##x,{y}})
 #define ATTR_DEF_INT(x,y) (&(struct attr){attr_##x,{(char *)(y)}})