1 #include <msp/strings/format.h>
4 #include "openvr/openvrsystem.h"
7 #include "libovr/libovrsystem.h"
15 System *System::create(const string &type)
19 return new OpenVRSystem;
23 return new LibOVRSystem;
25 throw invalid_argument(format("system '%s' not supported", type));