File: maps-osm-node.h

package info (click to toggle)
gnome-maps 49.3-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 12,528 kB
  • sloc: javascript: 24,148; ansic: 3,301; xml: 299; makefile: 10; sh: 4
file content (46 lines) | stat: -rw-r--r-- 1,365 bytes parent folder | download | duplicates (6)
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
/*
 * Copyright (c) 2015 Marcus Lundblad
 *
 * GNOME Maps 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.
 *
 * GNOME Maps 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 GNOME Maps; if not, see <http://www.gnu.org/licenses/>
 *
 * Author: Marcus Lundblad <ml@update.uu.se>
 */

#ifndef __MAPS_OSM_NODE_H__
#define __MAPS_OSM_NODE_H__

#include "maps-osm-object.h"

#include <glib-object.h>

#define MAPS_TYPE_OSMNODE maps_osm_node_get_type ()
G_DECLARE_FINAL_TYPE(MapsOSMNode, maps_osm_node, MAPS, OSMNODE, MapsOSMObject)

typedef struct _MapsOSMNodePrivate MapsOSMNodePrivate;

struct _MapsOSMNode
{
  MapsOSMObject parent_instance;
  MapsOSMNodePrivate *priv;
};

struct _MapsOSMNodeClass
{
  MapsOSMObjectClass parent_class;
};

MapsOSMNode *maps_osm_node_new (guint64 id, guint version, guint64 changeset,
                                double longitude, double latitude);

#endif //__MAPS_OSM_NODE_H__