2015-04-12 16:56:23 +00:00
|
|
|
/* RetroArch - A frontend for libretro.
|
|
|
|
* Copyright (C) 2011-2015 - Daniel De Matteis
|
|
|
|
*
|
|
|
|
* 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-08-05 02:11:20 +00:00
|
|
|
#include "../libretro-common/file/dir_list_obj.m"
|
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"
|
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-04-05 13:41:41 +00:00
|
|
|
#include "../input/drivers_hid/mfi_hid.m"
|
2015-04-05 03:36:53 +00:00
|
|
|
#endif
|