Skip to content

Commit 8349683

Browse files
committed
Fixing build in Linux
Cleanup of include files
1 parent 8c255c8 commit 8349683

26 files changed

+117
-40
lines changed

a2lexplorer/src/a2lpropertygrid.cpp

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,20 @@
22
* Copyright 2023 Ingemar Hedvall
33
* SPDX-License-Identifier: MIT
44
*/
5+
#include <string_view>
6+
#include <string>
7+
#include <sstream>
8+
#include <map>
9+
#include <vector>
10+
511

6-
#include "a2lpropertygrid.h"
712
#include <wx/propgrid/props.h>
8-
#include <a2l/module.h>
913
#include <util/stringutil.h>
1014

15+
#include "a2l/module.h"
16+
17+
#include "a2lpropertygrid.h"
18+
1119
using namespace a2l;
1220
using namespace util::string;
1321

include/a2l/a2lfile.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,12 @@
66
* \brief The A2L file object is the main user object.
77
*/
88
#pragma once
9-
#include <memory>
10-
#include <sstream>
119
#include <string>
1210

1311
#include "a2l/a2lproject.h"
1412
#include "a2l/a2lstructs.h"
1513
namespace a2l {
1614

17-
18-
1915
/** \brief Main user object that is an interface against an A2L file.
2016
*
2117
* The A2L file is the only object the user shall create. It handle the parsing

include/a2l/a2lobject.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,14 @@
44
*/
55

66
#pragma once
7+
8+
#include <cstdint>
79
#include <string>
810
#include <map>
11+
912
#include "a2l/a2lenums.h"
1013
#include "a2l/a2lstructs.h"
14+
1115
namespace a2l {
1216

1317
/** \brief if_data strings sorted in protocol order */

include/a2l/a2lstructs.h

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,15 @@
22
* Copyright 2023 Ingemar Hedvall
33
* SPDX-License-Identifier: MIT
44
*/
5+
#pragma once
6+
7+
#include <cstdint>
58
#include <string>
69
#include <vector>
710
#include <map>
811
#include <memory>
12+
913
#include "a2l/a2lenums.h"
10-
#pragma once
1114

1215
namespace a2l {
1316

include/a2l/a2mlblock.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
#pragma once
77

88
#include "a2l/a2mlobject.h"
9+
910
#include <string>
1011

1112

include/a2l/a2mlobject.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55

66
#pragma once
77

8+
#include <cstdint>
89
#include <vector>
910
#include <map>
1011
#include <string>

include/a2l/axisdescr.h

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,13 @@
44
*/
55

66
#pragma once
7+
#include <memory>
8+
#include <vector>
9+
#include <cstdint>
710

811
#include "a2l/a2lobject.h"
912
#include "a2l/a2lenums.h"
10-
#include <memory>
11-
#include <vector>
13+
1214

1315
namespace a2l {
1416
class AxisDescr : public A2lObject {

include/a2l/axispts.h

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,11 @@
44
*/
55

66
#pragma once
7-
8-
#include "a2l/a2lobject.h"
9-
107
#include <memory>
118
#include <map>
9+
#include <cstdint>
1210

11+
#include "a2l/a2lobject.h"
1312
#include "a2l/a2lenums.h"
1413

1514
namespace a2l {

include/a2l/blob.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,11 @@
44
*/
55

66
#pragma once
7+
#include <cstdint>
8+
#include <memory>
79

810
#include "a2l/a2lobject.h"
9-
#include <memory>
11+
1012
namespace a2l {
1113
class Blob : public A2lObject {
1214
public:

include/a2l/characteristic.h

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,16 @@
44
*/
55

66
#pragma once
7+
#include <memory>
8+
#include <cstdint>
9+
#include <vector>
10+
#include <map>
711

812
#include "a2l/a2lobject.h"
9-
#include <memory>
13+
1014
#include "a2l/a2lenums.h"
1115
#include "a2l/axisdescr.h"
16+
1217
namespace a2l {
1318

1419
class Characteristic : public A2lObject {

0 commit comments

Comments
 (0)