Skip to content

Commit d4900fc

Browse files
committed
simplify header inclusion in public headers
Signed-off-by: Rosen Penev <[email protected]>
1 parent 115efec commit d4900fc

Some content is hidden

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

45 files changed

+100
-71
lines changed

include/exiv2/basicio.hpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
#ifndef EXIV2_BASICIO_HPP
44
#define EXIV2_BASICIO_HPP
55

6+
#include "config.h"
7+
68
// *****************************************************************************
79
#include "exiv2lib_export.h"
810

include/exiv2/bmffimage.hpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
#ifndef EXIV2_BMFFIMAGE_HPP
44
#define EXIV2_BMFFIMAGE_HPP
55

6+
#include "config.h"
7+
68
// *****************************************************************************
79
#include "exiv2lib_export.h"
810

include/exiv2/convert.hpp

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,7 @@
1515

1616
#include "exiv2lib_export.h"
1717

18-
// included header files
19-
#include "config.h"
20-
21-
// + standard includes
18+
// standard includes
2219
#include <string>
2320

2421
// *****************************************************************************

include/exiv2/easyaccess.hpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,6 @@
2323
#include "exif.hpp"
2424

2525
namespace Exiv2 {
26-
// *****************************************************************************
27-
// class declarations
28-
class ExifData;
29-
3026
//! Return the orientation of the image. Please keep in mind that this accessor is provided for convenience only and
3127
//! will return expected/desired metadata most of the time.
3228
EXIV2API ExifData::const_iterator orientation(const ExifData& ed);

include/exiv2/error.hpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@
1414
// *****************************************************************************
1515
#include "exiv2lib_export.h"
1616

17-
#include "config.h"
18-
1917
#include <exception> // for exception
2018
#include <sstream> // for operator<<, ostream, ostringstream, bas...
2119
#include <string> // for basic_string, string

include/exiv2/exif.hpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313
// *****************************************************************************
1414
#include "exiv2lib_export.h"
1515

16+
#include "config.h"
17+
1618
// included header files
1719
#include "config.h"
1820
#include "metadatum.hpp"

include/exiv2/futils.hpp

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

6-
#include "config.h"
76
#include "exiv2lib_export.h"
87

98
#include <string>

include/exiv2/image.hpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
#ifndef EXIV2_IMAGE_HPP
44
#define EXIV2_IMAGE_HPP
55

6+
#include "config.h"
7+
68
// *****************************************************************************
79
#include "exiv2lib_export.h"
810

include/exiv2/preview.hpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
#ifndef EXIV2_PREVIEW_HPP
44
#define EXIV2_PREVIEW_HPP
55

6+
#include "config.h"
7+
68
// *****************************************************************************
79
#include "exiv2lib_export.h"
810

include/exiv2/quicktimevideo.hpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
#include "exiv2lib_export.h"
2525

2626
// included header files
27-
#include "exif.hpp"
2827
#include "image.hpp"
2928

3029
// *****************************************************************************

0 commit comments

Comments
 (0)