/usr/include/osmgpsmap-1.0/osm-gps-map-source.h is in libosmgpsmap-1.0-dev 1.1.0-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 | /* -*- Mode: C; indent-tabs-mode: nil; c-basic-offset: 4; tab-width: 4 -*- */
/* vim:set et sw=4 ts=4 */
/*
* Copyright (C) 2013 John Stowers <john.stowers@gmail.com>
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, see <http://www.gnu.org/licenses/>.
*/
#ifndef _OSM_GPS_MAP_SOURCE_H_
#define _OSM_GPS_MAP_SOURCE_H_
#include <glib.h>
G_BEGIN_DECLS
typedef enum {
OSM_GPS_MAP_SOURCE_NULL,
OSM_GPS_MAP_SOURCE_OPENSTREETMAP,
OSM_GPS_MAP_SOURCE_OPENSTREETMAP_RENDERER,
OSM_GPS_MAP_SOURCE_OPENAERIALMAP,
OSM_GPS_MAP_SOURCE_MAPS_FOR_FREE,
OSM_GPS_MAP_SOURCE_OPENCYCLEMAP,
OSM_GPS_MAP_SOURCE_OSM_PUBLIC_TRANSPORT,
OSM_GPS_MAP_SOURCE_GOOGLE_STREET,
OSM_GPS_MAP_SOURCE_GOOGLE_SATELLITE,
OSM_GPS_MAP_SOURCE_GOOGLE_HYBRID,
OSM_GPS_MAP_SOURCE_VIRTUAL_EARTH_STREET,
OSM_GPS_MAP_SOURCE_VIRTUAL_EARTH_SATELLITE,
OSM_GPS_MAP_SOURCE_VIRTUAL_EARTH_HYBRID,
OSM_GPS_MAP_SOURCE_OSMC_TRAILS,
OSM_GPS_MAP_SOURCE_LAST
} OsmGpsMapSource_t;
const char* osm_gps_map_source_get_friendly_name (OsmGpsMapSource_t source);
const char* osm_gps_map_source_get_repo_uri (OsmGpsMapSource_t source);
const char* osm_gps_map_source_get_image_format (OsmGpsMapSource_t source);
int osm_gps_map_source_get_min_zoom (OsmGpsMapSource_t source);
int osm_gps_map_source_get_max_zoom (OsmGpsMapSource_t source);
gboolean osm_gps_map_source_is_valid (OsmGpsMapSource_t source);
G_END_DECLS
#endif /* _OSM_GPS_MAP_SOURCE_H_ */
|