60#if defined(Q_OS_WIN32) || defined(Q_OS_WIN64)
61# define KLF_PATH_SEP ';'
62# define KLF_DIR_SEP '\\'
64# define KLF_PATH_SEP ':'
65# define KLF_DIR_SEP '/'
Base declarations for klatexformula and some utilities.
Utilities to get system information.
int sizeofVoidStar()
the processor register size.
KLF_EXPORT QString osString(KLFSysInfo::Os sysos=os())
The operating system we are running, returned as a string.
Os
List of known operating systems.
@ MacOsX
systems on which Q_OS_DARWIN is defined
@ Win32
systems on which Q_OS_WIN32 is defined
@ Linux
systems on which Q_OS_LINUX is defined
@ OtherOs
systems on which neither Q_OS_{LINUX|WIN32|DARWIN} is defined
KLF_EXPORT bool isCompatibleSysArch(const QString &sysarch)
KLF_EXPORT bool isLaptop()
KLF_EXPORT QString makeSysArch(const QString &os, const QString &arch)
KLF_EXPORT BatteryInfo batteryInfo()
KLF_EXPORT KLFSysInfo::Os os()
Which operating system this system is running.
KLF_EXPORT QString arch()
The architecture of this sytem.
KLF_EXPORT bool isOnBatteryPower()