Skip to content

Commit

Permalink
Only reveal class bmffimage in include/exiv2/bmffimage.hpp ifdef EXV_…
Browse files Browse the repository at this point in the history
…ENABLE_BMFF
  • Loading branch information
clanmills committed Apr 14, 2021
1 parent b09019c commit 7c6e81f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions include/exiv2/bmffimage.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,11 @@
namespace Exiv2
{
EXIV2API bool enableBMFF(bool enable = true);
}

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

0 comments on commit 7c6e81f

Please sign in to comment.