32 lines
864 B
C++
32 lines
864 B
C++
/* -----------------------------------------------------------------------------
|
|
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);
|
|
}
|
|
//------------------------------------------------------------------------------
|