| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
|
| 16 |
|
| 17 |
|
| 18 |
|
| 19 |
|
| 20 |
|
| 21 |
|
| 22 |
|
| 23 |
#ifndef GCLUE_SERVICE_CLIENT_H |
| 24 |
#define GCLUE_SERVICE_CLIENT_H |
| 25 |
|
| 26 |
#include <glib-object.h> |
| 27 |
#include "gclue-client-interface.h" |
| 28 |
#include "geoclue-agent-interface.h" |
| 29 |
#include "gclue-client-info.h" |
| 30 |
|
| 31 |
G_BEGIN_DECLS |
| 32 |
|
| 33 |
#define GCLUE_TYPE_SERVICE_CLIENT (gclue_service_client_get_type()) |
| 34 |
#define GCLUE_SERVICE_CLIENT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GCLUE_TYPE_SERVICE_CLIENT, GClueServiceClient)) |
| 35 |
#define GCLUE_SERVICE_CLIENT_CONST(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GCLUE_TYPE_SERVICE_CLIENT, GClueServiceClient const)) |
| 36 |
#define GCLUE_SERVICE_CLIENT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GCLUE_TYPE_SERVICE_CLIENT, GClueServiceClientClass)) |
| 37 |
#define GCLUE_IS_SERVICE_CLIENT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GCLUE_TYPE_SERVICE_CLIENT)) |
| 38 |
#define GCLUE_IS_SERVICE_CLIENT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GCLUE_TYPE_SERVICE_CLIENT)) |
| 39 |
#define GCLUE_SERVICE_CLIENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GCLUE_TYPE_SERVICE_CLIENT, GClueServiceClientClass)) |
| 40 |
|
| 41 |
typedef struct _GClueServiceClient GClueServiceClient; |
| 42 |
typedef struct _GClueServiceClientClass GClueServiceClientClass; |
| 43 |
typedef struct _GClueServiceClientPrivate GClueServiceClientPrivate; |
| 44 |
|
| 45 |
struct _GClueServiceClient |
| 46 |
{ |
| 47 |
GClueDBusClientSkeleton parent; |
| 48 |
|
| 49 |
|
| 50 |
GClueServiceClientPrivate *priv; |
| 51 |
}; |
| 52 |
|
| 53 |
struct _GClueServiceClientClass |
| 54 |
{ |
| 55 |
GClueDBusClientSkeletonClass parent_class; |
| 56 |
}; |
| 57 |
|
| 58 |
GType gclue_service_client_get_type (void) G_GNUC_CONST; |
| 59 |
|
| 60 |
GClueServiceClient * gclue_service_client_new (GClueClientInfo *info, |
| 61 |
const char *path, |
| 62 |
GDBusConnection *connection, |
| 63 |
GClueAgent *agent_proxy, |
| 64 |
GError **error); |
| 65 |
const char * gclue_service_client_get_path (GClueServiceClient *client); |
| 66 |
GClueClientInfo * gclue_service_client_get_client_info (GClueServiceClient *client); |
| 67 |
|
| 68 |
G_END_DECLS |
| 69 |
|
| 70 |
#endif |