Skip to content

Commit 4222dc3

Browse files
committed
[headers] Change header protection pattern from FILENAME_H to OPENOCPP_FILENAME_H
1 parent 2f4acaa commit 4222dc3

File tree

146 files changed

+438
-438
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

146 files changed

+438
-438
lines changed

src/centralsystem/CentralSystem.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ You should have received a copy of the GNU Lesser General Public License
1616
along with OpenOCPP. If not, see <http://www.gnu.org/licenses/>.
1717
*/
1818

19-
#ifndef CENTRALSYSTEM_H
20-
#define CENTRALSYSTEM_H
19+
#ifndef OPENOCPP_CENTRALSYSTEM_H
20+
#define OPENOCPP_CENTRALSYSTEM_H
2121

2222
#include "Database.h"
2323
#include "ICentralSystem.h"
@@ -119,4 +119,4 @@ class CentralSystem : public ICentralSystem, public ocpp::rpc::RpcServer::IListe
119119
} // namespace centralsystem
120120
} // namespace ocpp
121121

122-
#endif // CENTRALSYSTEM_H
122+
#endif // OPENOCPP_CENTRALSYSTEM_H

src/centralsystem/chargepoint/ChargePointHandler.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ You should have received a copy of the GNU Lesser General Public License
1616
along with OpenOCPP. If not, see <http://www.gnu.org/licenses/>.
1717
*/
1818

19-
#ifndef CHARGEPOINTHANDLER_H
20-
#define CHARGEPOINTHANDLER_H
19+
#ifndef OPENOCPP_CHARGEPOINTHANDLER_H
20+
#define OPENOCPP_CHARGEPOINTHANDLER_H
2121

2222
#include "Authorize.h"
2323
#include "BootNotification.h"
@@ -248,4 +248,4 @@ class ChargePointHandler
248248
} // namespace centralsystem
249249
} // namespace ocpp
250250

251-
#endif // CHARGEPOINTHANDLER_H
251+
#endif // OPENOCPP_CHARGEPOINTHANDLER_H

src/centralsystem/chargepoint/ChargePointProxy.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ You should have received a copy of the GNU Lesser General Public License
1616
along with OpenOCPP. If not, see <http://www.gnu.org/licenses/>.
1717
*/
1818

19-
#ifndef CHARGEPOINTPROXY_H
20-
#define CHARGEPOINTPROXY_H
19+
#ifndef OPENOCPP_CHARGEPOINTPROXY_H
20+
#define OPENOCPP_CHARGEPOINTPROXY_H
2121

2222
#include "ChargePointHandler.h"
2323
#include "GenericMessageSender.h"
@@ -301,4 +301,4 @@ class ChargePointProxy : public ICentralSystem::IChargePoint, public ocpp::rpc::
301301
} // namespace centralsystem
302302
} // namespace ocpp
303303

304-
#endif // CHARGEPOINTPROXY_H
304+
#endif // OPENOCPP_CHARGEPOINTPROXY_H

src/centralsystem/config/InternalConfigKeys.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ You should have received a copy of the GNU Lesser General Public License
1616
along with OpenOCPP. If not, see <http://www.gnu.org/licenses/>.
1717
*/
1818

19-
#ifndef INTERNALCONFIGKEYS_H
20-
#define INTERNALCONFIGKEYS_H
19+
#ifndef OPENOCPP_INTERNALCONFIGKEYS_H
20+
#define OPENOCPP_INTERNALCONFIGKEYS_H
2121

2222
namespace ocpp
2323
{
@@ -36,4 +36,4 @@ static constexpr const char* TOTAL_UPTIME_KEY = "TotalUpTime";
3636
} // namespace centralsystem
3737
} // namespace ocpp
3838

39-
#endif // INTERNALCONFIGKEYS_H
39+
#endif // OPENOCPP_INTERNALCONFIGKEYS_H

src/centralsystem/interface/ICentralSystem.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ You should have received a copy of the GNU Lesser General Public License
1616
along with OpenOCPP. If not, see <http://www.gnu.org/licenses/>.
1717
*/
1818

19-
#ifndef ICENTRALSYSTEM_H
20-
#define ICENTRALSYSTEM_H
19+
#ifndef OPENOCPP_ICENTRALSYSTEM_H
20+
#define OPENOCPP_ICENTRALSYSTEM_H
2121

2222
#include "AuthorizationData.h"
2323
#include "Certificate.h"
@@ -438,4 +438,4 @@ class ICentralSystem
438438
} // namespace centralsystem
439439
} // namespace ocpp
440440

