| 1 | #ifndef VERSION_H |
| 2 | #define VERSION_H |
| 3 | |
| 4 | #include <string> |
| 5 | |
| 6 | class Version { |
| 7 | public: |
| 8 | // Defined by build system: |
| 9 | static const bool RELEASE; |
| 10 | static const char* const VERSION; |
| 11 | static const char* const REVISION; |
| 12 | |
| 13 | // Computed using constants above: |
| 14 | static std::string full(); |
| 15 | }; |
| 16 | |
| 17 | #endif // VERSION_H |