Commit d3d2c123 authored by Jussi Kukkonen's avatar Jussi Kukkonen

renamed iposprovider -> iposition

parent ece5b27e
#include "geoclue_iposprovider.h"
#include "geoclue_iposition.h"
static void
geoclue_iposprovider_base_init (gpointer g_class)
geoclue_iposition_base_init (gpointer g_class)
{
static gboolean initialized = FALSE;
if (!initialized) {
......@@ -11,13 +11,13 @@ geoclue_iposprovider_base_init (gpointer g_class)
}
GType
geoclue_iposprovider_get_type (void)
geoclue_iposition_get_type (void)
{
static GType type = 0;
if (type == 0) {
static const GTypeInfo info = {
sizeof (GeoclueIPosproviderInterface),
geoclue_iposprovider_base_init, /* base_init */
sizeof (GeoclueIPositionInterface),
geoclue_iposition_base_init, /* base_init */
NULL, /* base_finalize */
NULL, /* class_init */
NULL, /* class_finalize */
......@@ -33,7 +33,7 @@ geoclue_iposprovider_get_type (void)
return type;
}
void geoclue_iposprovider_do_action (GeoclueIPosprovider *self)
void geoclue_iposition_do_action (GeoclueIPosition *self)
{
GEOCLUE_IPOSPROVIDER_GET_INTERFACE (self)->do_action (self);
GEOCLUE_IPOSITION_GET_INTERFACE (self)->do_action (self);
}
#ifndef GEOCLUE_IPOSITION_H
#define GEOCLUE_IPOSITION_H
#include <glib-object.h>
#define GEOCLUE_TYPE_IPOSITION (geoclue_iposition_get_type ())
#define GEOCLUE_IPOSITION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GEOCLUE_TYPE_IPOSITION, GeoclueIPosition))
#define GEOCLUE_IS_IPOSITION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GEOCLUE_TYPE_IPOSITION))
#define GEOCLUE_IPOSITION_GET_INTERFACE(inst) (G_TYPE_INSTANCE_GET_INTERFACE ((inst), GEOCLUE_TYPE_IPOSITION, GeoclueIPositionInterface))
typedef struct _GeoclueIPosition GeoclueIPosition; /* dummy object */
typedef struct _GeoclueIPositionInterface GeoclueIPositionInterface;
struct _GeoclueIPositionInterface {
GTypeInterface parent;
void (*do_action) (GeoclueIPosition *self);
};
GType geoclue_iposition_get_type (void);
/* Actual interface */
void geoclue_iposition_do_action (GeoclueIPosition *self);
#endif /*GEOCLUE_IPOSITION_H*/
#ifndef GEOCLUE_IPOSPROVIDER_H
#define GEOCLUE_IPOSPROVIDER_H
#include <glib-object.h>
#define GEOCLUE_TYPE_IPOSPROVIDER (geoclue_iposprovider_get_type ())
#define GEOCLUE_IPOSPROVIDER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GEOCLUE_TYPE_IPOSPROVIDER, GeoclueIPosprovider))
#define GEOCLUE_IS_IPOSPROVIDER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GEOCLUE_TYPE_IPOSPROVIDER))
#define GEOCLUE_IPOSPROVIDER_GET_INTERFACE(inst) (G_TYPE_INSTANCE_GET_INTERFACE ((inst), GEOCLUE_TYPE_IPOSPROVIDER, GeoclueIPosproviderInterface))
typedef struct _GeoclueIPosprovider GeoclueIPosprovider; /* dummy object */
typedef struct _GeoclueIPosproviderInterface GeoclueIPosproviderInterface;
struct _GeoclueIPosproviderInterface {
GTypeInterface parent;
void (*do_action) (GeoclueIPosprovider *self);
};
GType geoclue_iposprovider_get_type (void);
/* Interface API */
void geoclue_iposprovider_do_action (GeoclueIPosprovider *self);
#endif /*GEOCLUE_IPOSPROVIDER_H*/
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment