~ubuntu-branches/ubuntu/trusty/indicator-sync/trusty

« back to all changes in this revision

Viewing changes to src/sync-app-dbus.h

  • Committer: Package Import Robot
  • Author(s): Mathieu Trudel-Lapierre
  • Date: 2012-08-28 16:25:25 UTC
  • mfrom: (1.1.1)
  • Revision ID: package-import@ubuntu.com-20120828162525-v3mx9o332fqrseu8
Tags: 12.10.1-0ubuntu1
* New upstream release.
* debian/control:
  - rename gir1.2-syncclient-12.10 to gir1.2-syncmenu-0.1.
  - rename libindicator-sync-client1 to libsync-menu1.
  - rename libindicator-sync-client-dev to libsync-menu-dev.
  - add gir1.2-dbusmenu-glib-0.4 to Build-Depends.
  - add dbus-test-runner to Build-Depends.
* debian/*.install:
  - rename files as per package name changes.
  - update libsync-menu-dev.install to the library name.
  - update libsync-menu1.install to the library name.
  - update libsync-menu1.symbols to the library name.
  - rename /usr/include/indicator-sync-0.1 to /usr/include/sync-menu-0.1.
* debian/patches/upstream-soname-versioning.patch,
  debian/patches/upstream-pkgconfig-fixes.patch: dropped, no longer needed.
* debian/libsync-menu1.symbols:
  - update symbols that were renamed; keep the old ones as missing.
* debian/patches/upstream-watchers-client-test.patch: fix up the client test
  to avoid failing due to watchers not being allowed to connect.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * Generated by gdbus-codegen 2.33.10. DO NOT EDIT.
 
3
 *
 
4
 * The license of this code is the same as for the source it was derived from.
 
5
 */
 
6
 
 
7
#ifndef __SYNC_APP_DBUS_H__
 
8
#define __SYNC_APP_DBUS_H__
 
9
 
 
10
#include <gio/gio.h>
 
11
 
 
12
G_BEGIN_DECLS
 
13
 
 
14
 
 
15
/* ------------------------------------------------------------------------ */
 
16
/* Declarations for com.canonical.indicator.sync.app */
 
17
 
 
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))
 
22
 
 
23
struct _DbusSyncMenuApp;
 
24
typedef struct _DbusSyncMenuApp DbusSyncMenuApp;
 
25
typedef struct _DbusSyncMenuAppIface DbusSyncMenuAppIface;
 
26
 
 
27
struct _DbusSyncMenuAppIface
 
28
{
 
29
  GTypeInterface parent_iface;
 
30
 
 
31
 
 
32
  const gchar * (*get_desktop) (DbusSyncMenuApp *object);
 
33
 
 
34
  const gchar * (*get_menu_path) (DbusSyncMenuApp *object);
 
35
 
 
36
  gboolean  (*get_paused) (DbusSyncMenuApp *object);
 
37
 
 
38
  guint  (*get_state) (DbusSyncMenuApp *object);
 
39
 
 
40
  void (*exists) (
 
41
    DbusSyncMenuApp *object);
 
42
 
 
43
};
 
44
 
 
45
GType dbus_sync_menu_app_get_type (void) G_GNUC_CONST;
 
46
 
 
47
GDBusInterfaceInfo *dbus_sync_menu_app_interface_info (void);
 
48
guint dbus_sync_menu_app_override_properties (GObjectClass *klass, guint property_id_begin);
 
49
 
 
50
 
 
51
/* D-Bus signal emissions functions: */
 
52
void dbus_sync_menu_app_emit_exists (
 
53
    DbusSyncMenuApp *object);
 
54
 
 
55
 
 
56
 
 
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);
 
60
 
 
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);
 
64
 
 
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);
 
68
 
 
69
gboolean dbus_sync_menu_app_get_paused (DbusSyncMenuApp *object);
 
70
void dbus_sync_menu_app_set_paused (DbusSyncMenuApp *object, gboolean value);
 
71
 
 
72
 
 
73
/* ---- */
 
