2013-09-11 22:43:17 +01:00
|
|
|
#pragma once
|
|
|
|
#include <QString>
|
|
|
|
enum OpSys
|
|
|
|
{
|
|
|
|
Os_Windows,
|
|
|
|
Os_Linux,
|
|
|
|
Os_OSX,
|
|
|
|
Os_Other
|
|
|
|
};
|
|
|
|
|
|
|
|
OpSys OpSys_fromString(QString);
|
2013-09-22 03:21:36 +01:00
|
|
|
QString OpSys_toString(OpSys);
|
2013-09-11 22:43:17 +01:00
|
|
|
|
|
|
|
#ifdef Q_OS_WIN32
|
|
|
|
#define currentSystem Os_Windows
|
|
|
|
#else
|
|
|
|
#ifdef Q_OS_MAC
|
|
|
|
#define currentSystem Os_OSX
|
|
|
|
#else
|
|
|
|
#define currentSystem Os_Linux
|
|
|
|
#endif
|
|
|
|
#endif
|