source: subversion/applications/utils/tirex/backend-mapnik/renderresponse.h @ 29902

Last change on this file since 29902 was 21171, checked in by daeron, 10 years ago

Make backend-mapnik to compile with mapnik trunk

File size: 599 bytes
Line 
1/*
2 * Tirex Tile Rendering System
3 *
4 * Mapnik rendering backend
5 *
6 * Originally written by Jochen Topf & Frederik Ramm.
7 *
8 */
9
10/**
11 * RenderResponse
12 *
13 * Class that encapsulates a render response - usually a plain image.
14 */
15
16#ifndef renderresponse_included
17#define renderresponse_included
18
19#include <mapnik/version.hpp>
20#include <mapnik/graphics.hpp>
21
22class RenderResponse
23{
24    public:
25#if MAPNIK_VERSION >= 800
26        mapnik::image_32 *image;
27#else
28        mapnik::Image32 *image;
29#endif
30
31    RenderResponse() { image = NULL; }
32    ~RenderResponse() { if (image) delete image; }
33
34};
35
36#endif
Note: See TracBrowser for help on using the repository browser.