add a few missing include guards

This commit is contained in:
Dane Springmeyer 2011-01-13 18:45:40 +00:00
parent d25f6ed692
commit 2f369ff407
5 changed files with 28 additions and 0 deletions

View file

@ -22,6 +22,9 @@
//$Id$
#ifndef MAPNIK_ELLIPSOID_HPP
#define MAPNIK_ELLIPSOID_HPP
namespace mapnik {
struct ellipsoid
{
@ -29,3 +32,5 @@ struct ellipsoid
double b; // semi minor axis
};
}
#endif // MAPNIK_ELLIPSOID_HPP

View file

@ -22,6 +22,9 @@
//$Id$
#ifndef MAPNIK_FILTER_FEATURESET_HPP
#define MAPNIK_FILTER_FEATURESET_HPP
#include <mapnik/datasource.hpp>
namespace mapnik {
@ -50,3 +53,5 @@ private:
filter_type filter_;
};
}
#endif //MAPNIK_FILTER_FEATURESET_HPP

View file

@ -21,6 +21,10 @@
*****************************************************************************/
//$Id$
#ifndef MAPNIK_JPEG_IO_HPP
#define MAPNIK_JPEG_IO_HPP
#if defined(HAVE_JPEG)
#include <mapnik/global.hpp>
@ -128,3 +132,6 @@ void save_as_jpeg(T1 & file,int quality, T2 const& image)
}
#endif
#endif // MAPNIK_JPEG_IO_HPP

View file

@ -21,6 +21,10 @@
*****************************************************************************/
//$Id$
#ifndef MAPNIK_PNG_IO_HPP
#define MAPNIK_PNG_IO_HPP
#include <mapnik/global.hpp>
#include <mapnik/octree.hpp>
#include <mapnik/hextree.hpp>
@ -532,3 +536,5 @@ void save_as_png256_hex(T1 & file, T2 const& image, int colors = 256, int trans_
}
}
}
#endif // MAPNIK_PNG_IO_HPP

View file

@ -21,6 +21,9 @@
*****************************************************************************/
//$Id$
#ifndef MAPNIK_SCALE_DENOMINATOR_HPP
#define MAPNIK_SCALE_DENOMINATOR_HPP
#include <mapnik/config.hpp>
namespace mapnik {
@ -28,3 +31,5 @@ namespace mapnik {
class Map;
MAPNIK_DECL double scale_denominator(Map const& map, bool geographic);
}
#endif // MAPNIK_SCALE_DENOMINATOR_HPP