Removing unused headers thanks to IWYU
This commit is contained in:
parent
22064c957d
commit
b3a216310a
@ -1,49 +1,39 @@
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
// included header files
|
||||
#include "config.h"
|
||||
#include "actions.hpp"
|
||||
|
||||
#include "app_utils.hpp"
|
||||
#include "actions.hpp"
|
||||
#include "exiv2app.hpp"
|
||||
|
||||
#include "image.hpp"
|
||||
#include "jpgimage.hpp"
|
||||
#include "xmpsidecar.hpp"
|
||||
#include "types.hpp"
|
||||
#include "exif.hpp"
|
||||
#include "config.h"
|
||||
#include "easyaccess.hpp"
|
||||
#include "iptc.hpp"
|
||||
#include "xmp_exiv2.hpp"
|
||||
#include "preview.hpp"
|
||||
#include "exif.hpp"
|
||||
#include "futils.hpp"
|
||||
#include "i18n.h" // NLS support.
|
||||
#include "i18n.h" // NLS support.
|
||||
#include "image.hpp"
|
||||
#include "iptc.hpp"
|
||||
#include "preview.hpp"
|
||||
#include "types.hpp"
|
||||
#include "xmp_exiv2.hpp"
|
||||
|
||||
// + standard includes
|
||||
#include <sys/stat.h> // for stat()
|
||||
#include <sys/types.h> // for stat()
|
||||
|
||||
#include <filesystem>
|
||||
#include <string>
|
||||
#include <iostream>
|
||||
#include <iomanip>
|
||||
#include <fstream>
|
||||
#include <sstream>
|
||||
#include <cstring>
|
||||
#include <cstdio>
|
||||
#include <ctime>
|
||||
#include <cmath>
|
||||
#include <cassert>
|
||||
#include <iomanip>
|
||||
#include <iostream>
|
||||
#include <mutex>
|
||||
#include <stdexcept>
|
||||
#include <sys/types.h> // for stat()
|
||||
#include <sys/stat.h> // for stat()
|
||||
#include <sstream>
|
||||
#ifdef EXV_HAVE_UNISTD_H
|
||||
# include <unistd.h> // for stat()
|
||||
#include <unistd.h> // for stat()
|
||||
#endif
|
||||
|
||||
#if defined(_WIN32) || defined(__CYGWIN__)
|
||||
# include <sys/utime.h>
|
||||
#include <Windows.h>
|
||||
#include <fcntl.h>
|
||||
#include <io.h>
|
||||
#include <sys/utime.h>
|
||||
#else
|
||||
#include <utime.h>
|
||||
#endif
|
||||
|
||||
@ -12,7 +12,6 @@
|
||||
#define ACTIONS_HPP_
|
||||
|
||||
// *****************************************************************************
|
||||
// included header files
|
||||
#include "exiv2app.hpp"
|
||||
#include <unordered_map>
|
||||
|
||||
|
||||
@ -8,7 +8,6 @@
|
||||
#include "exiv2app.hpp"
|
||||
|
||||
#include "convert.hpp"
|
||||
#include "futils.hpp"
|
||||
#include "getopt.hpp"
|
||||
#include "i18n.h" // NLS support.
|
||||
#include "xmp_exiv2.hpp"
|
||||
|
||||
@ -1,17 +1,12 @@
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
// included header files
|
||||
#include <assert.h>
|
||||
#include <errno.h>
|
||||
#include <filesystem>
|
||||
#include <iostream>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <stdarg.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#include "getopt.hpp"
|
||||
|
||||
#include <cstdio>
|
||||
#include <cstring>
|
||||
#include <filesystem>
|
||||
|
||||
namespace fs = std::filesystem;
|
||||
|
||||
namespace Util {
|
||||
|
||||
@ -21,8 +21,6 @@
|
||||
#ifndef GETOPT_H
|
||||
#define GETOPT_H
|
||||
|
||||
#include <ctype.h>
|
||||
#include <stdio.h>
|
||||
#include <string>
|
||||
|
||||
namespace Util {
|
||||
|
||||
@ -11,10 +11,7 @@
|
||||
|
||||
// + standard includes
|
||||
#include <algorithm>
|
||||
#include <limits>
|
||||
#include <sstream>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
/*!
|
||||
@brief Macro to make calls to member functions through a pointer more readable.
|
||||
@ -26,8 +23,6 @@
|
||||
#define EXV_CALL_MEMBER_FN(object, ptrToMember) ((object).*(ptrToMember))
|
||||
|
||||
// *****************************************************************************
|
||||
// forward declarations
|
||||
struct tm;
|
||||
|
||||
// *****************************************************************************
|
||||
// namespace extensions
|
||||
|
||||
@ -21,8 +21,8 @@
|
||||
// Sample program showing how to add, modify and delete Exif metadata.
|
||||
|
||||
#include <exiv2/exiv2.hpp>
|
||||
|
||||
#include <iostream>
|
||||
#include <iomanip>
|
||||
#include <cassert>
|
||||
|
||||
int main(int argc, char* const argv[])
|
||||
|
||||
@ -21,8 +21,8 @@
|
||||
// Conversion test driver - make sure you have a copy of the input file around!
|
||||
|
||||
#include <exiv2/exiv2.hpp>
|
||||
|
||||
#include <iostream>
|
||||
#include <iomanip>
|
||||
#include <cassert>
|
||||
|
||||
int main(int argc, char* const argv[])
|
||||
|
||||
@ -21,8 +21,8 @@
|
||||
// Sample program to format exif data in various external formats
|
||||
|
||||
#include <exiv2/exiv2.hpp>
|
||||
|
||||
#include <iostream>
|
||||
#include <iomanip>
|
||||
#include <cassert>
|
||||
#include <string>
|
||||
|
||||
|
||||
@ -21,10 +21,9 @@
|
||||
// Sample program to print value of an exif key in an image
|
||||
|
||||
#include <exiv2/exiv2.hpp>
|
||||
|
||||
#include <iostream>
|
||||
#include <iomanip>
|
||||
#include <cassert>
|
||||
#include <string>
|
||||
|
||||
int main(int argc, char* const argv[])
|
||||
{
|
||||
|
||||
@ -21,25 +21,20 @@
|
||||
// Sample program to print metadata in JSON format
|
||||
|
||||
#include <exiv2/exiv2.hpp>
|
||||
#include "Jzon.h"
|
||||
|
||||
#include <filesystem>
|
||||
#include <iostream>
|
||||
#include <iomanip>
|
||||
#include <cassert>
|
||||
#include <string>
|
||||
#include <map>
|
||||
#include <vector>
|
||||
#include <set>
|
||||
#include <cstdlib>
|
||||
#include <limits.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
|
||||
#include <cassert>
|
||||
#include <cstdlib>
|
||||
#include <filesystem>
|
||||
#include <iostream>
|
||||
|
||||
#include "Jzon.h"
|
||||
|
||||
#if defined(__MINGW32__) || defined(__MINGW64__)
|
||||
# ifndef __MINGW__
|
||||
# define __MINGW__
|
||||
# endif
|
||||
#ifndef __MINGW__
|
||||
#define __MINGW__
|
||||
#endif
|
||||
#endif
|
||||
|
||||
struct Token {
|
||||
|
||||
@ -22,24 +22,17 @@
|
||||
// g++ geotag.cpp -o geotag -lexiv2 -lexpat
|
||||
|
||||
#include <exiv2/exiv2.hpp>
|
||||
|
||||
#include <filesystem>
|
||||
#include <iostream>
|
||||
#include <iomanip>
|
||||
#include <cassert>
|
||||
#include <algorithm>
|
||||
#include <expat.h>
|
||||
|
||||
#include <stdio.h>
|
||||
#include <cstdlib>
|
||||
#include <time.h>
|
||||
#include <string.h>
|
||||
#include <sys/stat.h>
|
||||
#include <sys/types.h>
|
||||
#include <time.h>
|
||||
|
||||
#include <expat.h>
|
||||
|
||||
#include <vector>
|
||||
#include <string>
|
||||
#include <algorithm>
|
||||
#include <filesystem>
|
||||
#include <iostream>
|
||||
|
||||
#if defined(__MINGW32__) || defined(__MINGW64__)
|
||||
# ifndef __MINGW__
|
||||
|
||||
@ -48,8 +48,6 @@
|
||||
#include <unistd.h>
|
||||
#endif
|
||||
#include <iostream>
|
||||
#include <iomanip>
|
||||
#include <cassert>
|
||||
|
||||
#define Safe(x) (x?x:"unknown")
|
||||
const char* optstring = ":hVvqfbuktTFa:Y:O:D:r:p:P:d:e:i:c:m:M:l:S:g:K:n:Q:";
|
||||
|
||||
@ -20,10 +20,8 @@
|
||||
// *****************************************************************************
|
||||
// included header files
|
||||
#include <exiv2/exiv2.hpp>
|
||||
#include <cstdio> // for EOF
|
||||
#include <cstring>
|
||||
|
||||
#include <iostream>
|
||||
#include <stdio.h>
|
||||
|
||||
using Exiv2::byte;
|
||||
using Exiv2::BasicIo;
|
||||
|
||||
@ -21,9 +21,8 @@
|
||||
*/
|
||||
|
||||
#include <exiv2/exiv2.hpp>
|
||||
|
||||
#include <iostream>
|
||||
#include <iomanip>
|
||||
#include <cassert>
|
||||
|
||||
int main(int argc, char* const argv[])
|
||||
try {
|
||||
|
||||
@ -21,9 +21,8 @@
|
||||
// Sample program to print the IPTC metadata of an image
|
||||
|
||||
#include <exiv2/exiv2.hpp>
|
||||
|
||||
#include <iostream>
|
||||
#include <iomanip>
|
||||
#include <cassert>
|
||||
|
||||
int main(int argc, char* const argv[])
|
||||
try {
|
||||
|
||||
@ -19,9 +19,8 @@
|
||||
*/
|
||||
|
||||
#include <exiv2/exiv2.hpp>
|
||||
|
||||
#include <iostream>
|
||||
#include <iomanip>
|
||||
#include <cassert>
|
||||
|
||||
using namespace Exiv2;
|
||||
|
||||
|
||||
@ -19,9 +19,8 @@
|
||||
*/
|
||||
|
||||
#include <exiv2/exiv2.hpp>
|
||||
|
||||
#include <iostream>
|
||||
#include <string>
|
||||
#include <cstring>
|
||||
|
||||
using namespace Exiv2;
|
||||
|
||||
|
||||
@ -19,7 +19,6 @@
|
||||
*/
|
||||
#include <exiv2/exiv2.hpp>
|
||||
#include <iostream>
|
||||
#include <fstream>
|
||||
#include <cassert>
|
||||
|
||||
// include local header files which are not part of libexiv2
|
||||
|
||||
@ -21,8 +21,8 @@
|
||||
*/
|
||||
|
||||
#include <exiv2/exiv2.hpp>
|
||||
|
||||
#include <iostream>
|
||||
#include <cstring>
|
||||
|
||||
using namespace Exiv2;
|
||||
|
||||
|
||||
@ -20,11 +20,10 @@
|
||||
*/
|
||||
|
||||
#include <exiv2/exiv2.hpp>
|
||||
|
||||
#include <filesystem>
|
||||
#include <iostream>
|
||||
#include <fstream>
|
||||
#include <sstream>
|
||||
#include <string>
|
||||
|
||||
namespace fs = std::filesystem;
|
||||
|
||||
|
||||
@ -21,9 +21,8 @@
|
||||
*/
|
||||
|
||||
#include <exiv2/exiv2.hpp>
|
||||
#include <string>
|
||||
|
||||
#include <iostream>
|
||||
#include <cassert>
|
||||
|
||||
int main(int argc, char* const argv[])
|
||||
try {
|
||||
|
||||
@ -21,8 +21,8 @@
|
||||
*/
|
||||
|
||||
#include <exiv2/exiv2.hpp>
|
||||
|
||||
#include <iostream>
|
||||
#include <iomanip>
|
||||
|
||||
static constexpr const char* testcases[] = {
|
||||
// bool
|
||||
|
||||
@ -19,9 +19,8 @@
|
||||
*/
|
||||
|
||||
#include <exiv2/exiv2.hpp>
|
||||
|
||||
#include <iostream>
|
||||
#include <string>
|
||||
#include <sstream>
|
||||
|
||||
using namespace Exiv2;
|
||||
|
||||
|
||||
@ -19,12 +19,8 @@
|
||||
*/
|
||||
|
||||
#include <exiv2/exiv2.hpp>
|
||||
|
||||
#include <iostream>
|
||||
#include <sstream>
|
||||
#include <iomanip>
|
||||
#include <string>
|
||||
#include <utility>
|
||||
#include <cassert>
|
||||
|
||||
// *****************************************************************************
|
||||
// local declarations
|
||||
|
||||
@ -22,10 +22,7 @@
|
||||
|
||||
#include <exiv2/exiv2.hpp>
|
||||
|
||||
#include <string>
|
||||
#include <iostream>
|
||||
#include <iomanip>
|
||||
#include <cassert>
|
||||
#include <cmath>
|
||||
|
||||
bool isEqual(float a, float b)
|
||||
|
||||
@ -1,23 +1,17 @@
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
// included header files
|
||||
#include "config.h"
|
||||
|
||||
#include "orfimage.hpp"
|
||||
#include "orfimage_int.hpp"
|
||||
#include "tiffimage.hpp"
|
||||
#include "tiffcomposite_int.hpp"
|
||||
#include "tiffimage_int.hpp"
|
||||
#include "image.hpp"
|
||||
|
||||
#include "basicio.hpp"
|
||||
#include "config.h"
|
||||
#include "error.hpp"
|
||||
#include "futils.hpp"
|
||||
|
||||
// + standard includes
|
||||
#include <string>
|
||||
#include <cstring>
|
||||
#include <iostream>
|
||||
#include <cassert>
|
||||
#include "image.hpp"
|
||||
#include "orfimage_int.hpp"
|
||||
#include "tiffcomposite_int.hpp"
|
||||
#include "tiffimage.hpp"
|
||||
#include "tiffimage_int.hpp"
|
||||
|
||||
// *****************************************************************************
|
||||
// class member definitions
|
||||
|
||||
@ -3,28 +3,21 @@
|
||||
// included header files
|
||||
#include "config.h"
|
||||
|
||||
#ifdef EXV_HAVE_LIBZ
|
||||
#include "pngchunk_int.hpp"
|
||||
#include "pngimage.hpp"
|
||||
#include "jpgimage.hpp"
|
||||
#include "tiffimage.hpp"
|
||||
#ifdef EXV_HAVE_LIBZ
|
||||
#include <zlib.h> // To uncompress IccProfiles
|
||||
|
||||
#include "basicio.hpp"
|
||||
#include "enforce.hpp"
|
||||
#include "error.hpp"
|
||||
#include "futils.hpp"
|
||||
#include "image.hpp"
|
||||
#include "image_int.hpp"
|
||||
#include "basicio.hpp"
|
||||
#include "error.hpp"
|
||||
#include "enforce.hpp"
|
||||
#include "futils.hpp"
|
||||
#include "jpgimage.hpp"
|
||||
#include "pngchunk_int.hpp"
|
||||
#include "pngimage.hpp"
|
||||
#include "tiffimage.hpp"
|
||||
#include "types.hpp"
|
||||
|
||||
// + standard includes
|
||||
#include <algorithm>
|
||||
#include <array>
|
||||
#include <string>
|
||||
#include <cstring>
|
||||
#include <iostream>
|
||||
#include <cassert>
|
||||
|
||||
#include <zlib.h> // To uncompress IccProfiles
|
||||
// Signature from front of PNG file
|
||||
const unsigned char pngSignature[8] = { 0x89, 0x50, 0x4E, 0x47, 0x0D, 0x0A, 0x1A, 0x0A };
|
||||
|
||||
|
||||
@ -1,25 +1,19 @@
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
// included header files
|
||||
#include "config.h"
|
||||
|
||||
#include <algorithm>
|
||||
#include <array>
|
||||
#include <climits>
|
||||
#include <string>
|
||||
|
||||
#include "preview.hpp"
|
||||
#include "futils.hpp"
|
||||
#include "enforce.hpp"
|
||||
#include "safe_op.hpp"
|
||||
|
||||
#include "config.h"
|
||||
#include "enforce.hpp"
|
||||
#include "futils.hpp"
|
||||
#include "image.hpp"
|
||||
#include "cr2image.hpp"
|
||||
#include "jpgimage.hpp"
|
||||
#include "safe_op.hpp"
|
||||
#include "tiffimage.hpp"
|
||||
#include "tiffimage_int.hpp"
|
||||
|
||||
// *****************************************************************************
|
||||
#include <climits>
|
||||
|
||||
namespace {
|
||||
|
||||
using namespace Exiv2;
|
||||
|
||||
@ -2,22 +2,15 @@
|
||||
|
||||
// included header files
|
||||
#include "properties.hpp"
|
||||
#include "tags_int.hpp"
|
||||
|
||||
#include "error.hpp"
|
||||
#include "i18n.h" // NLS support.
|
||||
#include "metadatum.hpp"
|
||||
#include "tags_int.hpp"
|
||||
#include "types.hpp"
|
||||
#include "value.hpp"
|
||||
#include "metadatum.hpp"
|
||||
#include "i18n.h" // NLS support.
|
||||
#include "xmp_exiv2.hpp"
|
||||
|
||||
#include <iostream>
|
||||
#include <iomanip>
|
||||
#include <sstream>
|
||||
#include <cstring>
|
||||
#include <cstdlib>
|
||||
#include <cctype>
|
||||
|
||||
// *****************************************************************************
|
||||
namespace {
|
||||
|
||||
//! Struct used in the lookup table for pretty print functions
|
||||
|
||||
@ -1,25 +1,15 @@
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
// included header files
|
||||
#include "config.h"
|
||||
|
||||
#include "psdimage.hpp"
|
||||
#include "jpgimage.hpp"
|
||||
#include "image.hpp"
|
||||
|
||||
#include "basicio.hpp"
|
||||
#include "config.h"
|
||||
#include "enforce.hpp"
|
||||
#include "error.hpp"
|
||||
#include "futils.hpp"
|
||||
|
||||
#include "safe_op.hpp"
|
||||
#include "enforce.hpp"
|
||||
|
||||
// + standard includes
|
||||
#include <string>
|
||||
#include <cstring>
|
||||
#include <iostream>
|
||||
#include <iomanip>
|
||||
#include <cassert>
|
||||
#include <memory>
|
||||
#include "image.hpp"
|
||||
#include "jpgimage.hpp"
|
||||
|
||||
// Todo: Consolidate with existing code in struct Photoshop (jpgimage.hpp):
|
||||
// Extend this helper to a proper class with all required functionality,
|
||||
|
||||
@ -1,23 +1,17 @@
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
// included header files
|
||||
#include "config.h"
|
||||
|
||||
#include "rafimage.hpp"
|
||||
#include "tiffimage.hpp"
|
||||
#include "image_int.hpp"
|
||||
#include "image.hpp"
|
||||
|
||||
#include "basicio.hpp"
|
||||
#include "config.h"
|
||||
#include "enforce.hpp"
|
||||
#include "error.hpp"
|
||||
#include "futils.hpp"
|
||||
#include "enforce.hpp"
|
||||
#include "image.hpp"
|
||||
#include "image_int.hpp"
|
||||
#include "safe_op.hpp"
|
||||
|
||||
// +standard includes
|
||||
#include <string>
|
||||
#include <cstring>
|
||||
#include <iostream>
|
||||
#include <cassert>
|
||||
#include "tiffimage.hpp"
|
||||
|
||||
// *****************************************************************************
|
||||
// class member definitions
|
||||
|
||||
@ -1,20 +1,20 @@
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
// included header files
|
||||
#include "config.h"
|
||||
|
||||
#include "rw2image.hpp"
|
||||
|
||||
#include "config.h"
|
||||
#include "error.hpp"
|
||||
#include "futils.hpp"
|
||||
#include "image.hpp"
|
||||
#include "preview.hpp"
|
||||
#include "rw2image_int.hpp"
|
||||
#include "tiffcomposite_int.hpp"
|
||||
#include "tiffimage_int.hpp"
|
||||
#include "image.hpp"
|
||||
#include "preview.hpp"
|
||||
#include "error.hpp"
|
||||
#include "futils.hpp"
|
||||
|
||||
// + standard includes
|
||||
#ifdef EXIV2_DEBUG_MESSAGES
|
||||
# include <iostream>
|
||||
#include <iostream>
|
||||
#endif
|
||||
|
||||
// *****************************************************************************
|
||||
|
||||
30
src/tags.cpp
30
src/tags.cpp
@ -1,35 +1,15 @@
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
// included header files
|
||||
#include "types.hpp"
|
||||
#include "tags.hpp"
|
||||
#include "tags_int.hpp"
|
||||
#include "error.hpp"
|
||||
#include "futils.hpp"
|
||||
#include "value.hpp"
|
||||
#include "convert.hpp"
|
||||
#include "i18n.h" // NLS support.
|
||||
|
||||
#include "canonmn_int.hpp"
|
||||
#include "casiomn_int.hpp"
|
||||
#include "fujimn_int.hpp"
|
||||
#include "minoltamn_int.hpp"
|
||||
#include "nikonmn_int.hpp"
|
||||
#include "olympusmn_int.hpp"
|
||||
#include "panasonicmn_int.hpp"
|
||||
#include "pentaxmn_int.hpp"
|
||||
#include "samsungmn_int.hpp"
|
||||
#include "sigmamn_int.hpp"
|
||||
#include "sonymn_int.hpp"
|
||||
|
||||
#include <iostream>
|
||||
#include <iomanip>
|
||||
#include <sstream>
|
||||
#include <utility>
|
||||
#include <cstdlib>
|
||||
#include <cassert>
|
||||
#include <cmath>
|
||||
#include <cstring>
|
||||
#include "convert.hpp"
|
||||
#include "error.hpp"
|
||||
#include "i18n.h" // NLS support.
|
||||
#include "tags_int.hpp"
|
||||
#include "types.hpp"
|
||||
|
||||
// *****************************************************************************
|
||||
// class member definitions
|
||||
|
||||
@ -1,18 +1,13 @@
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
// included header files
|
||||
#include "config.h"
|
||||
|
||||
#include "tgaimage.hpp"
|
||||
#include "image.hpp"
|
||||
|
||||
#include "basicio.hpp"
|
||||
#include "config.h"
|
||||
#include "error.hpp"
|
||||
#include "futils.hpp"
|
||||
|
||||
// + standard includes
|
||||
#include <string>
|
||||
#include <cstring>
|
||||
#include <iostream>
|
||||
#include "image.hpp"
|
||||
|
||||
// *****************************************************************************
|
||||
// class member definitions
|
||||
@ -21,7 +16,7 @@ namespace Exiv2 {
|
||||
TgaImage::TgaImage(BasicIo::UniquePtr io)
|
||||
: Image(ImageType::tga, mdNone, std::move(io))
|
||||
{
|
||||
} // TgaImage::TgaImage
|
||||
}
|
||||
|
||||
std::string TgaImage::mimeType() const
|
||||
{
|
||||
|
||||
@ -1,29 +1,16 @@
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
// included header files
|
||||
#include "config.h"
|
||||
|
||||
#include "tiffimage.hpp"
|
||||
#include "tiffimage_int.hpp"
|
||||
#include "tiffcomposite_int.hpp"
|
||||
#include "tiffvisitor_int.hpp"
|
||||
#include "orfimage.hpp"
|
||||
#include "makernote_int.hpp"
|
||||
#include "nikonmn_int.hpp"
|
||||
#include "image.hpp"
|
||||
#include "image_int.hpp"
|
||||
|
||||
#include "basicio.hpp"
|
||||
#include "config.h"
|
||||
#include "error.hpp"
|
||||
#include "futils.hpp"
|
||||
#include "image.hpp"
|
||||
#include "tiffcomposite_int.hpp"
|
||||
#include "tiffimage_int.hpp"
|
||||
#include "types.hpp"
|
||||
#include "basicio.hpp"
|
||||
#include "i18n.h" // NLS support.
|
||||
|
||||
// + standard includes
|
||||
#include <string>
|
||||
#include <iostream>
|
||||
#include <iomanip>
|
||||
#include <cassert>
|
||||
#include <cstdarg>
|
||||
|
||||
/* --------------------------------------------------------------------------
|
||||
|
||||
|
||||
@ -2,26 +2,21 @@
|
||||
|
||||
// included header files
|
||||
#include "types.hpp"
|
||||
|
||||
#include "enforce.hpp"
|
||||
#include "futils.hpp"
|
||||
#include "i18n.h" // for _exvGettext
|
||||
#include "safe_op.hpp"
|
||||
|
||||
// + standard includes
|
||||
#include <string>
|
||||
#include <iostream>
|
||||
#include <cassert>
|
||||
#include <cctype>
|
||||
#include <climits>
|
||||
#include <cmath>
|
||||
#include <cstring>
|
||||
#include <iomanip>
|
||||
#include <sstream>
|
||||
#include <utility>
|
||||
#include <cctype>
|
||||
#include <climits>
|
||||
#include <ctime>
|
||||
#include <cstdio>
|
||||
#include <cstdlib>
|
||||
#include <cassert>
|
||||
#include <cstring>
|
||||
#include <cmath>
|
||||
#include <math.h>
|
||||
|
||||
// *****************************************************************************
|
||||
namespace {
|
||||
|
||||
@ -2,21 +2,14 @@
|
||||
|
||||
// included header files
|
||||
#include "value.hpp"
|
||||
#include "types.hpp"
|
||||
|
||||
#include "convert.hpp"
|
||||
#include "enforce.hpp"
|
||||
#include "error.hpp"
|
||||
#include "convert.hpp"
|
||||
#include "types.hpp"
|
||||
|
||||
// + standard includes
|
||||
#include <ctype.h>
|
||||
|
||||
#include <cassert>
|
||||
#include <cstdarg>
|
||||
#include <cstdio>
|
||||
#include <cstdlib>
|
||||
#include <cstring>
|
||||
#include <ctime>
|
||||
#include <iomanip>
|
||||
#include <regex>
|
||||
#include <sstream>
|
||||
|
||||
|
||||
@ -6,7 +6,6 @@
|
||||
#include <curl/curl.h>
|
||||
#endif
|
||||
|
||||
#include "http.hpp"
|
||||
#include "version.hpp"
|
||||
#include "makernote_int.hpp"
|
||||
#include "futils.hpp"
|
||||
@ -20,7 +19,6 @@
|
||||
#include <fstream>
|
||||
#include <regex>
|
||||
#include <set>
|
||||
#include <sstream>
|
||||
|
||||
// #1147
|
||||
#ifndef WIN32
|
||||
|
||||
@ -6,31 +6,16 @@
|
||||
*/
|
||||
|
||||
// included header files
|
||||
#include "config.h"
|
||||
|
||||
#include "webpimage.hpp"
|
||||
#include "image_int.hpp"
|
||||
|
||||
#include "basicio.hpp"
|
||||
#include "config.h"
|
||||
#include "convert.hpp"
|
||||
#include "enforce.hpp"
|
||||
#include "futils.hpp"
|
||||
#include "basicio.hpp"
|
||||
#include "tags.hpp"
|
||||
#include "tags_int.hpp"
|
||||
#include "types.hpp"
|
||||
#include "tiffimage.hpp"
|
||||
#include "tiffimage_int.hpp"
|
||||
#include "convert.hpp"
|
||||
#include "image_int.hpp"
|
||||
#include "safe_op.hpp"
|
||||
|
||||
#include <cmath>
|
||||
#include <iomanip>
|
||||
#include <string>
|
||||
#include <cstring>
|
||||
#include <iostream>
|
||||
#include <sstream>
|
||||
#include <cassert>
|
||||
#include <cstdio>
|
||||
|
||||
#define CHECK_BIT(var,pos) ((var) & (1<<(pos)))
|
||||
#include "types.hpp"
|
||||
|
||||
namespace {
|
||||
[[maybe_unused]] std::string binaryToHex(const uint8_t* data, size_t size)
|
||||
|
||||
@ -8,10 +8,7 @@
|
||||
#include "properties.hpp"
|
||||
|
||||
// + standard includes
|
||||
#include <iostream>
|
||||
#include <algorithm>
|
||||
#include <cassert>
|
||||
#include <string>
|
||||
|
||||
// Adobe XMP Toolkit
|
||||
#ifdef EXV_HAVE_XMP_TOOLKIT
|
||||
|
||||
@ -1,21 +1,14 @@
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
#include "config.h"
|
||||
|
||||
#include "xmpsidecar.hpp"
|
||||
#include "image.hpp"
|
||||
|
||||
#include "basicio.hpp"
|
||||
#include "error.hpp"
|
||||
#include "xmp_exiv2.hpp"
|
||||
#include "futils.hpp"
|
||||
#include "config.h"
|
||||
#include "convert.hpp"
|
||||
#include "error.hpp"
|
||||
#include "futils.hpp"
|
||||
#include "image.hpp"
|
||||
#include "xmp_exiv2.hpp"
|
||||
|
||||
// + standard includes
|
||||
#include <algorithm>
|
||||
#include <string>
|
||||
#include <iostream>
|
||||
#include <cassert>
|
||||
|
||||
// *****************************************************************************
|
||||
namespace {
|
||||
constexpr auto xmlHeader = "<?xpacket begin=\"\xef\xbb\xbf\" id=\"W5M0MpCehiHzreSzNTczkc9d\"?>\n";
|
||||
const auto xmlHdrCnt = static_cast<long>(std::strlen(xmlHeader)); // without the trailing 0-character
|
||||
|
||||
Loading…
Reference in New Issue
Block a user