SAMSUNGTV: Fix build on non-SDL platforms

This commit is contained in:
Willem Jan Palenstijn 2011-05-24 20:58:36 +02:00
parent 48b4c6c923
commit 725db142bc
3 changed files with 12 additions and 6 deletions

View File

@ -20,12 +20,14 @@
*
*/
#include "common/scummsys.h"
#if defined(SAMSUNGTV)
#include "backends/platform/samsungtv/samsungtv.h"
#include "backends/events/samsungtvsdl/samsungtvsdl-events.h"
#include "backends/graphics/samsungtvsdl/samsungtvsdl-graphics.h"
#if defined(SAMSUNGTV)
SamsungTVSdlGraphicsManager::SamsungTVSdlGraphicsManager(SdlEventSource *sdlEventSource)
: SdlGraphicsManager(sdlEventSource) {
}

View File

@ -22,12 +22,14 @@
#define FORBIDDEN_SYMBOL_EXCEPTION_unistd_h
#include "common/scummsys.h"
#if defined(SAMSUNGTV)
#include "backends/platform/samsungtv/samsungtv.h"
#include "backends/plugins/sdl/sdl-provider.h"
#include "base/main.h"
#if defined(SAMSUNGTV)
#include <unistd.h>
extern "C" int Game_Main(char *path, char *) {

View File

@ -20,12 +20,14 @@
*
*/
#include "common/scummsys.h"
#if defined(SAMSUNGTV)
#include "backends/platform/samsungtv/samsungtv.h"
#include "backends/events/samsungtvsdl/samsungtvsdl-events.h"
#include "backends/graphics/samsungtvsdl/samsungtvsdl-graphics.h"
#if defined(SAMSUNGTV)
OSystem_SDL_SamsungTV::OSystem_SDL_SamsungTV()
:
OSystem_POSIX("/mtd_rwarea/.scummvmrc") {