From 72068598e51a020a1f4c405c3d1650e4d2eef0a3 Mon Sep 17 00:00:00 2001 From: Aleksander Morgado Date: Wed, 31 Oct 2012 12:09:46 +0100 Subject: libmm-glib: new header file for common stuff in location reporting --- libmm-glib/mm-location-common.h | 48 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 libmm-glib/mm-location-common.h (limited to 'libmm-glib/mm-location-common.h') diff --git a/libmm-glib/mm-location-common.h b/libmm-glib/mm-location-common.h new file mode 100644 index 00000000..6397dc6c --- /dev/null +++ b/libmm-glib/mm-location-common.h @@ -0,0 +1,48 @@ +/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/* + * 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: + * + * Copyright (C) 2012 Lanedo GmbH + */ + +#ifndef MM_LOCATION_COMMON_H +#define MM_LOCATION_COMMON_H + +#if !defined (__MODEM_MANAGER_H_INSIDE__) +#error "Only can be included directly." +#endif + +/** + * MM_LOCATION_LONGITUDE_UNKNOWN: + * + * Identifier for an unknown longitude value. + * + * Proper longitude values fall in the [-180,180] range. + */ +#define MM_LOCATION_LONGITUDE_UNKNOWN G_MINDOUBLE + +/** + * MM_LOCATION_LATITUDE_UNKNOWN: + * + * Identifier for an unknown latitude value. + * + * Proper latitude values fall in the [-90,90] range. + */ +#define MM_LOCATION_LATITUDE_UNKNOWN G_MINDOUBLE + +/** + * MM_LOCATION_ALTITUDE_UNKNOWN: + * + * Identifier for an unknown altitude value. + */ +#define MM_LOCATION_ALTITUDE_UNKNOWN G_MINDOUBLE + +#endif /* MM_LOCATION_COMMON_H */ -- cgit v1.2.3-70-g09d2