mirror of
https://github.com/intrepidcs/libicsneo.git
synced 2026-08-05 01:18:36 +02:00
Add missing C++ guards
This commit is contained in:
committed by
Paul Hollinsky
parent
3e4b595fe4
commit
b6692d3762
@@ -1,6 +1,8 @@
|
||||
#ifndef __DEVICEEXTENSION_H_
|
||||
#define __DEVICEEXTENSION_H_
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
||||
#include <memory>
|
||||
#include "icsneo/communication/message/message.h"
|
||||
#include "icsneo/api/eventmanager.h"
|
||||
@@ -31,5 +33,6 @@ protected:
|
||||
|
||||
} // namespace icsneo
|
||||
|
||||
#endif // __cplusplus
|
||||
|
||||
#endif // __DEVICEEXTENSION_H_
|
||||
@@ -1,6 +1,8 @@
|
||||
#ifndef __FLEXRAYCHANNEL_H_
|
||||
#define __FLEXRAYCHANNEL_H_
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
||||
#include <cstdint>
|
||||
|
||||
namespace icsneo {
|
||||
@@ -19,4 +21,6 @@ enum class Channel {
|
||||
|
||||
} // namespace icsneo
|
||||
|
||||
#endif // __cplusplus
|
||||
|
||||
#endif // __FLEXRAYCHANNEL_H_
|
||||
@@ -1,6 +1,8 @@
|
||||
#ifndef __FLEXRAYCRCSTATUS_H_
|
||||
#define __FLEXRAYCRCSTATUS_H_
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
||||
#include <cstdint>
|
||||
|
||||
namespace icsneo {
|
||||
@@ -17,4 +19,6 @@ enum class CRCStatus {
|
||||
|
||||
} // namespace icsneo
|
||||
|
||||
#endif // __cplusplus
|
||||
|
||||
#endif // __FLEXRAYCRCSTATUS_H_
|
||||
@@ -1,6 +1,8 @@
|
||||
#ifndef __ERAYREGISTER_H_
|
||||
#define __ERAYREGISTER_H_
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
||||
#include <cstdint>
|
||||
|
||||
namespace icsneo {
|
||||
@@ -119,4 +121,6 @@ enum class ERAYRegister : uint32_t {
|
||||
|
||||
} // namespace icsneo
|
||||
|
||||
#endif // __cplusplus
|
||||
|
||||
#endif // __ERAYREGISTER_H_
|
||||
@@ -1,6 +1,8 @@
|
||||
#ifndef __FLEXRAYEXTENSION_H_
|
||||
#define __FLEXRAYEXTENSION_H_
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
||||
#include <mutex>
|
||||
#include <memory>
|
||||
#include <utility>
|
||||
@@ -39,5 +41,6 @@ private:
|
||||
|
||||
} // namespace icsneo
|
||||
|
||||
#endif // __cplusplus
|
||||
|
||||
#endif // __FLEXRAYEXTENSION_H_
|
||||
@@ -1,6 +1,8 @@
|
||||
#ifndef __FLEXRAYOPCODE_H_
|
||||
#define __FLEXRAYOPCODE_H_
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
||||
#include <cstdint>
|
||||
|
||||
namespace icsneo {
|
||||
@@ -23,4 +25,6 @@ enum class Opcode : uint8_t {
|
||||
|
||||
} // namespace icsneo
|
||||
|
||||
#endif // __cplusplus
|
||||
|
||||
#endif // __FLEXRAYOPCODE_H_
|
||||
@@ -1,6 +1,8 @@
|
||||
#ifndef __FLEXRAYPOCCOMMAND_H_
|
||||
#define __FLEXRAYPOCCOMMAND_H_
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
||||
#include <cstdint>
|
||||
|
||||
namespace icsneo {
|
||||
@@ -28,4 +30,6 @@ enum class POCCommand : uint8_t {
|
||||
|
||||
} // namespace icsneo
|
||||
|
||||
#endif // __cplusplus
|
||||
|
||||
#endif // __FLEXRAYPOCCOMMAND_H_
|
||||
@@ -1,6 +1,8 @@
|
||||
#ifndef __FLEXRAYPOCSTATUS_H_
|
||||
#define __FLEXRAYPOCSTATUS_H_
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
||||
#include <cstdint>
|
||||
|
||||
namespace icsneo {
|
||||
@@ -38,4 +40,6 @@ enum class POCStatus : uint8_t {
|
||||
|
||||
} // namespace icsneo
|
||||
|
||||
#endif // __cplusplus
|
||||
|
||||
#endif // __FLEXRAYPOCSTATUS_H_
|
||||
@@ -1,6 +1,8 @@
|
||||
#ifndef __FLEXRAYSYMBOL_H_
|
||||
#define __FLEXRAYSYMBOL_H_
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
||||
#include <cstdint>
|
||||
|
||||
namespace icsneo {
|
||||
@@ -18,4 +20,6 @@ enum class Symbol {
|
||||
|
||||
} // namespace icsneo
|
||||
|
||||
#endif // __cplusplus
|
||||
|
||||
#endif // __FLEXRAYSYMBOL_H_
|
||||
Reference in New Issue
Block a user