Remove almost empty unused headers.

This commit is contained in:
Hermann Kraus 2012-02-13 18:07:47 +01:00
parent 828316bffd
commit f3dc78506b
3 changed files with 0 additions and 163 deletions

View file

@ -1,35 +0,0 @@
/*****************************************************************************
*
* This file is part of Mapnik (c++ mapping toolkit)
*
* Copyright (C) 2011 Artem Pavlenko
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*
*****************************************************************************/
#ifndef MAPNIK_FILL_HPP
#define MAPNIK_FILL_HPP
namespace mapnik
{
class fill
{
};
}
#endif // MAPNIK_FILL_HPP

View file

@ -1,36 +0,0 @@
/*****************************************************************************
*
* This file is part of Mapnik (c++ mapping toolkit)
*
* Copyright (C) 2011 Artem Pavlenko
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*
*****************************************************************************/
#ifndef MAPNIK_STYLE_FACTORY_HPP
#define MAPNIK_STYLE_FACTORY_HPP
//#include <mapnik/style.hpp>
namespace mapnik {
class style_factory
{
};
}
#endif // MAPNIK_STYLE_FACTORY_HPP

View file

@ -1,92 +0,0 @@
/*****************************************************************************
*
* This file is part of Mapnik (c++ mapping toolkit)
*
* Copyright (C) 2011 Artem Pavlenko
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*
*****************************************************************************/
#ifndef MAPNIK_VERTEX_TRANSFORM_HPP
#define MAPNIK_VERTEX_TRANSFORM_HPP
// mapnik
#include <mapnik/box2d.hpp>
#include <mapnik/vertex.hpp>
namespace mapnik
{
template <typename T0 ,typename T1,int shift=8>
struct Shift
{
typedef T0 value_type;
typedef T1 return_type;
static return_type apply(value_type val)
{
return static_cast<return_type>(val*(1<<shift));
}
};
template <typename T0,typename T1>
struct Shift<T0,T1,0>
{
typedef T0 value_type;
typedef T1 return_type;
static return_type apply(value_type val)
{
return static_cast<return_type>(val);
}
};
template <typename T>
struct Shift<T,T,0>
{
typedef T value_type;
typedef T return_type;
static T& apply(T& val)
{
return val;
}
};
typedef Shift<double,double,0> NO_SHIFT;
typedef Shift<double,int,0> SHIFT0;
typedef Shift<double,int,8> SHIFT8;
template <typename T0,typename T1,typename Trans>
struct view_transform;
template <typename Trans>
struct view_transform <vertex2d,vertex2d,Trans>
{
};
template <typename Trans>
struct view_transform <vertex2d,vertex2i,Trans>
{
};
template <typename Trans>
struct view_transform<box2d<double>,box2d<double>,Trans>
{
};
}
#endif // MAPNIK_VERTEX_TRANSFORM_HPP