Split OneSixVersion into parts.
This commit is contained in:
parent
108a5a677c
commit
7721c57e5e
12 changed files with 287 additions and 259 deletions
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;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue