image-readers: move concrete implementations headers into platform/default

This commit is contained in:
artemp
2014-11-19 16:56:53 +01:00
committed by Leith Bade
parent 3f8efa6985
commit fc805cc41c
7 changed files with 9 additions and 8 deletions

View File

@@ -1,7 +1,7 @@
#ifndef MBGL_UTIL_JPEG_READER_HPP
#define MBGL_UTIL_JPEG_READER_HPP
#include "image_reader.hpp"
#include <mbgl/platform/default/image_reader.hpp>
// jpeg
extern "C"

View File

@@ -1,7 +1,7 @@
#ifndef MBGL_UTIL_PNG_READER_HPP
#define MBGL_UTIL_PNG_READER_HPP
#include "mbgl/util/image_reader.hpp"
#include <mbgl/platform/default/image_reader.hpp>
extern "C"
{

View File

@@ -8,7 +8,8 @@
#include <cstdlib>
#include <stdexcept>
#include <cstring>
#include <mbgl/util/image_reader.hpp>
#include <mbgl/platform/default/image_reader.hpp>
// Check png library version.
const static bool png_version_check = []() {

View File

@@ -1,6 +1,6 @@
#include "mbgl/util/image_reader.hpp"
#include "mbgl/util/png_reader.hpp"
#include "mbgl/util/jpeg_reader.hpp"
#include <mbgl/platform/default/image_reader.hpp>
#include <mbgl/platform/default/png_reader.hpp>
#include <mbgl/platform/default/jpeg_reader.hpp>
#include <boost/optional.hpp>
#include <boost/iostreams/device/array.hpp>

View File

@@ -1,4 +1,4 @@
#include "mbgl/util/jpeg_reader.hpp"
#include <mbgl/platform/default/jpeg_reader.hpp>
// boost
#include <boost/iostreams/device/file.hpp>

View File

@@ -1,4 +1,4 @@
#include "mbgl/util/png_reader.hpp"
#include <mbgl/platform/default/png_reader.hpp>
#include <iostream>
extern "C"
{