2013-11-22 00:10:35 +00:00
|
|
|
/* RetroArch - A frontend for libretro.
|
|
|
|
* Copyright (C) 2013 - Jason Fetters
|
|
|
|
* Copyright (C) 2011-2013 - 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/>.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __APPLE_EXPORT_H
|
|
|
|
#define __APPLE_EXPORT_H
|
|
|
|
|
|
|
|
#include <stdint.h>
|
|
|
|
|
|
|
|
enum basic_event_t {
|
|
|
|
RESET = 1,
|
|
|
|
LOAD_STATE = 2,
|
|
|
|
SAVE_STATE = 3,
|
|
|
|
QUIT = 4
|
|
|
|
};
|
|
|
|
extern void apple_event_basic_command(void* userdata);
|
|
|
|
extern void apple_event_set_state_slot(void* userdata);
|
|
|
|
extern void apple_event_show_rgui(void* userdata);
|
|
|
|
|
|
|
|
extern void apple_refresh_config(void);
|
|
|
|
extern void apple_enter_stasis(void);
|
|
|
|
extern void apple_exit_stasis(bool reload_config);
|
|
|
|
extern void objc_clear_config_hack(void);
|
2013-11-22 00:42:20 +00:00
|
|
|
extern void *rarch_main_spring(void* args);
|
2013-11-22 00:10:35 +00:00
|
|
|
|
|
|
|
extern bool apple_is_running;
|
|
|
|
|
|
|
|
#endif
|