diff options
author | Petr Mrázek <peterix@gmail.com> | 2013-09-11 23:43:17 +0200 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2013-09-11 23:43:17 +0200 |
commit | 7721c57e5e1093a3d8597b6b6f30c97d2aa3d8a5 (patch) | |
tree | 5b8e5d3401d535c9f429d1bcdaa51e6968998470 /logic/OpSys.cpp | |
parent | 108a5a677c4bf248b70e77046502ea96bd9cfe65 (diff) | |
download | PrismLauncher-7721c57e5e1093a3d8597b6b6f30c97d2aa3d8a5.tar.gz PrismLauncher-7721c57e5e1093a3d8597b6b6f30c97d2aa3d8a5.tar.bz2 PrismLauncher-7721c57e5e1093a3d8597b6b6f30c97d2aa3d8a5.zip |
Split OneSixVersion into parts.
Diffstat (limited to 'logic/OpSys.cpp')
-rw-r--r-- | logic/OpSys.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/logic/OpSys.cpp b/logic/OpSys.cpp new file mode 100644 index 00000000..559479fd --- /dev/null +++ b/logic/OpSys.cpp @@ -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; +}
\ No newline at end of file |