RetroArch/griffin/griffin_objc.m

52 lines
1.4 KiB
Mathematica
Raw Normal View History

/* 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
#include <AvailabilityMacros.h>
2015-03-31 01:11:23 +00:00
#endif
#ifndef __IPHONE_OS_VERSION_MAX_ALLOWED
#define __IPHONE_OS_VERSION_MAX_ALLOWED 00000
#endif
#if defined(__APPLE__) && defined(__MACH__)
#include "../frontend/drivers/platform_darwin.m"
#endif
#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
#if defined(HAVE_COCOATOUCH)
#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
#include "../ui/drivers/ui_cocoatouch.m"
2015-04-19 14:24:51 +00:00
#endif
#elif defined(HAVE_COCOA)
2015-04-20 10:43:07 +00:00
#include "../ui/drivers/ui_cocoa.m"
#endif
2015-02-28 18:12:27 +00:00
#endif
#ifdef HAVE_MFI
#include "../input/drivers_hid/mfi_hid.m"
#endif