Split OneSixVersion into parts.
This commit is contained in:
12
logic/OpSys.cpp
Normal file
12
logic/OpSys.cpp
Normal file
@ -0,0 +1,12 @@
|
||||
#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;
|
||||
}
|
Reference in New Issue
Block a user