RetroArch/griffin/griffin_objc.m

55 lines
1.6 KiB
Mathematica
Raw Normal View History

/* RetroArch - A frontend for libretro.
2016-01-10 03:41:52 +00:00
* Copyright (C) 2011-2016 - 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-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"
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"
#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"
#endif
2015-02-28 18:12:27 +00:00
#endif
#ifdef HAVE_MFI
2015-11-16 01:39:38 +00:00
#include "../input/drivers_joypad/mfi_joypad.m"
#endif