first commit
This commit is contained in:
28
include/engine/project/project_factory_interface.h
Normal file
28
include/engine/project/project_factory_interface.h
Normal file
@ -0,0 +1,28 @@
|
||||
/* -----------------------------------------------------------------------------
|
||||
GSFramework
|
||||
Copyright 2001-2013 Emmanuel Julien. All Rights Reserved.
|
||||
----------------------------------------------------------------------------- */
|
||||
|
||||
|
||||
#ifndef __NPROJECTFACTORYINTERFACE__
|
||||
#define __NPROJECTFACTORYINTERFACE__
|
||||
|
||||
|
||||
namespace GS {
|
||||
namespace S3D { class PhysicWorld; }
|
||||
namespace Core {
|
||||
|
||||
/// Project factory abstract interface.
|
||||
struct IProjectFactory
|
||||
{
|
||||
/// Return a new physic world interface.
|
||||
virtual S3D::PhysicWorld *NewPhysicWorld() const { return 0; }
|
||||
|
||||
virtual ~IProjectFactory() {}
|
||||
};
|
||||
|
||||
} // Core
|
||||
} // GS
|
||||
|
||||
|
||||
#endif // __NPROJECTFACTORYINTERFACE__
|
||||
Reference in New Issue
Block a user