74
 
 
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))
 
81
 
 
82
typedef struct _DbusSyncMenuAppProxy DbusSyncMenuAppProxy;
 
83
typedef struct _DbusSyncMenuAppProxyClass DbusSyncMenuAppProxyClass;
 
84
typedef struct _DbusSyncMenuAppProxyPrivate DbusSyncMenuAppProxyPrivate;
 
85
 
 
86
struct _DbusSyncMenuAppProxy
 
87
{
 
88
  /*< private >*/
 
89
  GDBusProxy parent_instance;
 
90
  DbusSyncMenuAppProxyPrivate *priv;
 
91
};
 
92
 
 
93
struct _DbusSyncMenuAppProxyClass
 
94
{
 
95
  GDBusProxyClass parent_class;
 
96
};
 
97
 
 
98
GType dbus_sync_menu_app_proxy_get_type (void) G_GNUC_CONST;
 
99
 
 
100
void dbus_sync_menu_app_proxy_new (
 
101
    GDBusConnection     *connection,
 
102
    GDBusProxyFlags      flags,
 
103
    const gchar         *name,
 
104
    const gchar         *object_path,
 
105
    GCancellable        *cancellable,
 
106
    GAsyncReadyCallback  callback,
 
107
    gpointer             user_data);
 
108
DbusSyncMenuApp *dbus_sync_menu_app_proxy_new_finish (
 
109
    GAsyncResult        *res,
 
110
    GError             **error);
 
111
DbusSyncMenuApp *dbus_sync_menu_app_proxy_new_sync (
 
112
    GDBusConnection     *connection,
 
113
    GDBusProxyFlags      flags,
 
114
    const gchar         *name,
 
115
    const gchar         *object_path,
 
116
    GCancellable        *cancellable,
 
117
    GError             **error);
 
118
 
 
119
void dbus_sync_menu_app_proxy_new_for_bus (
 
120
    GBusType             bus_type,
 
121
    GDBusProxyFlags      flags,
 
122
    const gchar         *name,
 
123
    const gchar         *object_path,
 
124
    GCancellable        *cancellable,
 
125
    GAsyncReadyCallback  callback,
 
126
    gpointer             user_data);
 
127
DbusSyncMenuApp *dbus_sync_menu_app_proxy_new_for_bus_finish (
 
128
    GAsyncResult        *res,
 
129
    GError             **error);
 
130
DbusSyncMenuApp *dbus_sync_menu_app_proxy_new_for_bus_sync (
 
131
    GBusType             bus_type,
 
132
    GDBusProxyFlags      flags,
 
133
    const gchar         *name,
 
134
    const gchar         *object_path,
 
135
    GCancellable        *cancellable,
 
136
    GError             **error);
 
137
 
 
138
 
 
139
/* ---- */
 
140
 
 
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))
 
147
 
 
148
typedef struct _DbusSyncMenuAppSkeleton DbusSyncMenuAppSkeleton;
 
149
typedef struct _DbusSyncMenuAppSkeletonClass DbusSyncMenuAppSkeletonClass;
 
150
typedef struct _DbusSyncMenuAppSkeletonPrivate DbusSyncMenuAppSkeletonPrivate;
 
151
 
 
152
struct _DbusSyncMenuAppSkeleton
 
153
{
 
154
  /*< private >*/
 
155
  GDBusInterfaceSkeleton parent_instance;
 
156
  DbusSyncMenuAppSkeletonPrivate *priv;
 
157
};
 
158
 
 
159
struct _DbusSyncMenuAppSkeletonClass
 
160
{
 
161
  GDBusInterfaceSkeletonClass parent_class;
 
162
};
 
163
 
 
164
GType dbus_sync_menu_app_skeleton_get_type (void) G_GNUC_CONST;
 
165
 
 
166
DbusSyncMenuApp *dbus_sync_menu_app_skeleton_new (void);
 
167
 
 
168
 
 
169
G_END_DECLS
 
170
 
 
171
#endif /* __SYNC_APP_DBUS_H__ */