sneedmc/logic/OpSys.cpp
2013-09-11 23:43:17 +02:00

12 lines
198 B
C++

#include "OpSys.h"
OpSys OpSys_fromString(QString name)
{
if(name == "linux")
return Os_Linux;
if(name == "windows")
return Os_Windows;
if(name == "osx")
return Os_OSX;
return Os_Other;
}