Functions related to MacOS support. More...
Go to the source code of this file.
Defines | |
#define | MAC_OS_X_VERSION_10_3 1030 |
#define | MAC_OS_X_VERSION_10_4 1040 |
#define | MAC_OS_X_VERSION_10_5 1050 |
#define | MAC_OS_X_VERSION_10_6 1060 |
#define | MAC_OS_X_VERSION_10_7 1070 |
#define | MAC_OS_X_VERSION_10_8 1080 |
Functions | |
void | ShowMacDialog (const char *title, const char *message, const char *button_label) |
Helper function displaying a message the best possible way. | |
void | GetMacOSVersion (int *return_major, int *return_minor, int *return_bugfix) |
static bool | MacOSVersionIsAtLeast (long major, long minor, long bugfix) |
Check if we are at least running on the specified version of Mac OS. |
Functions related to MacOS support.
Definition in file macos.h.
static bool MacOSVersionIsAtLeast | ( | long | major, | |
long | minor, | |||
long | bugfix | |||
) | [inline, static] |
Check if we are at least running on the specified version of Mac OS.
major | major version of the os. This would be 10 in the case of 10.4.11. | |
minor | minor version of the os. This would be 4 in the case of 10.4.11. | |
bugfix | bugfix version of the os. This would be 11 in the case of 10.4.11. |
void ShowMacDialog | ( | const char * | title, | |
const char * | message, | |||
const char * | button_label | |||
) |
Helper function displaying a message the best possible way.
Referenced by CrashLogOSX::DisplayCrashDialog(), and HandleCrash().