441-
#endif // ICENTRALSYSTEM_H
441+
#endif // OPENOCPP_ICENTRALSYSTEM_H

src/centralsystem/interface/ICentralSystemConfig.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ You should have received a copy of the GNU Lesser General Public License
1616
along with OpenOCPP. If not, see <http://www.gnu.org/licenses/>.
1717
*/
1818

19-
#ifndef ICENTRALSYSTEMCONFIG_H
20-
#define ICENTRALSYSTEMCONFIG_H
19+
#ifndef OPENOCPP_ICENTRALSYSTEMCONFIG_H
20+
#define OPENOCPP_ICENTRALSYSTEMCONFIG_H
2121

2222
#include <chrono>
2323
#include <string>
@@ -81,4 +81,4 @@ class ICentralSystemConfig
8181
} // namespace config
8282
} // namespace ocpp
8383

84-
#endif // ICENTRALSYSTEMCONFIG_H
84+
#endif // OPENOCPP_ICENTRALSYSTEMCONFIG_H

src/centralsystem/interface/ICentralSystemEventsHandler.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ You should have received a copy of the GNU Lesser General Public License
1616
along with OpenOCPP. If not, see <http://www.gnu.org/licenses/>.
1717
*/
1818

19-
#ifndef ICENTRALSYSTEMEVENTSHANDLER_H
20-
#define ICENTRALSYSTEMEVENTSHANDLER_H
19+
#ifndef OPENOCPP_ICENTRALSYSTEMEVENTSHANDLER_H
20+
#define OPENOCPP_ICENTRALSYSTEMEVENTSHANDLER_H
2121

2222
#include "ICentralSystem.h"
2323

@@ -51,4 +51,4 @@ class ICentralSystemEventsHandler
5151
} // namespace centralsystem
5252
} // namespace ocpp
5353

54-
#endif // ICENTRALSYSTEMEVENTSHANDLER_H
54+
#endif // OPENOCPP_ICENTRALSYSTEMEVENTSHANDLER_H

src/centralsystem/interface/IChargePointRequestHandler.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ You should have received a copy of the GNU Lesser General Public License
1616
along with OpenOCPP. If not, see <http://www.gnu.org/licenses/>.
1717
*/
1818

19-
#ifndef ICHARGEPOINTREQUESTHANDLER_H
20-
#define ICHARGEPOINTREQUESTHANDLER_H
19+
#ifndef OPENOCPP_ICHARGEPOINTREQUESTHANDLER_H
20+
#define OPENOCPP_ICHARGEPOINTREQUESTHANDLER_H
2121

2222
#include "CertificateRequest.h"
2323
#include "Enums.h"
@@ -192,4 +192,4 @@ class IChargePointRequestHandler
192192
} // namespace centralsystem
193193
} // namespace ocpp
194194

195-
#endif // ICHARGEPOINTREQUESTHANDLER_H
195+
#endif // OPENOCPP_ICHARGEPOINTREQUESTHANDLER_H

src/chargepoint/ChargePoint.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ You should have received a copy of the GNU Lesser General Public License
1616
along with OpenOCPP. If not, see <http://www.gnu.org/licenses/>.
1717
*/
1818

19-
#ifndef CHARGEPOINT_H
20-
#define CHARGEPOINT_H
19+
#ifndef OPENOCPP_CHARGEPOINT_H
20+
#define OPENOCPP_CHARGEPOINT_H
2121

2222
#include "Connectors.h"
2323
#include "Database.h"
@@ -303,4 +303,4 @@ class ChargePoint : public IChargePoint,
303303
} // namespace chargepoint
304304
} // namespace ocpp
305305

306-
#endif // CHARGEPOINT_H
306+
#endif // OPENOCPP_CHARGEPOINT_H

src/chargepoint/authent/AuthentCache.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ You should have received a copy of the GNU Lesser General Public License
1717
along with OpenOCPP. If not, see <http://www.gnu.org/licenses/>.
1818
*/
1919

20-
#ifndef AUTHENTCACHE_H
21-
#define AUTHENTCACHE_H
20+
#ifndef OPENOCPP_AUTHENTCACHE_H
21+
#define OPENOCPP_AUTHENTCACHE_H
2222

2323
#include "ClearCache.h"
2424
#include "Database.h"
@@ -112,4 +112,4 @@ class AuthentCache : public ocpp::messages::GenericMessageHandler<ocpp::messages
112112
} // namespace chargepoint
113113
} // namespace ocpp
114114

115-
#endif // AUTHENTCACHE_H
115+
#endif // OPENOCPP_AUTHENTCACHE_H

0 commit comments

Comments
 (0)