Fix header guards in modules:
- Add missing header guards to various modules' register_types.h - Add header guard to basis_universal/texture_basisu.h. - Ensure header guard encloses entire header in webrtc/webrtc_data_channel_js.h.
This commit is contained in:
parent
ceed524936
commit
5a376cb061
7 changed files with 30 additions and 5 deletions
|
@ -28,5 +28,10 @@
|
|||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||
/*************************************************************************/
|
||||
|
||||
#ifndef ARKIT_REGISTER_TYPES_H
|
||||
#define ARKIT_REGISTER_TYPES_H
|
||||
|
||||
void register_arkit_types();
|
||||
void unregister_arkit_types();
|
||||
|
||||
#endif // ARKIT_REGISTER_TYPES_H
|
||||
|
|
|
@ -28,6 +28,9 @@
|
|||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||
/*************************************************************************/
|
||||
|
||||
#ifndef BASIS_UNIVERSAL_TEXTURE_BASISU_H
|
||||
#define BASIS_UNIVERSAL_TEXTURE_BASISU_H
|
||||
|
||||
#include "scene/resources/texture.h"
|
||||
|
||||
#ifdef TOOLS_ENABLED
|
||||
|
@ -75,3 +78,5 @@ public:
|
|||
};
|
||||
|
||||
#endif
|
||||
|
||||
#endif // BASIS_UNIVERSAL_TEXTURE_BASISU_H
|
||||
|
|
|
@ -28,5 +28,10 @@
|
|||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||
/*************************************************************************/
|
||||
|
||||
#ifndef CAMERA_REGISTER_TYPES_H
|
||||
#define CAMERA_REGISTER_TYPES_H
|
||||
|
||||
void register_camera_types();
|
||||
void unregister_camera_types();
|
||||
|
||||
#endif // CAMERA_REGISTER_TYPES_H
|
||||
|
|
|
@ -28,5 +28,10 @@
|
|||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||
/*************************************************************************/
|
||||
|
||||
#ifndef DENOISE_REGISTER_TYPES_H
|
||||
#define DENOISE_REGISTER_TYPES_H
|
||||
|
||||
void register_denoise_types();
|
||||
void unregister_denoise_types();
|
||||
|
||||
#endif // DENOISE_REGISTER_TYPES_H
|
||||
|
|
|
@ -28,5 +28,10 @@
|
|||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||
/*************************************************************************/
|
||||
|
||||
#ifndef MONO_REGISTER_TYPES_H
|
||||
#define MONO_REGISTER_TYPES_H
|
||||
|
||||
void register_mono_types();
|
||||
void unregister_mono_types();
|
||||
|
||||
#endif // MONO_REGISTER_TYPES_H
|
||||
|
|
|
@ -28,11 +28,11 @@
|
|||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||
/*************************************************************************/
|
||||
|
||||
#ifdef JAVASCRIPT_ENABLED
|
||||
|
||||
#ifndef WEBRTC_DATA_CHANNEL_JS_H
|
||||
#define WEBRTC_DATA_CHANNEL_JS_H
|
||||
|
||||
#ifdef JAVASCRIPT_ENABLED
|
||||
|
||||
#include "webrtc_data_channel.h"
|
||||
|
||||
class WebRTCDataChannelJS : public WebRTCDataChannel {
|
||||
|
@ -88,6 +88,6 @@ public:
|
|||
~WebRTCDataChannelJS();
|
||||
};
|
||||
|
||||
#endif // WEBRTC_DATA_CHANNEL_JS_H
|
||||
|
||||
#endif // JAVASCRIPT_ENABLED
|
||||
|
||||
#endif // WEBRTC_DATA_CHANNEL_JS_H
|
||||
|
|
|
@ -112,4 +112,4 @@ public:
|
|||
ConnectionStatus get_connection_status() const override;
|
||||
};
|
||||
|
||||
#endif
|
||||
#endif // WEBRTC_MULTIPLAYER_H
|
||||
|
|
Loading…
Reference in a new issue