commit x64 compilation from lulu cause the other branch dont seems to compile properly at home
This commit is contained in:
31
include/framework/plugin/shared_systems.cpp
Normal file
31
include/framework/plugin/shared_systems.cpp
Normal file
@ -0,0 +1,31 @@
|
||||
/* -----------------------------------------------------------------------------
|
||||
GSFramework
|
||||
Copyright 2001-2013 Emmanuel Julien. All Rights Reserved.
|
||||
----------------------------------------------------------------------------- */
|
||||
|
||||
|
||||
#include "plugin/shared_systems.h"
|
||||
#include "picture/pict_io.h"
|
||||
#include "audio/audio_io.h"
|
||||
#include "platform.h"
|
||||
#include "log/log.h"
|
||||
|
||||
using namespace GS;
|
||||
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
void SharedSystems::Get()
|
||||
{
|
||||
platform = &Platform::Get();
|
||||
log_system = &LogSystem::Get();
|
||||
picture_io = &PictureIO::Get();
|
||||
audio_io = &AudioIO::Get();
|
||||
}
|
||||
void SharedSystems::Set()
|
||||
{
|
||||
Platform::Set(platform);
|
||||
LogSystem::Set(log_system);
|
||||
PictureIO::Set(picture_io);
|
||||
AudioIO::Set(audio_io);
|
||||
}
|
||||
//------------------------------------------------------------------------------
|
||||
Reference in New Issue
Block a user