2
* Generated by gdbus-codegen 2.33.10. DO NOT EDIT.
4
* The license of this code is the same as for the source it was derived from.
7
#ifndef __SYNC_APP_DBUS_H__
8
#define __SYNC_APP_DBUS_H__
15
/* ------------------------------------------------------------------------ */
16
/* Declarations for com.canonical.indicator.sync.app */
18
#define DBUS_SYNC_MENU_TYPE_APP (dbus_sync_menu_app_get_type ())
19
#define DBUS_SYNC_MENU_APP(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), DBUS_SYNC_MENU_TYPE_APP, DbusSyncMenuApp))
20
#define DBUS_SYNC_MENU_IS_APP(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), DBUS_SYNC_MENU_TYPE_APP))
21
#define DBUS_SYNC_MENU_APP_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), DBUS_SYNC_MENU_TYPE_APP, DbusSyncMenuAppIface))
23
struct _DbusSyncMenuApp;
24
typedef struct _DbusSyncMenuApp DbusSyncMenuApp;
25
typedef struct _DbusSyncMenuAppIface DbusSyncMenuAppIface;
27
struct _DbusSyncMenuAppIface
29
GTypeInterface parent_iface;
32
const gchar * (*get_desktop) (DbusSyncMenuApp *object);
34
const gchar * (*get_menu_path) (DbusSyncMenuApp *object);
36
gboolean (*get_paused) (DbusSyncMenuApp *object);
38
guint (*get_state) (DbusSyncMenuApp *object);
41
DbusSyncMenuApp *object);
45
GType dbus_sync_menu_app_get_type (void) G_GNUC_CONST;
47
GDBusInterfaceInfo *dbus_sync_menu_app_interface_info (void);
48
guint dbus_sync_menu_app_override_properties (GObjectClass *klass, guint property_id_begin);
51
/* D-Bus signal emissions functions: */
52
void dbus_sync_menu_app_emit_exists (
53
DbusSyncMenuApp *object);
57
/* D-Bus property accessors: */
58
guint dbus_sync_menu_app_get_state (DbusSyncMenuApp *object);
59
void dbus_sync_menu_app_set_state (DbusSyncMenuApp *object, guint value);
61
const gchar *dbus_sync_menu_app_get_desktop (DbusSyncMenuApp *object);
62
gchar *dbus_sync_menu_app_dup_desktop (DbusSyncMenuApp *object);
63
void dbus_sync_menu_app_set_desktop (DbusSyncMenuApp *object, const gchar *value);
65
const gchar *dbus_sync_menu_app_get_menu_path (DbusSyncMenuApp *object);
66
gchar *dbus_sync_menu_app_dup_menu_path (DbusSyncMenuApp *object);
67
void dbus_sync_menu_app_set_menu_path (DbusSyncMenuApp *object, const gchar *value);
69
gboolean dbus_sync_menu_app_get_paused (DbusSyncMenuApp *object);
70
void dbus_sync_menu_app_set_paused (DbusSyncMenuApp *object, gboolean value);
75
#define DBUS_SYNC_MENU_TYPE_APP_PROXY (dbus_sync_menu_app_proxy_get_type ())
76
#define DBUS_SYNC_MENU_APP_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), DBUS_SYNC_MENU_TYPE_APP_PROXY, DbusSyncMenuAppProxy))
77
#define DBUS_SYNC_MENU_APP_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), DBUS_SYNC_MENU_TYPE_APP_PROXY, DbusSyncMenuAppProxyClass))
78
#define DBUS_SYNC_MENU_APP_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), DBUS_SYNC_MENU_TYPE_APP_PROXY, DbusSyncMenuAppProxyClass))
79
#define DBUS_SYNC_MENU_IS_APP_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), DBUS_SYNC_MENU_TYPE_APP_PROXY))
80
#define DBUS_SYNC_MENU_IS_APP_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), DBUS_SYNC_MENU_TYPE_APP_PROXY))
82
typedef struct _DbusSyncMenuAppProxy DbusSyncMenuAppProxy;
83
typedef struct _DbusSyncMenuAppProxyClass DbusSyncMenuAppProxyClass;
84
typedef struct _DbusSyncMenuAppProxyPrivate DbusSyncMenuAppProxyPrivate;
86
struct _DbusSyncMenuAppProxy
89
GDBusProxy parent_instance;
90
DbusSyncMenuAppProxyPrivate *priv;
93
struct _DbusSyncMenuAppProxyClass
95
GDBusProxyClass parent_class;
98
GType dbus_sync_menu_app_proxy_get_type (void) G_GNUC_CONST;
100
void dbus_sync_menu_app_proxy_new (
101
GDBusConnection *connection,
102
GDBusProxyFlags flags,
104
const gchar *object_path,
105
GCancellable *cancellable,
106
GAsyncReadyCallback callback,
108
DbusSyncMenuApp *dbus_sync_menu_app_proxy_new_finish (
111
DbusSyncMenuApp *dbus_sync_menu_app_proxy_new_sync (
112
GDBusConnection *connection,
113
GDBusProxyFlags flags,
115
const gchar *object_path,
116
GCancellable *cancellable,
119
void dbus_sync_menu_app_proxy_new_for_bus (
121
GDBusProxyFlags flags,
123
const gchar *object_path,
124
GCancellable *cancellable,
125
GAsyncReadyCallback callback,
127
DbusSyncMenuApp *dbus_sync_menu_app_proxy_new_for_bus_finish (
130
DbusSyncMenuApp *dbus_sync_menu_app_proxy_new_for_bus_sync (
132
GDBusProxyFlags flags,
134
const gchar *object_path,
135
GCancellable *cancellable,
141
#define DBUS_SYNC_MENU_TYPE_APP_SKELETON (dbus_sync_menu_app_skeleton_get_type ())
142
#define DBUS_SYNC_MENU_APP_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), DBUS_SYNC_MENU_TYPE_APP_SKELETON, DbusSyncMenuAppSkeleton))
143
#define DBUS_SYNC_MENU_APP_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), DBUS_SYNC_MENU_TYPE_APP_SKELETON, DbusSyncMenuAppSkeletonClass))
144
#define DBUS_SYNC_MENU_APP_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), DBUS_SYNC_MENU_TYPE_APP_SKELETON, DbusSyncMenuAppSkeletonClass))
145
#define DBUS_SYNC_MENU_IS_APP_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), DBUS_SYNC_MENU_TYPE_APP_SKELETON))
146
#define DBUS_SYNC_MENU_IS_APP_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), DBUS_SYNC_MENU_TYPE_APP_SKELETON))
148
typedef struct _DbusSyncMenuAppSkeleton DbusSyncMenuAppSkeleton;
149
typedef struct _DbusSyncMenuAppSkeletonClass DbusSyncMenuAppSkeletonClass;
150
typedef struct _DbusSyncMenuAppSkeletonPrivate DbusSyncMenuAppSkeletonPrivate;
152
struct _DbusSyncMenuAppSkeleton
155
GDBusInterfaceSkeleton parent_instance;
156
DbusSyncMenuAppSkeletonPrivate *priv;
159
struct _DbusSyncMenuAppSkeletonClass
161
GDBusInterfaceSkeletonClass parent_class;
164
GType dbus_sync_menu_app_skeleton_get_type (void) G_GNUC_CONST;
166
DbusSyncMenuApp *dbus_sync_menu_app_skeleton_new (void);
171
#endif /* __SYNC_APP_DBUS_H__ */