Skip to content

Commit 4644a09

Browse files
committed
some more header inclusion reduction
1 parent eceaa07 commit 4644a09

File tree

7 files changed

+16
-13
lines changed

7 files changed

+16
-13
lines changed

src/helper_functions.hpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
#ifndef HELPER_FUNCTIONS_HPP
44
#define HELPER_FUNCTIONS_HPP
55

6+
#include <cstdint>
67
#include <memory>
78
#include <string>
89

src/makernote_int.hpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
// included header files
88
#include "tags.hpp"
99

10+
#include <memory>
11+
1012
// namespace extensions
1113
namespace Exiv2::Internal {
1214
class IoWrapper;

src/pentaxmn_int.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
#include "image_int.hpp"
99
#include "makernote_int.hpp"
1010
#include "tags.hpp"
11+
#include "tags_int.hpp"
1112
#include "types.hpp"
1213
#include "value.hpp"
1314

src/pentaxmn_int.hpp

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,16 @@
33
#ifndef PENTAXMN_INT_HPP_
44
#define PENTAXMN_INT_HPP_
55

6-
// *****************************************************************************
7-
// included header files
8-
#include "types.hpp"
9-
#include "value.hpp"
10-
11-
#include "tags_int.hpp"
6+
#include <iosfwd>
127

138
// *****************************************************************************
149
// namespace extensions
15-
namespace Exiv2::Internal {
10+
namespace Exiv2 {
11+
struct TagInfo;
12+
class ExifData;
13+
class Value;
14+
15+
namespace Internal {
1616
// *****************************************************************************
1717
// class definitions
1818

@@ -52,6 +52,7 @@ class PentaxMakerNote {
5252
static const TagInfo tagInfo_[];
5353
}; // class PentaxMakerNote
5454

55-
} // namespace Exiv2::Internal
55+
} // namespace Internal
56+
} // namespace Exiv2
5657

5758
#endif // #ifndef PENTAXMN_INT_HPP_

src/tags_int.cpp

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

66
#include "convert.hpp"
77
#include "enforce.hpp"
8-
#include "error.hpp"
98
#include "i18n.h" // NLS support.
109

1110
#include "canonmn_int.hpp"

src/tags_int.hpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,7 @@
55

66
// *****************************************************************************
77
// included header files
8-
#include "error.hpp"
98
#include "tags.hpp"
10-
#include "types.hpp"
11-
12-
#include <iosfwd>
139

1410
// *****************************************************************************
1511
// namespace extensions

src/tifffwd_int.hpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,10 @@
88
#include "tags.hpp"
99

1010
// + standard includes
11+
#include <memory>
1112
#include <stack>
13+
#include <string_view>
14+
#include <vector>
1215

1316
// *****************************************************************************
1417
// Exiv2 namespace extensions

0 commit comments

Comments
 (0)