--- a/src/main.h Fri Dec 13 00:39:49 2013 +0200 +++ b/src/main.h Fri Dec 13 20:01:49 2013 +0200 @@ -122,6 +122,7 @@ #define properties private #define typedefs public #define methods +#define for_axes(AX) for (const Axis ax : std::initializer_list<const Axis> ({X, Y, Z})) // ----------------------------------------------------------------------------- #ifdef IN_IDE_PARSER // KDevelop workarounds: