6 #include <simgear/debug/logstream.hxx>
10 void Version::setVersion( const char * version )
12 const std::string v(version);
14 if( v == "YASIM_VERSION_ORIGINAL" ) {
15 _version = YASIM_VERSION_ORIGINAL;
16 } else if( v == "YASIM_VERSION_32" ) {
17 _version = YASIM_VERSION_32;
18 } else if( v == "YASIM_VERSION_CURRENT" ) {
19 _version = YASIM_VERSION_CURRENT;
21 SG_LOG(SG_FLIGHT,SG_ALERT,"unknown yasim version '" << version << "' ignored, using YASIM_VERSION_ORIGINAL");