depcomp
compile
docs/reference-gtk/version.xml
+docs/reference-gtk/html/*.*
+docs/reference-gtk/tmpl/*.*
+docs/reference-gtk/xml/*.*
docs/reference/version.xml
+docs/reference/html/*.*
+docs/reference/tmpl/*.*
+docs/reference/xml/*.*
gtk-doc.make
install-sh
libtool
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
+/**
+ * SECTION:champlain-point
+ * @short_description: A base struct to store a latitude and longitude
+ */
+
#include "champlain-point.h"
GType
/**
* champlain_point_new:
- * @point: a #ChamplainPoint
+ * @lat: the latitude
+ * @lon: the longitude
*
- * Frees a point structure created with champlain_point_copy().
+ * Return value: a newly allocated #ChamplainPoint to be freed with #champlain_point_free
*
* Since: 0.4
*/
#include <glib-object.h>
-typedef struct
+typedef struct _ChamplainPoint ChamplainPoint;
+
+struct _ChamplainPoint
{
double lat;
double lon;
-} ChamplainPoint;
+};
GType champlain_point_get_type (void) G_GNUC_CONST;
#define CHAMPLAIN_TYPE_POINT (champlain_point_get_type ())
+#define CHAMPLAIN_POINT(x) ((ChamplainPoint *) (x))
ChamplainPoint * champlain_point_copy (const ChamplainPoint *point);
<xi:include href="xml/champlain-base-marker.xml"/>
<xi:include href="xml/champlain-marker.xml"/>
<xi:include href="xml/champlain-polygon.xml"/>
+ <xi:include href="xml/champlain-point.xml"/>
</chapter>
<chapter>
<title>II. Map Source API Reference</title>
ChamplainState
</SECTION>
+<SECTION>
+<FILE>champlain-point</FILE>
+<TITLE>ChamplainPoint</TITLE>
+ChamplainPoint
+champlain_point_new
+champlain_point_copy
+champlain_point_free
+<SUBSECTION Standard>
+CHAMPLAIN_POINT
+CHAMPLAIN_TYPE_POINT
+champlain_point_get_type
+</SECTION>
+
<SECTION>
<FILE>champlain-cache</FILE>
<TITLE>ChamplainCache</TITLE>
champlain_cache_get_type
champlain_map_source_factory_get_type
champlain_polygon_get_type
+champlain_point_get_type