diff options
Diffstat (limited to 'funkey/fk_instant_play.h')
-rw-r--r-- | funkey/fk_instant_play.h | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/funkey/fk_instant_play.h b/funkey/fk_instant_play.h new file mode 100644 index 0000000..b3e3845 --- /dev/null +++ b/funkey/fk_instant_play.h @@ -0,0 +1,50 @@ +/* + 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 <signal.h> + +#define AUTOSAVE_SLOT 99 + +extern void FK_InitInstantPlay(int argc, char **argv); + +/* Ends C function definitions when using C++ */ +#ifdef __cplusplus +} +#endif + +#endif /* _FK_instant_play_h */ |