RetroArch/griffin/griffin_objc.m

50 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(HAVE_COCOATOUCH) || defined(HAVE_COCOA)
#include "../gfx/drivers_context/apple_cocoa_gl.m"
#include "../apple/common/apple_cocoa_common.m"
2015-02-28 18:12:27 +00:00
#if defined(HAVE_COCOATOUCH)
#if TARGET_OS_IPHONE
2015-02-28 18:12:27 +00:00
#include "../apple/iOS/menu.m"
#include "../apple/iOS/browser.m"
#include "../apple/iOS/platform.m"
#include "../ui/drivers/ui_cocoatouch.m"
2015-04-19 14:24:51 +00:00
#endif
#elif defined(HAVE_COCOA)
#include "../apple/OSX/platform.m"
#include "../apple/OSX/settings.m"
#endif
2015-02-28 18:12:27 +00:00
#endif
#ifdef HAVE_MFI
#include "../input/drivers_hid/mfi_hid.m"
#endif