2015-02-28 19:52:26 +01:00
|
|
|
#include <Availability.h>
|
|
|
|
|
2015-02-28 20:16:52 +01:00
|
|
|
#ifndef __IPHONE_OS_VERSION_MAX_ALLOWED
|
|
|
|
#define __IPHONE_OS_VERSION_MAX_ALLOWED 00000
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#if __IPHONE_7_0 && __IPHONE_OS_VERSION_MAX_ALLOWED >= 70000
|
2015-02-28 19:52:26 +01:00
|
|
|
#define HAVE_MFI
|
|
|
|
#endif
|
|
|
|
|
2015-02-28 19:12:27 +01:00
|
|
|
#include "../apple/common/CFExtensions.m"
|
|
|
|
#include "../apple/common/utility.m"
|
|
|
|
|
|
|
|
#include "../apple/common/RAGameView.m"
|
|
|
|
|
2015-02-28 20:01:38 +01:00
|
|
|
#if TARGET_OS_IPHONE
|
2015-02-28 19:12:27 +01:00
|
|
|
#include "../apple/iOS/platform.m"
|
|
|
|
#include "../apple/iOS/menu.m"
|
|
|
|
#include "../apple/iOS/browser.m"
|
2015-02-28 20:01:38 +01:00
|
|
|
#else
|
|
|
|
#include "../apple/OSX/platform.m"
|
|
|
|
#include "../apple/OSX/settings.m"
|
2015-02-28 19:52:26 +01:00
|
|
|
#endif
|
2015-02-28 19:12:27 +01:00
|
|
|
|
2015-02-28 19:52:26 +01:00
|
|
|
#ifdef HAVE_MFI
|
2015-02-28 19:12:27 +01:00
|
|
|
#include "../apple/common/apple_gamecontroller.m"
|
|
|
|
#endif
|