base.hpp 768 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. //
  2. // Copyright 2010 Christian Henning
  3. //
  4. // Distributed under the Boost Software License, Version 1.0
  5. // See accompanying file LICENSE_1_0.txt or copy at
  6. // http://www.boost.org/LICENSE_1_0.txt
  7. //
  8. #ifndef BOOST_GIL_EXTENSION_IO_JPEG_DETAIL_BASE_HPP
  9. #define BOOST_GIL_EXTENSION_IO_JPEG_DETAIL_BASE_HPP
  10. #include <boost/gil/extension/io/jpeg/tags.hpp>
  11. #include <csetjmp>
  12. namespace boost { namespace gil {
  13. #if BOOST_WORKAROUND(BOOST_MSVC, >= 1400)
  14. #pragma warning(push)
  15. #pragma warning(disable:4324) //structure was padded due to __declspec(align())
  16. #endif
  17. class jpeg_io_base
  18. {
  19. protected:
  20. jpeg_error_mgr _jerr;
  21. jmp_buf _mark;
  22. };
  23. #if BOOST_WORKAROUND(BOOST_MSVC, >= 1400)
  24. #pragma warning(pop)
  25. #endif
  26. } // namespace gil
  27. } // namespace boost
  28. #endif