summaryrefslogtreecommitdiffstats
path: root/logic/OpSys.cpp
blob: 559479fd11bead3a7c261aeb35fe47d4a507345b (plain)
1
2
3
4
5
6
7
8
9
10
11
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;
}