Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions include/exiv2/basicio.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@
#ifndef EXIV2_BASICIO_HPP
#define EXIV2_BASICIO_HPP

#include "config.h"

// *****************************************************************************
#include "exiv2lib_export.h"

Expand Down
2 changes: 0 additions & 2 deletions include/exiv2/bmffimage.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@
#ifndef EXIV2_BMFFIMAGE_HPP
#define EXIV2_BMFFIMAGE_HPP

#include "config.h"

// *****************************************************************************
#include "exiv2lib_export.h"

Expand Down
2 changes: 0 additions & 2 deletions include/exiv2/exif.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@
// *****************************************************************************
#include "exiv2lib_export.h"

#include "config.h"

// included header files
#include "config.h"
#include "metadatum.hpp"
Expand Down
2 changes: 0 additions & 2 deletions include/exiv2/image.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@
#ifndef EXIV2_IMAGE_HPP
#define EXIV2_IMAGE_HPP

#include "config.h"

// *****************************************************************************
#include "exiv2lib_export.h"

Expand Down
2 changes: 1 addition & 1 deletion src/bmffimage.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@
#include "futils.hpp"
#include "image.hpp"
#include "image_int.hpp"
#include "safe_op.hpp"
#include "tiffcomposite_int.hpp"
#include "tiffimage_int.hpp"
#include "types.hpp"
#include "utils.hpp"

#ifdef EXV_HAVE_BROTLI
#include <brotli/decode.h> // for JXL brob
#include "safe_op.hpp"
#endif

// + standard includes
Expand Down
1 change: 1 addition & 0 deletions src/bmpimage.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@

#include "bmpimage.hpp"
#include "basicio.hpp"
#include "config.h"
#include "error.hpp"
#include "futils.hpp"
#include "image.hpp"
Expand Down
7 changes: 4 additions & 3 deletions src/convert.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,11 @@
20-May-08, vn: added actual conversion logic
*/
// *****************************************************************************
#include "config.h"

// included header files
#include "convert.hpp"
#include "config.h"
#include "error.hpp"
#include "exif.hpp"
#include "futils.hpp"
#include "image_int.hpp"
#include "iptc.hpp"
#include "properties.hpp"
Expand All @@ -25,6 +23,9 @@
#include <functional>

#ifdef EXV_HAVE_ICONV
#ifndef SUPPRESS_WARNINGS
#include "futils.hpp"
#endif
#include <iconv.h>
#elif defined _WIN32
#include <windows.h>
Expand Down
2 changes: 2 additions & 0 deletions src/cr2header_int.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,13 @@

#include "cr2header_int.hpp"

#include "tags.hpp"
#include "tiffimage_int.hpp"
#include "types.hpp"

#include <algorithm>
#include <cstdint>
#include <cstring>

