cleanup header inclusions in API

v0.27.3
Luis Diaz Mas 7 years ago
parent 4bd7e9ef1f
commit 6f8d8e3da6

@ -31,7 +31,6 @@
#include "exiv2lib_export.h"
// included header files
#include "exif.hpp"
#include "image.hpp"
namespace Exiv2 {

@ -28,15 +28,9 @@
// included header files
#include "types.hpp"
#include "futils.hpp"
// + standard includes
#include <string>
#include <memory> // for std::auto_ptr
#include <fstream> // write the temporary file
#include <fcntl.h> // _O_BINARY in FileIo::FileIo
#include <ctime> // timestamp for the name of temporary file
#include <cstring> // std::memcpy
// The way to handle data from stdin or data uri path. If EXV_XPATH_MEMIO = 1,
// it uses MemIo. Otherwises, it uses FileIo.

@ -31,13 +31,7 @@
#include "exiv2lib_export.h"
// included header files
#include "exif.hpp"
#include "iptc.hpp"
#include "image.hpp"
#include "types.hpp"
// + standard includes
#include <string>
// *****************************************************************************
// namespace extensions

@ -32,11 +32,6 @@
// included header files
#include "image.hpp"
#include "basicio.hpp"
#include "types.hpp"
// + standard includes
#include <string>
// *****************************************************************************
// namespace extensions

@ -33,13 +33,7 @@
#include "exiv2lib_export.h"
// included header files
#include "types.hpp"
#include "image.hpp"
#include "basicio.hpp"
// + standard includes
#include <iosfwd>
#include <string>
// *****************************************************************************
// namespace extensions

@ -30,14 +30,9 @@
#include "exiv2lib_export.h"
// included header files
#include "types.hpp"
#include "metadatum.hpp"
// + standard includes
#include <string>
#include <utility> // for std::pair
#include <iosfwd>
#include <memory>
#include <set>
#include <vector>
#include <map>

@ -39,10 +39,6 @@
// included header files
#include "image.hpp"
#include "types.hpp"
// + standard includes
#include <string>
// *****************************************************************************
// namespace extensions

@ -37,8 +37,6 @@
// + standard includes
#include <exception>
#include <string>
#include <iosfwd>
#include <sstream>
// *****************************************************************************
// namespace extensions

@ -33,13 +33,9 @@
// included header files
#include "metadatum.hpp"
#include "tags.hpp"
#include "value.hpp"
#include "types.hpp"
// + standard includes
#include <string>
#include <list>
#include <memory>
// *****************************************************************************
// namespace extensions

@ -28,8 +28,8 @@
#ifndef FUTILS_HPP_
#define FUTILS_HPP_
#include "config.h"
#include "exiv2lib_export.h"
#include "config.h"
#include <string>

@ -32,13 +32,7 @@
#include "exiv2lib_export.h"
// included header files
#include "exif.hpp"
#include "iptc.hpp"
#include "image.hpp"
#include "types.hpp"
// + standard includes
#include <string>
// *****************************************************************************
// namespace extensions

@ -3,12 +3,9 @@
#include "exiv2lib_export.h"
#include "config.h"
#include "datasets.hpp"
#include <string>
#include <map>
#include <algorithm>
namespace Exiv2 {

@ -27,7 +27,6 @@
#include "exiv2lib_export.h"
// included header files
#include "types.hpp"
#include "basicio.hpp"
#include "exif.hpp"
#include "iptc.hpp"

@ -32,15 +32,8 @@
// included header files
#include "metadatum.hpp"
#include "types.hpp"
#include "error.hpp"
#include "value.hpp"
#include "datasets.hpp"
// + standard includes
#include <string>
#include <vector>
// *****************************************************************************
// namespace extensions
namespace Exiv2 {

@ -29,13 +29,7 @@
#include "exiv2lib_export.h"
// included header files
#include "exif.hpp"
#include "iptc.hpp"
#include "image.hpp"
#include "types.hpp"
// + standard includes
#include <string>
// *****************************************************************************
// namespace extensions

@ -38,11 +38,6 @@
// included header files
#include "image.hpp"
#include "basicio.hpp"
#include "types.hpp"
// + standard includes
#include <string>
// *****************************************************************************
// namespace extensions

@ -31,7 +31,6 @@
#include "exiv2lib_export.h"
// included header files
#include "exif.hpp"
#include "image.hpp"
// *****************************************************************************

@ -35,13 +35,8 @@
#include "exiv2lib_export.h"
// included header files
#include "types.hpp"
#include "value.hpp"
// + standard includes
#include <string>
#include <memory>
// *****************************************************************************
// namespace extensions
namespace Exiv2 {

@ -33,11 +33,6 @@
// included header files
#include "image.hpp"
#include "basicio.hpp"
#include "types.hpp"
// + standard includes
#include <string>
// *****************************************************************************
// namespace extensions

@ -31,13 +31,7 @@
#include "exiv2lib_export.h"
// included header files
#include "image.hpp"
#include "tiffimage.hpp"
#include "basicio.hpp"
#include "types.hpp"
// + standard includes
#include <string>
// *****************************************************************************
// namespace extensions

@ -35,11 +35,6 @@
// included header files
#include "image.hpp"
#include "basicio.hpp"
#include "types.hpp"
// + standard includes
#include <string>
// *****************************************************************************
// namespace extensions

@ -36,11 +36,6 @@
// included header files
#include "image.hpp"
#include "basicio.hpp"
#include "types.hpp"
// + standard includes
#include <string>
// *****************************************************************************
// namespace extensions

@ -30,13 +30,7 @@
// *****************************************************************************
#include "exiv2lib_export.h"
// included header files
#include "types.hpp"
#include "image.hpp"
#include "basicio.hpp"
#include <string>
#include <vector>
// *****************************************************************************
// namespace extensions

@ -35,17 +35,9 @@
#include "exiv2lib_export.h"
// included header files
#include "types.hpp"
#include "metadatum.hpp"
#include "tags.hpp"
#include "datasets.hpp"
#include "rwlock.hpp"
// + standard includes
#include <string>
#include <iosfwd>
#include <memory>
// *****************************************************************************
// namespace extensions
namespace Exiv2 {

@ -34,13 +34,7 @@
#include "exiv2lib_export.h"
// included header files
#include "exif.hpp"
#include "iptc.hpp"
#include "image.hpp"
#include "types.hpp"
// + standard includes
#include <string>
// *****************************************************************************
// namespace extensions

@ -32,11 +32,6 @@
// included header files
#include "image.hpp"
#include "basicio.hpp"
#include "types.hpp"
// + standard includes
#include <string>
// *****************************************************************************
// namespace extensions

@ -33,7 +33,6 @@
// included header files
#include "metadatum.hpp"
#include "types.hpp"
// + standard includes
#include <string>

@ -33,13 +33,7 @@
#include "exiv2lib_export.h"
// included header files
#include "exif.hpp"
#include "iptc.hpp"
#include "image.hpp"
#include "types.hpp"
// + standard includes
#include <string>
// *****************************************************************************
// namespace extensions

@ -29,11 +29,6 @@
// included header files
#include "image.hpp"
#include "basicio.hpp"
#include "types.hpp"
// + standard includes
#include <string>
// *****************************************************************************
// namespace extensions

@ -29,18 +29,16 @@
#ifndef TYPES_HPP_
#define TYPES_HPP_
#include "exiv2lib_export.h"
// included header files
#include "config.h"
#include "slice.hpp"
#include "exiv2lib_export.h"
#include "slice.hpp"
// + standard includes
#include <string>
#include <vector>
#include <iosfwd>
#include <limits>
#include <utility>
#include <algorithm>
#include <sstream>

@ -36,12 +36,8 @@
#include "types.hpp"
// + standard includes
#include <string>
#include <vector>
#include <map>
#include <iostream>
#include <iomanip>
#include <sstream>
#include <memory>
#include <cstring>
#include <climits>

@ -30,8 +30,8 @@
#ifndef VERSION_HPP_
#define VERSION_HPP_
#include "exv_conf.h"
#include "exiv2lib_export.h"
#include "exv_conf.h"
// *****************************************************************************
// included header files

@ -31,7 +31,6 @@
#include "exiv2lib_export.h"
// included header files
#include "exif.hpp"
#include "image.hpp"
// *****************************************************************************

@ -33,14 +33,6 @@
// included header files
#include "metadatum.hpp"
#include "properties.hpp"
#include "value.hpp"
#include "types.hpp"
#include "datasets.hpp"
#include "properties.hpp"
// + standard includes
#include <string>
#include <vector>
// *****************************************************************************
// namespace extensions

@ -32,11 +32,6 @@
// included header files
#include "image.hpp"
#include "basicio.hpp"
#include "types.hpp"
// + standard includes
#include <string>
// *****************************************************************************
// namespace extensions

@ -2,11 +2,13 @@
// mrwthumb.cpp
// Sample program to extract a Minolta thumbnail from the makernote
#include <cassert>
#include "error.hpp"
#include "exif.hpp"
#include "image.hpp"
#include <cassert>
#include <iostream>
int main(int argc, char* const argv[])
{
try {

@ -5,6 +5,8 @@
#include <cassert>
#include <iostream>
#include <string>
#include "error.hpp"
#include "image.hpp"
int main(int argc, char* const argv[])

@ -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

@ -28,6 +28,7 @@
#include "config.h"
#ifdef EXV_ENABLE_VIDEO
#include "error.hpp"
#include "tags.hpp"
#include "tags_int.hpp"
#include "asfvideo.hpp"

@ -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

@ -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
{

@ -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"

@ -3,8 +3,10 @@
#include "i18n.h" // NLS support.
#include "timegm.h"
#include "unused.h"
#include "error.hpp"
#include <cassert>
#include <ctime>
// *****************************************************************************
// local declarations

@ -36,6 +36,7 @@
#include <iostream>
#include <algorithm>
#include <iterator>
#include <fstream> // write the temporary file
// *****************************************************************************
namespace {

@ -47,6 +47,7 @@
#include <cstring>
#include <cassert>
#include <stdexcept>
#include <iostream>
// *****************************************************************************
// class member definitions

@ -29,6 +29,7 @@
#ifdef EXV_ENABLE_VIDEO
#include "matroskavideo.hpp"
#include "error.hpp"
#include "futils.hpp"
#include "basicio.hpp"
#include "tags.hpp"

@ -28,6 +28,7 @@
#include "config.h"
#ifdef EXV_ENABLE_VIDEO
#include "error.hpp"
#include "tags.hpp"
#include "tags_int.hpp"
#include "quicktimevideo.hpp"

@ -28,6 +28,7 @@
#include "config.h"
#ifdef EXV_ENABLE_VIDEO
#include "error.hpp"
#include "riffvideo.hpp"
#include "futils.hpp"
#include "basicio.hpp"

@ -1,5 +1,6 @@
#include "tiffimage_int.hpp"
#include "error.hpp"
#include "makernote_int.hpp"
#include "tiffvisitor_int.hpp"
#include "i18n.h" // NLS support.

Loading…
Cancel
Save