summaryrefslogtreecommitdiff
path: root/boost/gil/extension/io/png/detail/reader_backend.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/gil/extension/io/png/detail/reader_backend.hpp')
-rw-r--r--boost/gil/extension/io/png/detail/reader_backend.hpp43
1 files changed, 16 insertions, 27 deletions
diff --git a/boost/gil/extension/io/png/detail/reader_backend.hpp b/boost/gil/extension/io/png/detail/reader_backend.hpp
index 914d4c7505..18085b8746 100644
--- a/boost/gil/extension/io/png/detail/reader_backend.hpp
+++ b/boost/gil/extension/io/png/detail/reader_backend.hpp
@@ -1,34 +1,23 @@
-/*
- Copyright 2012 Christian Henning
- Use, modification and distribution are subject to the Boost Software License,
- Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
- http://www.boost.org/LICENSE_1_0.txt).
-*/
-
-/*************************************************************************************************/
-
+//
+// Copyright 2012 Christian Henning
+//
+// Distributed under the Boost Software License, Version 1.0
+// See accompanying file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt
+//
#ifndef BOOST_GIL_EXTENSION_IO_DETAIL_READER_BACKEND_HPP
#define BOOST_GIL_EXTENSION_IO_DETAIL_READER_BACKEND_HPP
-////////////////////////////////////////////////////////////////////////////////////////
-/// \file
-/// \brief
-/// \author Christian Henning \n
-///
-/// \date 2012 \n
-///
-////////////////////////////////////////////////////////////////////////////////////////
-
#include <boost/gil/extension/io/png/tags.hpp>
-
#include <boost/gil/extension/io/png/detail/base.hpp>
+#include <boost/gil/extension/io/png/detail/supported_types.hpp>
namespace boost { namespace gil {
-#if BOOST_WORKAROUND(BOOST_MSVC, >= 1400)
-#pragma warning(push)
-#pragma warning(disable:4512) //assignment operator could not be generated
-#pragma warning(disable:4611) //interaction between '_setjmp' and C++ object destruction is non-portable
+#if BOOST_WORKAROUND(BOOST_MSVC, >= 1400)
+#pragma warning(push)
+#pragma warning(disable:4512) //assignment operator could not be generated
+#pragma warning(disable:4611) //interaction between '_setjmp' and C++ object destruction is non-portable
#endif
///
@@ -80,7 +69,7 @@ public:
void read_header()
{
using boost::gil::detail::PNG_BYTES_TO_CHECK;
-
+
// check the file's first few bytes
byte_t buf[PNG_BYTES_TO_CHECK];
@@ -688,9 +677,9 @@ public:
std::size_t _number_passes;
};
-#if BOOST_WORKAROUND(BOOST_MSVC, >= 1400)
-#pragma warning(pop)
-#endif
+#if BOOST_WORKAROUND(BOOST_MSVC, >= 1400)
+#pragma warning(pop)
+#endif
} // namespace gil
} // namespace boost