--- a/src/ldObject.h Thu May 01 14:26:10 2014 +0300 +++ b/src/ldObject.h Sat May 03 00:36:50 2014 +0300 @@ -90,7 +90,9 @@ EError, // Object is the result of failed parsing EEmpty, // Object represents an empty line EUnidentified, // Unknown object type (some functions return this; TODO: they probably should not) - ENumTypes // Amount of object types + + ENumTypes, // Amount of object types + EFirstType = ESubfile }; LDObject(); @@ -193,6 +195,8 @@ LDSharedVertex* m_coords[4]; }; +NUMERIC_ENUM_OPERATORS (LDObject::Type) + // ============================================================================= // LDSharedVertex //