cleanup header inclusions in API

This commit is contained in:
Luis Diaz Mas
2019-01-07 20:22:51 +01:00
parent 4bd7e9ef1f
commit 6f8d8e3da6
49 changed files with 26 additions and 169 deletions
-8
View File
@@ -30,15 +30,7 @@
// *****************************************************************************
// included header files
// + standard includes
#include <string>
#include <map>
#include "exiv2app.hpp"
#include "image.hpp"
#include "exif.hpp"
#include "iptc.hpp"
// *****************************************************************************
// class declarations
+1
View File
@@ -28,6 +28,7 @@
#include "config.h"
#ifdef EXV_ENABLE_VIDEO
#include "error.hpp"
#include "tags.hpp"
#include "tags_int.hpp"
#include "asfvideo.hpp"
+4 -1
View File
@@ -35,10 +35,13 @@
#include <string>
#include <memory>
#include <iostream>
#include <cstring>
#include <cstring> // std::memcpy
#include <cassert>
#include <fstream> // write the temporary file
#include <fcntl.h> // _O_BINARY in FileIo::FileIo
#include <cstdio> // for remove, rename
#include <cstdlib> // for alloc, realloc, free
#include <ctime> // timestamp for the name of temporary file
#include <sys/types.h> // for stat, chmod
#include <sys/stat.h> // for stat, chmod
+3 -4
View File
@@ -1,15 +1,14 @@
#include "bigtiffimage.hpp"
#include <cassert>
#include <limits>
#include "safe_op.hpp"
#include "exif.hpp"
#include "error.hpp"
#include "image_int.hpp"
#include "enforce.hpp"
#include <cassert>
#include <limits>
#include <iostream>
namespace Exiv2
{
+1
View File
@@ -28,6 +28,7 @@
// included header files
#include "config.h"
#include "types.hpp"
#include "error.hpp"
#include "exif.hpp"
#include "iptc.hpp"
#include "xmp_exiv2.hpp"
+2
View File
@@ -3,8 +3,10 @@
#include "i18n.h" // NLS support.
#include "timegm.h"
#include "unused.h"
#include "error.hpp"
#include <cassert>
#include <ctime>
// *****************************************************************************
// local declarations
+1
View File
@@ -36,6 +36,7 @@
#include <iostream>
#include <algorithm>
#include <iterator>
#include <fstream> // write the temporary file
// *****************************************************************************
namespace {
+1
View File
@@ -47,6 +47,7 @@
#include <cstring>
#include <cassert>
#include <stdexcept>
#include <iostream>
// *****************************************************************************
// class member definitions
+1
View File
@@ -29,6 +29,7 @@
#ifdef EXV_ENABLE_VIDEO
#include "matroskavideo.hpp"
#include "error.hpp"
#include "futils.hpp"
#include "basicio.hpp"
#include "tags.hpp"
+1
View File
@@ -28,6 +28,7 @@
#include "config.h"
#ifdef EXV_ENABLE_VIDEO
#include "error.hpp"
#include "tags.hpp"
#include "tags_int.hpp"
#include "quicktimevideo.hpp"
+1
View File
@@ -28,6 +28,7 @@
#include "config.h"
#ifdef EXV_ENABLE_VIDEO
#include "error.hpp"
#include "riffvideo.hpp"
#include "futils.hpp"
#include "basicio.hpp"
+1
View File
@@ -1,5 +1,6 @@
#include "tiffimage_int.hpp"
#include "error.hpp"
#include "makernote_int.hpp"
#include "tiffvisitor_int.hpp"
#include "i18n.h" // NLS support.