Create core_type.h

This commit is contained in:
twinaphex 2016-03-22 02:56:06 +01:00
parent 61bae588fb
commit 4c14267f5b
7 changed files with 33 additions and 9 deletions

27
core_type.h Normal file
View File

@ -0,0 +1,27 @@
/* RetroArch - A frontend for libretro.
* Copyright (C) 2011-2016 - 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 __CORE_TYPE_H
#define __CORE_TYPE_H
enum rarch_core_type
{
CORE_TYPE_PLAIN = 0,
CORE_TYPE_DUMMY,
CORE_TYPE_FFMPEG,
CORE_TYPE_IMAGEVIEWER
};
#endif

View File

@ -29,7 +29,9 @@
#include "config.h"
#endif
#include "dynamic.h"
#include "command_event.h"
#include "audio/audio_driver.h"
#include "camera/camera_driver.h"
#include "location/location_driver.h"

View File

@ -19,20 +19,13 @@
#include <boolean.h>
#include "core_type.h"
#include "libretro.h"
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
enum rarch_core_type
{
CORE_TYPE_PLAIN = 0,
CORE_TYPE_DUMMY,
CORE_TYPE_FFMPEG,
CORE_TYPE_IMAGEVIEWER
};
#ifdef __cplusplus
extern "C" {
#endif

View File

@ -25,6 +25,7 @@
#include <boolean.h>
#include <lists/string_list.h>
#include "dynamic.h"
#include "libretro.h"
#include "libretro_version_1.h"
#include "general.h"

View File

@ -45,6 +45,7 @@
#include <retro_assert.h>
#include "content.h"
#include "core_type.h"
#include "core_info.h"
#include "msg_hash.h"
#include "movie.h"

View File

@ -19,7 +19,6 @@
#include <retro_miscellaneous.h>
#include "configuration.h"
#include "dynamic.h"
#ifdef __cplusplus
extern "C" {

View File

@ -21,6 +21,7 @@
#include <queues/task_queue.h>
#include "../core_type.h"
#include "../runloop.h"
#ifdef __cplusplus