Changed symbolic macro to enum

This improves doxygen-generated documentation and helps
debuggers and compilers to use additionaldebug informations
and type checking.