/* FK - FunKey retro gaming console library Copyright (C) 2020-2021 Vincent Buso Copyright (C) 2020-2021 Michel Stempin This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This library 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA Vincent Buso vincent.buso@funkey-project.com Michel Stempin michel.stempin@funkey-project.com */ /** * @file FK_Instant_Play.h * This is the Instant Play API for the FunKey retro gaming console library */ #ifndef _FK_instant_play_h #define _FK_instant_play_h /* Set up for C function definitions, even when using C++ */ #ifdef __cplusplus extern "C" { #endif #include extern int instant_play; extern void FK_InitInstantPlay(int argc, char **argv); extern void FK_LoadNewGame(const char *fname); extern void FK_Autosave(void); extern void FK_Resume(void); extern void FK_Suspend(void); /* Ends C function definitions when using C++ */ #ifdef __cplusplus } #endif #endif /* _FK_instant_play_h */