VISR  0.11.8
Versatile Interactive Scene Renderer
version.hpp
Go to the documentation of this file.
1 /* Copyright Institute of Sound and Vibration Research - All rights reserved */
2 
3 #ifndef VISR_VERSION_HPP_INCLUDED
4 #define VISR_VERSION_HPP_INCLUDED
5 
6 #include "export_symbols.hpp"
7 
8 #include <string>
9 
10 // Avoid warning with newer glibc versions (>=2.25)
11 // This might cause problems if code included after this file uses these macros.
12 #if defined(__GLIBC__) && defined( __GLIBC_MINOR__) && (__GLIBC__ >= 2) && (__GLIBC_MINOR__ >= 25 )
13 #undef major
14 #undef minor
15 #endif
16 
17 namespace visr
18 {
19 
24 namespace version
25 {
26 
30 VISR_CORE_LIBRARY_SYMBOL unsigned int major();
31 
32 
36 VISR_CORE_LIBRARY_SYMBOL unsigned int minor();
37 
41 VISR_CORE_LIBRARY_SYMBOL unsigned int patch();
42 
46 VISR_CORE_LIBRARY_SYMBOL std::string versionString();
47 
51 VISR_CORE_LIBRARY_SYMBOL std::string features();
52 
58 VISR_CORE_LIBRARY_SYMBOL bool hasFeature( std::string const & feature );
59 
60 } // namespace version
61 } // namespace visr
62 
63 #endif // #ifndef VISR_AUDIO_INPUT_HPP_INCLUDED
bool hasFeature(std::string const &feature)
Definition: version.cpp:59
unsigned int minor()
Definition: version.cpp:20
std::string versionString()
Definition: version.cpp:30
Definition: options.cpp:10
unsigned int patch()
Definition: version.cpp:25
std::string features()
Definition: version.cpp:52
unsigned int major()
Definition: version.cpp:15