Commit 654ba9dc authored by Jiří Techet's avatar Jiří Techet

Include champlain-memphis-renderer.h from champlain.h when available

parent bf3aee0c
......@@ -17,18 +17,16 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
#if !defined (__CHAMPLAIN_CHAMPLAIN_H_INSIDE__) && !defined (CHAMPLAIN_COMPILATION)
#error "Only <champlain/champlain.h> can be included directly."
#endif
#ifndef _CHAMPLAIN_MEMPHIS_RENDERER
#define _CHAMPLAIN_MEMPHIS_RENDERER
#define __CHAMPLAIN_CHAMPLAIN_H_INSIDE__
#include "champlain/champlain-features.h"
#include <champlain/champlain-tile-source.h>
#include <champlain/champlain-renderer.h>
#include <champlain/champlain-bounding-box.h>
#include <glib-object.h>
G_BEGIN_DECLS
#define CHAMPLAIN_TYPE_MEMPHIS_RENDERER champlain_memphis_renderer_get_type ()
......@@ -187,8 +185,6 @@ void champlain_memphis_renderer_set_tile_size (ChamplainMemphisRenderer *rendere
guint champlain_memphis_renderer_get_tile_size (ChamplainMemphisRenderer *renderer);
#undef __CHAMPLAIN_CHAMPLAIN_H_INSIDE__
G_END_DECLS
#endif /* _CHAMPLAIN_MEMPHIS_RENDERER */
......@@ -62,6 +62,10 @@
#include "champlain/champlain-image-renderer.h"
#include "champlain/champlain-error-tile-renderer.h"
#ifdef CHAMPLAIN_HAS_MEMPHIS
# include "champlain/champlain-memphis-renderer.h"
#endif
#undef __CHAMPLAIN_CHAMPLAIN_H_INSIDE__
#endif
......@@ -19,7 +19,6 @@
#include <gtk/gtk.h>
#include <champlain/champlain.h>
#include <champlain/champlain-memphis-renderer.h>
#include <champlain-gtk/champlain-gtk.h>
#include <clutter-gtk/clutter-gtk.h>
#include <memphis/memphis.h>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment