genesis-3d_engine/Engine/foundation/jobs/jobsystem.cc
zhongdaohuan 6e8fbca745 genesis-3d engine version 1.3.
match the genesis editor version 1.3.0.653.
2014-05-05 14:50:33 +08:00

38 lines
1.0 KiB
C++

//------------------------------------------------------------------------------
// jobsystem.cc
// (C) 2009 Radon Labs GmbH
//------------------------------------------------------------------------------
#include "stdneb.h"
#include "jobs/jobsystem.h"
namespace Jobs
{
#if __PS3__
__ImplementClass(Jobs::JobSystem, 'JOBS', PS3::PS3JobSystem);
#elif (NEBULA3_USE_SERIAL_JOBSYSTEM || __WII__)
__ImplementClass(Jobs::JobSystem, 'JOBS', Jobs::SerialJobSystem);
#elif (__WIN32__ || __XBOX360__ || __WII__ || __ANDROID__ || __OSX__)
__ImplementClass(Jobs::JobSystem, 'JOBS', Jobs::TPJobSystem);
#else
#error "Job::JobSystem not implemented on this platform!"
#endif
__ImplementImageSingleton(Jobs::JobSystem);
//------------------------------------------------------------------------------
/**
*/
JobSystem::JobSystem()
{
__ConstructImageSingleton;
}
//------------------------------------------------------------------------------
/**
*/
JobSystem::~JobSystem()
{
__DestructImageSingleton;
}
} // namespace Jobs