rename ExampleInterface -> CommonExampleInterface to be a little bit more consistent in 'CommonInterfaces' naming

This commit is contained in:
erwin coumans
2015-04-29 13:33:26 -07:00
parent 4ed666a72a
commit 40375983d6
56 changed files with 87 additions and 85 deletions

View File

@@ -1,14 +1,16 @@
#ifndef EXAMPLE_INTERFACE_H
#define EXAMPLE_INTERFACE_H
class ExampleInterface
#ifndef COMMON_EXAMPLE_INTERFACE_H
#define COMMON_EXAMPLE_INTERFACE_H
class CommonExampleInterface
{
public:
typedef class ExampleInterface* (CreateFunc)(struct PhysicsInterface* pint, struct GUIHelperInterface* helper, int option);
typedef class CommonExampleInterface* (CreateFunc)(struct PhysicsInterface* pint, struct GUIHelperInterface* helper, int option);
virtual ~ExampleInterface()
virtual ~CommonExampleInterface()
{
}
@@ -25,4 +27,4 @@ public:
#endif //EXAMPLE_INTERFACE_H
#endif //COMMON_EXAMPLE_INTERFACE_H

View File

@@ -11,14 +11,14 @@
#include "BulletDynamics/Featherstone/btMultiBodyLinkCollider.h"
#include "btBulletDynamicsCommon.h"
#include "ExampleInterface.h"
#include "CommonExampleInterface.h"
#include "CommonGUIHelperInterface.h"
#include "CommonRenderInterface.h"
#include "CommonGraphicsAppInterface.h"
#include "CommonWindowInterface.h"
#include "CommonCameraInterface.h"
struct CommonMultiBodyBase : public ExampleInterface
struct CommonMultiBodyBase : public CommonExampleInterface
{
//keep the collision shapes, for deletion/cleanup
btAlignedObjectArray<btCollisionShape*> m_collisionShapes;

View File

@@ -4,7 +4,7 @@
#include "btBulletDynamicsCommon.h"
#include "ExampleInterface.h"
#include "CommonExampleInterface.h"
#include "CommonGUIHelperInterface.h"
#include "CommonRenderInterface.h"
#include "CommonCameraInterface.h"
@@ -12,7 +12,7 @@
#include "CommonGraphicsAppInterface.h"
#include "CommonWindowInterface.h"
struct CommonRigidBodyBase : public ExampleInterface
struct CommonRigidBodyBase : public CommonExampleInterface
{
//keep the collision shapes, for deletion/cleanup
btAlignedObjectArray<btCollisionShape*> m_collisionShapes;