Support Class Library
A set of tools providing classes and utility
Namespaces | Macros | Variables
apple.h File Reference

Go to the source code of this file.

Namespaces

 scl
 Global namespace of the SCL.
 
 scl::detect
 Namespace for detecting features, platform, etc...
 
 scl::detect::platform
 Namespace for platform detection.
 

Macros

#define SCL_PLATFORM_APPLE   false
 Macro that detects whether or not the platform is by Apple. More...
 
#define SCL_PLATFORM_IOS_SIMULATOR   false
 
#define SCL_PLATFORM_IOS   false
 
#define SCL_PLATFORM_OSX   false
 
#define SCL_PLATFORM_MAC   SCL_PLATFORM_OSX
 Macro that detects whether or not the platform is a Mac. More...
 
#define SCL_PLATFORM_IPHONE   SCL_PLATFORM_IOS
 

Variables

constexpr bool scl::detect::platform::iosSimulator = false
 
constexpr bool scl::detect::platform::ios = false
 
constexpr bool scl::detect::platform::osx = false
 
constexpr bool scl::detect::platform::apple = false
 
constexpr bool scl::detect::platform::mac = false
 
constexpr bool scl::detect::platform::iphone = false
 

Macro Definition Documentation

◆ SCL_PLATFORM_APPLE

#define SCL_PLATFORM_APPLE   false

Macro that detects whether or not the platform is by Apple.

Definition at line 41 of file apple.h.

◆ SCL_PLATFORM_IOS

#define SCL_PLATFORM_IOS   false

Definition at line 43 of file apple.h.

◆ SCL_PLATFORM_IOS_SIMULATOR

#define SCL_PLATFORM_IOS_SIMULATOR   false

Definition at line 42 of file apple.h.

◆ SCL_PLATFORM_IPHONE

#define SCL_PLATFORM_IPHONE   SCL_PLATFORM_IOS

Definition at line 57 of file apple.h.

◆ SCL_PLATFORM_MAC

#define SCL_PLATFORM_MAC   SCL_PLATFORM_OSX

Macro that detects whether or not the platform is a Mac.

Macro that detects whether or not the platform is an iPhone.

◆ SCL_PLATFORM_OSX

#define SCL_PLATFORM_OSX   false

Definition at line 44 of file apple.h.