Add missing include guards to some headers

This commit is contained in:
Ben Payne 2015-01-06 00:42:33 -05:00
parent 3574ef838b
commit b2b950c84a
4 changed files with 20 additions and 1 deletions

View file

@ -20,6 +20,9 @@
// IN THE SOFTWARE.
//-----------------------------------------------------------------------------
#ifndef _GFX_D3D_VIDEOCAPTURED3D9_H_
#define _GFX_D3D_VIDEOCAPTURED3D9_H_
#ifndef _VIDEOCAPTURE_H_
#include "gfx/video/videoCapture.h"
#endif
@ -79,4 +82,6 @@ protected:
public:
VideoFrameGrabberD3D9();
~VideoFrameGrabberD3D9();
};
};
#endif // _GFX_D3D_VIDEOCAPTURED3D9_H_

View file

@ -20,6 +20,9 @@
// IN THE SOFTWARE.
//-----------------------------------------------------------------------------
#ifndef _MPOLYHEDRON_IMPL_H_
#define _MPOLYHEDRON_IMPL_H_
#include "math/mPlaneTransformer.h"
@ -503,3 +506,5 @@ void PolyhedronData::buildBoxData( Polyhedron& poly, const MatrixF& mat, const B
edge ++;
}
}
#endif // _MPOLYHEDRON_IMPL_H_

View file

@ -20,6 +20,9 @@
// IN THE SOFTWARE.
//-----------------------------------------------------------------------------
#ifndef _SCENEAMBIENTSOUNDOBJECT_IMPL_H_
#define _SCENEAMBIENTSOUNDOBJECT_IMPL_H_
#include "platform/platform.h"
#include "scene/mixin/sceneAmbientSoundObject.h"
@ -112,3 +115,5 @@ bool SceneAmbientSoundObject< Base >::_setSoundAmbience( void* object, const cha
p->setSoundAmbience( ambience );
return false;
}
#endif // _SCENEAMBIENTSOUNDOBJECT_IMPL_H_

View file

@ -19,6 +19,8 @@
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
// IN THE SOFTWARE.
//-----------------------------------------------------------------------------
#ifndef _SCENEPOLYHEDRALOBJECT_IMPL_H_
#define _SCENEPOLYHEDRALOBJECT_IMPL_H_
#include "platform/platform.h"
#include "scene/mixin/scenePolyhedralObject.h"
@ -393,3 +395,5 @@ bool ScenePolyhedralObject< Base, P >::_setEdge( void* object, const char* index
return false;
}
#endif // _SCENEPOLYHEDRALOBJECT_IMPL_H_