|
Packit Service |
b2c451 |
/* vim: set et ts=8 sw=8: */
|
|
Packit Service |
b2c451 |
/*
|
|
Packit Service |
b2c451 |
* Copyright 2015 Red Hat, Inc.
|
|
Packit Service |
b2c451 |
*
|
|
Packit Service |
b2c451 |
* Geoclue is free software; you can redistribute it and/or modify it under
|
|
Packit Service |
b2c451 |
* the terms of the GNU General Public License as published by the Free
|
|
Packit Service |
b2c451 |
* Software Foundation; either version 2 of the License, or (at your option)
|
|
Packit Service |
b2c451 |
* any later version.
|
|
Packit Service |
b2c451 |
*
|
|
Packit Service |
b2c451 |
* Geoclue is distributed in the hope that it will be useful, but WITHOUT ANY
|
|
Packit Service |
b2c451 |
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
|
|
Packit Service |
b2c451 |
* FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
|
|
Packit Service |
b2c451 |
* details.
|
|
Packit Service |
b2c451 |
*
|
|
Packit Service |
b2c451 |
* You should have received a copy of the GNU General Public License along
|
|
Packit Service |
b2c451 |
* with Geoclue; if not, write to the Free Software Foundation, Inc.,
|
|
Packit Service |
b2c451 |
* 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|
Packit Service |
b2c451 |
*
|
|
Packit Service |
b2c451 |
* Authors: Zeeshan Ali (Khattak) <zeeshanak@gnome.org>
|
|
Packit Service |
b2c451 |
*/
|
|
Packit Service |
b2c451 |
|
|
Packit Service |
b2c451 |
#ifndef GCLUE_COMPASS_H
|
|
Packit Service |
b2c451 |
#define GCLUE_COMPASS_H
|
|
Packit Service |
b2c451 |
|
|
Packit Service |
b2c451 |
#include <glib.h>
|
|
Packit Service |
b2c451 |
#include <gio/gio.h>
|
|
Packit Service |
b2c451 |
|
|
Packit Service |
b2c451 |
G_BEGIN_DECLS
|
|
Packit Service |
b2c451 |
|
|
Packit Service |
b2c451 |
#define GCLUE_TYPE_COMPASS (gclue_compass_get_type())
|
|
Packit Service |
b2c451 |
#define GCLUE_COMPASS(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GCLUE_TYPE_COMPASS, GClueCompass))
|
|
Packit Service |
b2c451 |
#define GCLUE_COMPASS_CONST(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GCLUE_TYPE_COMPASS, GClueCompass const))
|
|
Packit Service |
b2c451 |
#define GCLUE_COMPASS_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GCLUE_TYPE_COMPASS, GClueCompassClass))
|
|
Packit Service |
b2c451 |
#define GCLUE_IS_COMPASS(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GCLUE_TYPE_COMPASS))
|
|
Packit Service |
b2c451 |
#define GCLUE_IS_COMPASS_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GCLUE_TYPE_COMPASS))
|
|
Packit Service |
b2c451 |
#define GCLUE_COMPASS_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GCLUE_TYPE_COMPASS, GClueCompassClass))
|
|
Packit Service |
b2c451 |
|
|
Packit Service |
b2c451 |
typedef struct _GClueCompass GClueCompass;
|
|
Packit Service |
b2c451 |
typedef struct _GClueCompassClass GClueCompassClass;
|
|
Packit Service |
b2c451 |
typedef struct _GClueCompassPrivate GClueCompassPrivate;
|
|
Packit Service |
b2c451 |
|
|
Packit Service |
b2c451 |
struct _GClueCompass
|
|
Packit Service |
b2c451 |
{
|
|
Packit Service |
b2c451 |
GObject parent;
|
|
Packit Service |
b2c451 |
|
|
Packit Service |
b2c451 |
/*< private >*/
|
|
Packit Service |
b2c451 |
GClueCompassPrivate *priv;
|
|
Packit Service |
b2c451 |
};
|
|
Packit Service |
b2c451 |
|
|
Packit Service |
b2c451 |
struct _GClueCompassClass
|
|
Packit Service |
b2c451 |
{
|
|
Packit Service |
b2c451 |
GObjectClass parent_class;
|
|
Packit Service |
b2c451 |
};
|
|
Packit Service |
b2c451 |
|
|
Packit Service |
b2c451 |
GType gclue_compass_get_type (void) G_GNUC_CONST;
|
|
Packit Service |
b2c451 |
|
|
Packit Service |
b2c451 |
GClueCompass *
|
|
Packit Service |
b2c451 |
gclue_compass_get_singleton (void);
|
|
Packit Service |
b2c451 |
gdouble
|
|
Packit Service |
b2c451 |
gclue_compass_get_heading (GClueCompass *compass);
|
|
Packit Service |
b2c451 |
|
|
Packit Service |
b2c451 |
G_END_DECLS
|
|
Packit Service |
b2c451 |
|
|
Packit Service |
b2c451 |
#endif /* GCLUE_COMPASS_H */
|