2015-04-12 16:56:23 +00:00
|
|
|
/* RetroArch - A frontend for libretro.
|
2016-01-10 03:41:52 +00:00
|
|
|
* Copyright (C) 2011-2016 - Daniel De Matteis
|
2015-04-12 16:56:23 +00:00
|
|
|
*
|
|
|
|
* RetroArch is free software: you can redistribute it and/or modify it under the terms
|
|
|
|
* of the GNU General Public License as published by the Free Software Found-
|
|
|
|
* ation, either version 3 of the License, or (at your option) any later version.
|
|
|
|
*
|
|
|
|
* RetroArch is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
|
|
|
|
* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
|
|
|
|
* PURPOSE. See the GNU General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License along with RetroArch.
|
|
|
|
* If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
*/
|
|
|
|
|
2015-03-31 01:11:23 +00:00
|
|
|
#ifdef IOS
|
|
|
|
#include <Availability.h>
|
|
|
|
#else
|
2015-03-30 15:10:31 +00:00
|
|
|
#include <AvailabilityMacros.h>
|
2015-03-31 01:11:23 +00:00
|
|
|
#endif
|
2015-02-28 18:52:26 +00:00
|
|
|
|
2015-02-28 19:16:52 +00:00
|
|
|
#ifndef __IPHONE_OS_VERSION_MAX_ALLOWED
|
|
|
|
#define __IPHONE_OS_VERSION_MAX_ALLOWED 00000
|
|
|
|
#endif
|
|
|
|
|
2015-04-20 15:19:51 +00:00
|
|
|
#if defined(__APPLE__) && defined(__MACH__)
|
|
|
|
#include "../frontend/drivers/platform_darwin.m"
|
2015-04-20 12:05:55 +00:00
|
|
|
#endif
|
|
|
|
|
2015-04-19 14:29:53 +00:00
|
|
|
#if defined(HAVE_COCOATOUCH) || defined(HAVE_COCOA)
|
2015-04-21 09:03:39 +00:00
|
|
|
#include "../gfx/drivers_context/cocoa_gl_ctx.m"
|
2015-04-20 10:52:16 +00:00
|
|
|
#include "../ui/drivers/cocoa/cocoa_common.m"
|
2015-02-28 18:12:27 +00:00
|
|
|
|
2015-04-19 14:29:53 +00:00
|
|
|
#if defined(HAVE_COCOATOUCH)
|
|
|
|
|
2015-02-28 19:01:38 +00:00
|
|
|
#if TARGET_OS_IPHONE
|
2015-04-20 15:33:29 +00:00
|
|
|
#include "../ui/drivers/cocoa/cocoatouch_menu.m"
|
2015-04-20 10:43:07 +00:00
|
|
|
|
2015-04-12 01:18:37 +00:00
|
|
|
#include "../ui/drivers/ui_cocoatouch.m"
|
2015-04-19 14:24:51 +00:00
|
|
|
#endif
|
2015-04-19 14:29:53 +00:00
|
|
|
|
|
|
|
#elif defined(HAVE_COCOA)
|
2015-04-20 10:43:07 +00:00
|
|
|
#include "../ui/drivers/ui_cocoa.m"
|
2016-06-08 13:52:58 +00:00
|
|
|
#include "../ui/drivers/cocoa/ui_cocoa_browser_window.m"
|
2016-06-04 05:56:28 +00:00
|
|
|
#include "../ui/drivers/cocoa/ui_cocoa_window.m"
|
2016-06-08 04:33:15 +00:00
|
|
|
#include "../ui/drivers/cocoa/ui_cocoa_msg_window.m"
|
2016-06-07 14:51:25 +00:00
|
|
|
#include "../ui/drivers/cocoa/ui_cocoa_application.m"
|
2015-02-28 18:52:26 +00:00
|
|
|
#endif
|
2015-02-28 18:12:27 +00:00
|
|
|
|
2015-04-19 14:29:53 +00:00
|
|
|
#endif
|
|
|
|
|
2015-02-28 18:52:26 +00:00
|
|
|
#ifdef HAVE_MFI
|
2015-11-16 01:39:38 +00:00
|
|
|
#include "../input/drivers_joypad/mfi_joypad.m"
|
2015-04-05 03:36:53 +00:00
|
|
|
#endif
|