base.hpp 1.1 KB

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