Split OneSixVersion into parts.

This commit is contained in:
Petr Mrázek
2013-09-11 23:43:17 +02:00
parent 108a5a677c
commit 7721c57e5e
12 changed files with 287 additions and 259 deletions

12
logic/OpSys.cpp Normal file
View 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;
}