1
/*
2
 * Copyright (C) 2010-2012 Jiri Techet <techet@gmail.com>
3
 *
4
 * This library is free software; you can redistribute it and/or
5
 * modify it under the terms of the GNU Lesser General Public
6
 * License as published by the Free Software Foundation; either
7
 * version 2.1 of the License, or (at your option) any later version.
8
 *
9
 * This library is distributed in the hope that it will be useful,
10
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
12
 * Lesser General Public License for more details.
13
 *
14
 * You should have received a copy of the GNU Lesser General Public
15
 * License along with this library; if not, write to the Free Software
16
 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
17
 */
18
19
#if !defined (__CHAMPLAIN_CHAMPLAIN_H_INSIDE__) && !defined (CHAMPLAIN_COMPILATION)
20
#error "Only <champlain/champlain.h> can be included directly."
21
#endif
22
23
#ifndef __CHAMPLAIN_IMAGE_RENDERER_H__
24
#define __CHAMPLAIN_IMAGE_RENDERER_H__
25
26
#include <champlain/champlain-tile.h>
27
#include <champlain/champlain-renderer.h>
28
29
G_BEGIN_DECLS
30
31
#define CHAMPLAIN_TYPE_IMAGE_RENDERER champlain_image_renderer_get_type ()
32
33
#define CHAMPLAIN_IMAGE_RENDERER(obj) \
34
  (G_TYPE_CHECK_INSTANCE_CAST ((obj), CHAMPLAIN_TYPE_IMAGE_RENDERER, ChamplainImageRenderer))
35
36
#define CHAMPLAIN_IMAGE_RENDERER_CLASS(klass) \
37
  (G_TYPE_CHECK_CLASS_CAST ((klass), CHAMPLAIN_TYPE_IMAGE_RENDERER, ChamplainImageRendererClass))
38
39
#define CHAMPLAIN_IS_IMAGE_RENDERER(obj) \
40
  (G_TYPE_CHECK_INSTANCE_TYPE ((obj), CHAMPLAIN_TYPE_IMAGE_RENDERER))
41
42
#define CHAMPLAIN_IS_IMAGE_RENDERER_CLASS(klass) \
43
  (G_TYPE_CHECK_CLASS_TYPE ((klass), CHAMPLAIN_TYPE_IMAGE_RENDERER))
44
45
#define CHAMPLAIN_IMAGE_RENDERER_GET_CLASS(obj) \
46
  (G_TYPE_INSTANCE_GET_CLASS ((obj), CHAMPLAIN_TYPE_IMAGE_RENDERER, ChamplainImageRendererClass))
47
48
typedef struct _ChamplainImageRendererPrivate ChamplainImageRendererPrivate;
49
50
typedef struct _ChamplainImageRenderer ChamplainImageRenderer;
51
typedef struct _ChamplainImageRendererClass ChamplainImageRendererClass;
52
53
/**
54
 * ChamplainImageRenderer:
55
 *
56
 * The #ChamplainImageRenderer structure contains only private data
57
 * and should be accessed using the provided API
58
 *
59
 * Since: 0.8
60
 */
61
struct _ChamplainImageRenderer
62
{
63
  ChamplainRenderer parent;
64
65
  ChamplainImageRendererPrivate *priv;
66
};
67
68
struct _ChamplainImageRendererClass
69
{
70
  ChamplainRendererClass parent_class;
71
};
72
73
GType champlain_image_renderer_get_type (void);
74
75
ChamplainImageRenderer *champlain_image_renderer_new (void);
76
77
G_END_DECLS
78
79
#endif /* __CHAMPLAIN_IMAGE_RENDERER_H__ */