Changeset View
Changeset View
Standalone View
Standalone View
src/kexiv2_p.h
Show First 20 Lines • Show All 55 Lines • ▼ Show 20 Line(s) | |||||
56 | 56 | | |||
57 | // The pragmas are required to be able to catch exceptions thrown by libexiv2: | 57 | // The pragmas are required to be able to catch exceptions thrown by libexiv2: | ||
58 | // See http://gcc.gnu.org/wiki/Visibility, the section about c++ exceptions. | 58 | // See http://gcc.gnu.org/wiki/Visibility, the section about c++ exceptions. | ||
59 | // They are needed for all libexiv2 versions that do not care about visibility. | 59 | // They are needed for all libexiv2 versions that do not care about visibility. | ||
60 | #ifdef __GNUC__ | 60 | #ifdef __GNUC__ | ||
61 | #pragma GCC visibility push(default) | 61 | #pragma GCC visibility push(default) | ||
62 | #endif | 62 | #endif | ||
63 | 63 | | |||
64 | #include <exiv2/exv_conf.h> | 64 | #include <exiv2/exiv2.hpp> | ||
65 | #include <exiv2/error.hpp> | | |||
66 | #include <exiv2/image.hpp> | | |||
67 | #include <exiv2/jpgimage.hpp> | | |||
68 | #include <exiv2/datasets.hpp> | | |||
69 | #include <exiv2/tags.hpp> | | |||
70 | #include <exiv2/preview.hpp> | | |||
71 | #include <exiv2/properties.hpp> | | |||
72 | #include <exiv2/types.hpp> | | |||
73 | #include <exiv2/exif.hpp> | | |||
74 | #include <exiv2/xmpsidecar.hpp> | | |||
75 | 65 | | |||
76 | // Check if Exiv2 support XMP | 66 | // Check if Exiv2 support XMP | ||
77 | 67 | | |||
78 | #ifdef EXV_HAVE_XMP_TOOLKIT | 68 | #ifdef EXV_HAVE_XMP_TOOLKIT | ||
79 | # define _XMP_SUPPORT_ 1 | 69 | # define _XMP_SUPPORT_ 1 | ||
80 | #endif | 70 | #endif | ||
81 | 71 | | |||
82 | // Make sure an EXIV2_TEST_VERSION macro exists: | | |||
83 | | ||||
84 | #ifdef EXIV2_VERSION | | |||
85 | # ifndef EXIV2_TEST_VERSION | | |||
86 | # define EXIV2_TEST_VERSION(major,minor,patch) \ | | |||
87 | ( EXIV2_VERSION >= EXIV2_MAKE_VERSION(major,minor,patch) ) | | |||
88 | # endif | | |||
89 | #else | | |||
90 | # define EXIV2_TEST_VERSION(major,minor,patch) (false) | | |||
91 | #endif | | |||
92 | | ||||
93 | // With exiv2 > 0.20.0, all makernote header files have been removed to increase binary compatibility. | 72 | // With exiv2 > 0.20.0, all makernote header files have been removed to increase binary compatibility. | ||
94 | // See Exiv2 bugzilla entry http://dev.exiv2.org/issues/719 | 73 | // See Exiv2 bugzilla entry http://dev.exiv2.org/issues/719 | ||
95 | // and wiki topic http://dev.exiv2.org/boards/3/topics/583 | 74 | // and wiki topic http://dev.exiv2.org/boards/3/topics/583 | ||
96 | 75 | | |||
97 | #ifdef __GNUC__ | 76 | #ifdef __GNUC__ | ||
98 | #pragma GCC visibility pop | 77 | #pragma GCC visibility pop | ||
99 | #endif | 78 | #endif | ||
100 | 79 | | |||
▲ Show 20 Lines • Show All 224 Lines • Show Last 20 Lines |