/* RetroArch - A frontend for libretro. * Copyright (C) 2010-2014 - Hans-Kristian Arntzen * Copyright (C) 2011-2014 - 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 . */ #include #include #include "../../boolean.h" #include #include #include "../../dynamic.h" #include "../../libretro_private.h" static void frontend_qnx_init(void *data) { (void)data; bps_initialize(); } static void frontend_qnx_shutdown(bool unused) { (void)unused; bps_shutdown(); } static int frontend_qnx_get_rating(void) { /* TODO/FIXME - look at unique identifier per device and * determine rating for some */ return -1; } const frontend_ctx_driver_t frontend_ctx_qnx = { NULL, /* get_environment_settings */ frontend_qnx_init, /* init */ NULL, /* deinit */ NULL, /* exitspawn */ NULL, /* process_args */ NULL, /* process_events */ NULL, /* exec */ frontend_qnx_shutdown, /* shutdown */ NULL, /* get_name */ frontend_qnx_get_rating, /* get_rating */ "qnx", };