1 /* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 4; tab-width: 4 -*- */
4 * Copyright (C) 2011, Guilhem Bonnefille <guilhem.bonnefille@gmail.com>
6 * viking is free software: you can redistribute it and/or modify it
7 * under the terms of the GNU General Public License as published by the
8 * Free Software Foundation, either version 2 of the License, or
9 * (at your option) any later version.
11 * viking is distributed in the hope that it will be useful, but
12 * WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
14 * See the GNU General Public License for more details.
16 * You should have received a copy of the GNU General Public License along
17 * with this program. If not, see <http://www.gnu.org/licenses/>.
20 #ifndef _BING_MAP_SOURCE_H
21 #define _BING_MAP_SOURCE_H
25 #include "vikslippymapsource.h"
29 #define BING_TYPE_MAP_SOURCE (bing_map_source_get_type ())
30 #define BING_MAP_SOURCE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BING_TYPE_MAP_SOURCE, BingMapSource))
31 #define BING_MAP_SOURCE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BING_TYPE_MAP_SOURCE, BingMapSourceClass))
32 #define BING_IS_MAP_SOURCE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BING_TYPE_MAP_SOURCE))
33 #define BING_IS_MAP_SOURCE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BING_TYPE_MAP_SOURCE))
34 #define BING_MAP_SOURCE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BING_TYPE_MAP_SOURCE, BingMapSourceClass))
36 typedef struct _BingMapSourceClass BingMapSourceClass;
37 typedef struct _BingMapSource BingMapSource;
39 struct _BingMapSourceClass
41 VikSlippyMapSourceClass parent_class;
46 VikSlippyMapSource parent_instance;
49 GType bing_map_source_get_type (void) G_GNUC_CONST;
51 BingMapSource * bing_map_source_new_with_id (guint16 id, const gchar *label, const gchar *key);
55 #endif /* _BING_MAP_SOURCE_H_ */