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_NULL_TILE_SOURCE
24
#define _CHAMPLAIN_NULL_TILE_SOURCE
25
26
#include <glib-object.h>
27
28
#include <champlain/champlain-tile-source.h>
29
30
G_BEGIN_DECLS
31
32
#define CHAMPLAIN_TYPE_NULL_TILE_SOURCE champlain_null_tile_source_get_type ()
33
34
#define CHAMPLAIN_NULL_TILE_SOURCE(obj) \
35
  (G_TYPE_CHECK_INSTANCE_CAST ((obj), CHAMPLAIN_TYPE_NULL_TILE_SOURCE, ChamplainNullTileSource))
36
37
#define CHAMPLAIN_NULL_TILE_SOURCE_CLASS(klass) \
38
  (G_TYPE_CHECK_CLASS_CAST ((klass), CHAMPLAIN_TYPE_NULL_TILE_SOURCE, ChamplainNullTileSourceClass))
39
40
#define CHAMPLAIN_IS_NULL_TILE_SOURCE(obj) \
41
  (G_TYPE_CHECK_INSTANCE_TYPE ((obj), CHAMPLAIN_TYPE_NULL_TILE_SOURCE))
42
43
#define CHAMPLAIN_IS_NULL_TILE_SOURCE_CLASS(klass) \
44
  (G_TYPE_CHECK_CLASS_TYPE ((klass), CHAMPLAIN_TYPE_NULL_TILE_SOURCE))
45
46
#define CHAMPLAIN_NULL_TILE_SOURCE_GET_CLASS(obj) \
47
  (G_TYPE_INSTANCE_GET_CLASS ((obj), CHAMPLAIN_TYPE_NULL_TILE_SOURCE, ChamplainNullTileSourceClass))
48
49
typedef struct _ChamplainNullTileSourcePrivate ChamplainNullTileSourcePrivate;
50
51
/**
52
 * ChamplainNullTileSource:
53
 *
54
 * The #ChamplainNullTileSource structure contains only private data
55
 * and should be accessed using the provided API
56
 *
57
 * Since: 0.8
58
 */
59
typedef struct _ChamplainNullTileSource ChamplainNullTileSource;
60
typedef struct _ChamplainNullTileSourceClass ChamplainNullTileSourceClass;
61
62
struct _ChamplainNullTileSource
63
{
64
  ChamplainTileSource parent;
65
};
66
67
struct _ChamplainNullTileSourceClass
68
{
69
  ChamplainTileSourceClass parent_class;
70
};
71
72
GType champlain_null_tile_source_get_type (void);
73
74
ChamplainNullTileSource *champlain_null_tile_source_new_full (ChamplainRenderer *renderer);
75
76
77
G_END_DECLS
78
79
#endif /* _CHAMPLAIN_NULL_TILE_SOURCE */