- Timestamp:
- Jul 24, 2011, 1:22:11 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/output/src/libraries/util/output/OutputDefinitions.h
r8765 r8771 31 31 32 32 #include "util/UtilPrereqs.h" 33 #include <string> 33 34 34 35 namespace orxonox … … 58 59 typedef uint64_t OutputContext; 59 60 61 extern _UtilExport OutputContext registerContext(const std::string& name); 62 60 63 namespace context 61 64 { 62 65 static const OutputContext all = 0xFFFFFFFFFFFFFFFF; 63 66 static const OutputContext none = 0x0000000000000000; 64 static const OutputContext undefined = 0x0000000000000001;67 static const OutputContext undefined = registerContext("undefined"); 65 68 66 static const OutputContext test1 = 0x0000000000000002;67 static const OutputContext test2 = 0x0000000000000004;69 static const OutputContext test1 = registerContext("test1"); 70 static const OutputContext test2 = registerContext("test2"); 68 71 } 69 72 }
Note: See TracChangeset
for help on using the changeset viewer.