namespace Exiv2::Internal {
Cr2Header::Cr2Header(ByteOrder byteOrder) : TiffHeaderBase(42, 16, byteOrder, 0x00000010) {
Expand Down
3 changes: 1 addition & 2 deletions src/crwimage.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,8 @@
History: 28-Aug-05, ahu: created
*/
// included header files
#include "config.h"

#include "crwimage.hpp"
#include "config.h"
#include "crwimage_int.hpp"
#include "error.hpp"
#include "futils.hpp"
Expand Down
6 changes: 2 additions & 4 deletions src/crwimage_int.cpp
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
// SPDX-License-Identifier: GPL-2.0-or-later

#include "config.h"

#include "canonmn_int.hpp"
#include "crwimage_int.hpp"
#include "canonmn_int.hpp"
#include "config.h"
#include "enforce.hpp"
#include "error.hpp"
#include "i18n.h" // NLS support.
Expand Down
3 changes: 2 additions & 1 deletion src/crwimage_int.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@

// *****************************************************************************
// included header files
#include "tags.hpp"
#include "types.hpp"

// + standard includes
Expand All @@ -18,6 +17,8 @@
// *****************************************************************************
// namespace extensions
namespace Exiv2 {
enum class IfdId : uint32_t;
class ExifData;
class Image;

namespace Internal {
Expand Down
3 changes: 1 addition & 2 deletions src/datasets.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,8 @@
#include "datasets.hpp"
#include "error.hpp"
#include "i18n.h" // NLS support.
#include "types.hpp"

#include "image_int.hpp"
#include "types.hpp"

#include <iomanip>

Expand Down
1 change: 1 addition & 0 deletions src/easyaccess.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
// SPDX-License-Identifier: GPL-2.0-or-later
// included header files
#include "easyaccess.hpp"

#include "utils.hpp"

#include <sstream>
Expand Down
4 changes: 2 additions & 2 deletions src/epsimage.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@
*/
// *****************************************************************************
// included header files
#include "config.h"
#include "epsimage.hpp"

#include "basicio.hpp"
#include "config.h"
#include "enforce.hpp"
#include "epsimage.hpp"
#include "error.hpp"
#include "futils.hpp"
#include "image.hpp"
Expand Down
1 change: 1 addition & 0 deletions src/fujimn_int.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
// included header files
#include "fujimn_int.hpp"
#include "i18n.h" // NLS support.
#include "tags.hpp"
#include "tags_int.hpp"
#include "types.hpp"

Expand Down
3 changes: 1 addition & 2 deletions src/http.cpp
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
// SPDX-License-Identifier: GPL-2.0-or-later

#include "http.hpp"
#include "config.h"

#include "futils.hpp"
#include "http.hpp"

#include <array>
#include <cerrno>
Expand Down
2 changes: 0 additions & 2 deletions src/image_int.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
// SPDX-License-Identifier: GPL-2.0-or-later

#include "config.h"

#include "image_int.hpp"

#include <cstddef>
Expand Down
4 changes: 1 addition & 3 deletions src/iptc.cpp
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
// SPDX-License-Identifier: GPL-2.0-or-later

#include "config.h"

// included header files
#include "iptc.hpp"

#include "config.h"
#include "datasets.hpp"
#include "enforce.hpp"
#include "error.hpp"
Expand Down
4 changes: 1 addition & 3 deletions src/jpgimage.cpp
Original file line number Diff line number Diff line change
@@ -1,17 +1,15 @@
// SPDX-License-Identifier: GPL-2.0-or-later

// included header files
#include "jpgimage.hpp"
#include "config.h"

#include "enforce.hpp"
#include "error.hpp"
#include "futils.hpp"
#include "helper_functions.hpp"
#include "i18n.h" // NLS support.
#include "image_int.hpp"
#include "jpgimage.hpp"
#include "photoshop.hpp"
#include "safe_op.hpp"
#include "tags_int.hpp"

#include <array>
Expand Down
3 changes: 1 addition & 2 deletions src/makernote_int.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,8 @@
History: 11-Apr-06, ahu: created
*/
// included header files
#include "config.h"

#include "makernote_int.hpp"
#include "config.h"
#include "safe_op.hpp"
#include "tiffcomposite_int.hpp"
#include "tiffimage_int.hpp"
Expand Down
9 changes: 6 additions & 3 deletions src/makernote_int.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,14 @@

// *****************************************************************************
// included header files
#include "tags.hpp"
#include "types.hpp"

#include <memory>

// namespace extensions
namespace Exiv2::Internal {
namespace Exiv2 {
enum class IfdId : uint32_t;
namespace Internal {
class IoWrapper;
class TiffComponent;
// *****************************************************************************
Expand Down Expand Up @@ -673,6 +675,7 @@ int nikonSelector(uint16_t tag, const byte* pData, size_t size, TiffComponent* p
*/
DataBuf nikonCrypt(uint16_t tag, const byte* pData, size_t size, TiffComponent* pRoot);

} // namespace Exiv2::Internal
} // namespace Internal
} // namespace Exiv2

#endif // EXIV2_MAKERNOTE_INT_HPP
5 changes: 2 additions & 3 deletions src/matroskavideo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,13 @@
*/
// *****************************************************************************
// included header files
#include "config.h"

#include "matroskavideo.hpp"
#include "basicio.hpp"
#include "config.h"
#include "enforce.hpp"
#include "error.hpp"
#include "futils.hpp"
#include "helper_functions.hpp"
#include "matroskavideo.hpp"

// + standard includes
#include <cmath>
Expand Down
4 changes: 1 addition & 3 deletions src/nikonmn_int.cpp
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
// SPDX-License-Identifier: GPL-2.0-or-later

#include "config.h"

// included header files
#include "nikonmn_int.hpp"

#include "config.h"
#include "exif.hpp"
#include "i18n.h" // NLS support.
#include "image_int.hpp"
Expand Down
2 changes: 0 additions & 2 deletions src/olympusmn_int.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@
#include "utils.hpp"
#include "value.hpp"

#include <array>

// *****************************************************************************
// class member definitions
namespace Exiv2::Internal {
Expand Down
1 change: 0 additions & 1 deletion src/pgfimage.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
#include "image.hpp"

#include <array>
#include <bit>

#ifdef EXIV2_DEBUG_MESSAGES
#include <iostream>
Expand Down
2 changes: 1 addition & 1 deletion src/pngchunk_int.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
// SPDX-License-Identifier: GPL-2.0-or-later

// included header files
#include "pngchunk_int.hpp"
#include "config.h"

#ifdef EXV_HAVE_LIBZ
Expand All @@ -14,7 +15,6 @@
#include "image_int.hpp"
#include "iptc.hpp"
#include "photoshop.hpp"
#include "pngchunk_int.hpp"
#include "safe_op.hpp"
#include "tiffimage.hpp"

Expand Down
11 changes: 8 additions & 3 deletions src/pngchunk_int.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,15 @@

// *****************************************************************************
// included header files
#include "pngimage.hpp"
#include "types.hpp"

// *****************************************************************************
// namespace extensions
namespace Exiv2::Internal {
namespace Exiv2 {
struct DataBuf;
class Image;
class PngImage;
namespace Internal {
// *****************************************************************************
// class definitions

Expand Down Expand Up @@ -136,6 +140,7 @@ class PngChunk {

}; // class PngChunk

} // namespace Exiv2::Internal
} // namespace Internal
} // namespace Exiv2

#endif // #ifndef PNGCHUNK_INT_HPP_
5 changes: 2 additions & 3 deletions src/properties.cpp
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
// SPDX-License-Identifier: GPL-2.0-or-later

#include "config.h"

// included header files
#include "properties.hpp"

#include "config.h"
#include "error.hpp"
#include "i18n.h" // NLS support.
#include "image_int.hpp"
#include "tags.hpp"
#include "tags_int.hpp"
#include "types.hpp"
#include "value.hpp"
Expand Down
5 changes: 2 additions & 3 deletions src/quicktimevideo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,15 @@
*/
// *****************************************************************************
// included header files
#include "config.h"

#include "quicktimevideo.hpp"
#include "basicio.hpp"
#include "config.h"
#include "enforce.hpp"
#include "error.hpp"
#include "futils.hpp"
#include "helper_functions.hpp"
#include "image_int.hpp"
#include "properties.hpp"
#include "quicktimevideo.hpp"
#include "safe_op.hpp"
#include "tags.hpp"
#include "tags_int.hpp"
Expand Down
1 change: 1 addition & 0 deletions src/riffvideo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

// included header files
#include "riffvideo.hpp"
#include "config.h"
#include "enforce.hpp"
#include "error.hpp"
#include "futils.hpp"
Expand Down
Loading
Loading