Only reveal class bmffimage in include/exiv2/bmffimage.hpp ifdef EXV_ENABLE_BMFF

main
Robin Mills 4 years ago
parent b09019c636
commit 7c6e81ff32

@ -32,7 +32,11 @@
namespace Exiv2 namespace Exiv2
{ {
EXIV2API bool enableBMFF(bool enable = true); EXIV2API bool enableBMFF(bool enable = true);
}
#ifdef EXV_ENABLE_BMFF
namespace Exiv2
{
struct Iloc struct Iloc
{ {
Iloc(uint32_t ID = 0, uint32_t start = 0, uint32_t length = 0) : ID_(ID), start_(start), length_(length){}; Iloc(uint32_t ID = 0, uint32_t start = 0, uint32_t length = 0) : ID_(ID), start_(start), length_(length){};
@ -168,3 +172,4 @@ namespace Exiv2
//! Check if the file iIo is a BMFF image. //! Check if the file iIo is a BMFF image.
EXIV2API bool isBmffType(BasicIo& iIo, bool advance); EXIV2API bool isBmffType(BasicIo& iIo, bool advance);
} // namespace Exiv2 } // namespace Exiv2
#endif // EXV_ENABLE_BMFF

Loading…
Cancel
Save