File tree Expand file tree Collapse file tree 9 files changed +39
-20
lines changed
Expand file tree Collapse file tree 9 files changed +39
-20
lines changed Original file line number Diff line number Diff line change 1616 * See the License for the specific language governing permissions and
1717 * limitations under the License.
1818 */
19+
1920#pragma once
2021
22+ #ifndef MODULE_NAME
23+ #error "Please define a MODULE_NAME that describes the binary/library you are building."
24+ #endif
25+
2126#include "IDriver.h"
2227#include "HCISocket.h"
2328#include "GATTSocket.h"
Original file line number Diff line number Diff line change 1717 * limitations under the License.
1818 */
1919
20- #ifndef __BROADCAST_H
21- #define __BROADCAST_H
20+ #pragma once
2221
23- #include "Module.h"
22+ #ifndef MODULE_NAME
23+ #error "Please define a MODULE_NAME that describes the binary/library you are building."
24+ #endif
2425
2526#include "Definitions.h"
2627#include "Descriptors.h"
3839#ifdef __WINDOWS__
3940#pragma comment(lib, "broadcast.lib")
4041#endif
41-
42- #endif // __BROADCAST_H
Original file line number Diff line number Diff line change 1919
2020#pragma once
2121
22+ #ifndef MODULE_NAME
23+ #error "Please define a MODULE_NAME that describes the binary/library you are building."
24+ #endif
25+
2226#include "Administrator.h"
2327#include "Communicator.h"
2428#include "IRPCIterator.h"
Original file line number Diff line number Diff line change 2020#ifndef __GENERICS_H
2121#define __GENERICS_H
2222
23+ #ifndef MODULE_NAME
24+ #error "Please define a MODULE_NAME that describes the binary/library you are building."
25+ #endif
26+
2327#include < algorithm>
2428#include < iostream>
2529#include < list>
Original file line number Diff line number Diff line change 1717 * limitations under the License.
1818 */
1919
20- #ifndef __CRYPTALGO_H
21- #define __CRYPTALGO_H
20+ #pragma once
2221
23- #include "Module.h"
22+ #ifndef MODULE_NAME
23+ #error "Please define a MODULE_NAME that describes the binary/library you are building."
24+ #endif
2425
2526#include "AES.h"
2627#include "HMAC.h"
2728#include "Hash.h"
2829#include "HashStream.h"
2930#include "Random.h"
3031
31- #if defined(SECURESOCKETS_ENABLED ) || defined( __WINDOWS__ )
32+ #if defined(SECURESOCKETS_ENABLED )
3233#include "SecureSocketPort.h"
3334#endif
3435
3536#ifdef __WINDOWS__
3637#pragma comment(lib, "cryptalgo.lib")
3738#endif
38-
39- #endif // __CRYPTALGO_H
Original file line number Diff line number Diff line change 1717 * limitations under the License.
1818 */
1919
20- #ifndef __PLUGIN_FRAMEWORK_SUPPORT_H
21- #define __PLUGIN_FRAMEWORK_SUPPORT_H
20+ #pragma once
21+
22+ #ifndef MODULE_NAME
23+ #error "Please define a MODULE_NAME that describes the binary/library you are building."
24+ #endif
2225
2326#include "Module.h"
2427#include "Config.h"
3841#ifdef __WINDOWS__
3942#pragma comment(lib, "plugins.lib")
4043#endif
41-
42- #endif // __PLUGIN_FRAMEWORK_SUPPORT_H
Original file line number Diff line number Diff line change 1919
2020#pragma once
2121
22+ #ifndef MODULE_NAME
23+ #error "Please define a MODULE_NAME that describes the binary/library you are building."
24+ #endif
25+
2226#include "ITraceControl.h"
2327#include "ITraceMedia.h"
2428#include "Logging.h"
Original file line number Diff line number Diff line change 1919
2020#pragma once
2121
22+ #ifndef MODULE_NAME
23+ #error "Please define a MODULE_NAME that describes the binary/library you are building."
24+ #endif
25+
2226#include "IWarningReportingMedia.h"
2327#include "WarningReportingUnit.h"
2428
Original file line number Diff line number Diff line change 1717 * limitations under the License.
1818 */
1919
20- #ifndef __WEBSOCKET_H
21- #define __WEBSOCKET_H
20+ #pragma once
2221
23- #include "Module.h"
22+ #ifndef MODULE_NAME
23+ #error "Please define a MODULE_NAME that describes the binary/library you are building."
24+ #endif
2425
2526#include "URL.h"
2627#include "JSONWebToken.h"
3637#ifdef __WINDOWS__
3738#pragma comment(lib, "websocket.lib")
3839#endif
39-
40- #endif // __WEBSOCKET_H
You can’t perform that action at this time.
0 commit comments