13 #ifndef MAC_SYSTEM_INFO_H
14 #define MAC_SYSTEM_INFO_H
18 #if defined(__APPLE__)
static std::string getOSVersion()
Retrieve the Mac OS X operating system version (e.g. '10.5.7')
static std::string getCurrentUserName()
Retrieve the logon name of the current user.
static std::string getFullCurrentUserName()
Retrieve full name of the current user.
static unsigned int getNumberOfCPUPackages()
Return the number of physical processors.
static uint32_t getOSVersionNumber()
Retrieve the Mac OS X operating system version as hex digits number (e.g. 0x100507)
static uint64_t getFreeMemorySize()
Return number of bytes of free memory in the system.
static unsigned int getMaximumRecentDocumentCount()
Returns the maximum number of items that may be presented in the standard Open Recent menu.
static std::string getComputerModelId()
Retrieve the computer's model information (e.g. 'MacBookPro1,1' or 'unknown')
static double getDoubleClickInterval()
Returns the time, in seconds, in which a second mouse click must occur in order to be considered a do...
static unsigned int getNumberOfCPUs()
Return the number of processing cores available on the computer.
static std::string getOSBuildVersion()
Retrieve the Mac OS X operating system build version (e.g. '9J61' or 'unknown')
static unsigned int getNumberOfActiveCPUs()
Return the number of processors currently available for executing threads.
static uint64_t getPhysicalMemorySize()
Return number of bytes of physical memory in the system.
#define OSXSUPPORT_PUBLIC_API
Symbol visibility macros.