~ubuntu-branches/ubuntu/precise/gnome-control-center/precise-updates

« back to all changes in this revision

Viewing changes to panels/datetime/timedated.h

  • Committer: Package Import Robot
  • Author(s): Sebastien Bacher, Jeremy Bicha, Ken VanDine
  • Date: 2012-02-15 23:16:31 UTC
  • mfrom: (1.1.56)
  • Revision ID: package-import@ubuntu.com-20120215231631-vk7me0mhofpsq0hp
Tags: 1:3.3.5-0ubuntu1
* Upload the new serie, that will bring in quite some fixes, we revert
  some problematic or risky changes as well
* The new version includes those fixes:
  - "Change Password in User Accounts panel focuses "New password" field, 
     skipping "Current password"" (lp: #821759)
  - The dialog to add online accounts should have a title 
    (lp: #822380)
  - "Remove Profile" button clickable in Color panel when 
     no profile selected (lp: #869603)
  - Move Removable Media into System Info (lp: #835880)
  - Sound preferences: mouse scrolling balance only works for right.
    (lp: #918017)
  - gnome-control-center SIGSEGV in actualize_printers_list() 
    (lp: #903009)
  - selecting preffered applications is not an info (lp: #890143)
  - Add a keyboard shortcut by default for take screenshot of a selection"
    (lp: #625518)
* debian/patches/revert_git_datetime_port.patch:
  - revert use of datetimed, we don't use systemd and ubuntu-system-service 
    doesn't support it yet
* debian/patches/revert_git_drop_library.patch:
  - consolidate "01_allow_external_panels.patch", don't drop the library
    we use it from other components on ubuntu, the patch will be improved
    later to not use a copy of files like it does in that version
* debian/patches/revert_git_stop_using_gconf.patch,
  debian/patches/revert_ua_gsettings.patch,
  debian/patches/revert_git_keyboard_gsettings.patch:
  - revert keyboard porting to gsettings, compiz still use gconf and we
    didn't update gnome-shell to the new serie (yet)

[ Jeremy Bicha ]
* New upstream release (Thanks Rico Tzchichholz!)
* debian/control.in:
  - Bump minimum dependency versions and add libwacom dependency
* debian/rules: Build without -Wl,-z,defs
* debian/watch: Watch for unstable releases
* Refreshed patches:
  - 01_allow_external_panels.patch
  - 04_add_theme_selection.patch
  - 50_ubuntu_systemwide_prefs.patch
  - 58_ubuntu_icon_views_redesign.patch
  - 59_install_gcm_components_on_demand.patch
  - 91_configure_cheese.patch
* Dropped upstream patches:
  - 00git_handle_media_dialog_close.patch
  - 03_show_wacom_under_unity.patch
  - 90_git_sound_tab_order.patch
  - 91_git_build_use_fontconfig.patch
  - 92_git_minimal_output_height.patch
  - 93_change_window_role_on_panel_change.patch
  - 94_git_adding_shortcuts.patch
  - 95_git_ctrlw_shortcut.patch
  - git_extra_keywords.patch

[ Ken VanDine ]
* debian/patches/96_sound_nua_panel.patch
  - refreshed with latest changes from ronoc

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * Generated by gdbus-codegen 2.31.7. 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 __TIMEDATED_H__
 
8
#define __TIMEDATED_H__
 
9
 
 
10
#include <gio/gio.h>
 
11
 
 
12
G_BEGIN_DECLS
 
13
 
 
14
 
 
15
/* ------------------------------------------------------------------------ */
 
16
/* Declarations for org.freedesktop.timedate1 */
 
17
 
 
18
#define TYPE_TIMEDATE1 (timedate1_get_type ())
 
19
#define TIMEDATE1(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_TIMEDATE1, Timedate1))
 
20
#define IS_TIMEDATE1(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_TIMEDATE1))
 
21
#define TIMEDATE1_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_TIMEDATE1, Timedate1Iface))
 
22
 
 
23
struct _Timedate1;
 
24
typedef struct _Timedate1 Timedate1;
 
25
typedef struct _Timedate1Iface Timedate1Iface;
 
26
 
 
27
struct _Timedate1Iface
 
28
{
 
29
  GTypeInterface parent_iface;
 
30
 
 
31
 
 
32
  gboolean (*handle_set_local_rtc) (
 
33
    Timedate1 *object,
 
34
    GDBusMethodInvocation *invocation,
 
35
    gboolean arg_local_rtc,
 
36
    gboolean arg_fix_system,
 
37
    gboolean arg_user_interaction);
 
38
 
 
39
  gboolean (*handle_set_ntp) (
 
40
    Timedate1 *object,
 
41
    GDBusMethodInvocation *invocation,
 
42
    gboolean arg_use_ntp,
 
43
    gboolean arg_user_interaction);
 
44
 
 
45
  gboolean (*handle_set_time) (
 
46
    Timedate1 *object,
 
47
    GDBusMethodInvocation *invocation,
 
48
    gint64 arg_usec_utc,
 
49
    gboolean arg_relative,
 
50
    gboolean arg_user_interaction);
 
51
 
 
52
  gboolean (*handle_set_timezone) (
 
53
    Timedate1 *object,
 
54
    GDBusMethodInvocation *invocation,
 
55
    const gchar *arg_timezone,
 
56
    gboolean arg_user_interaction);
 
57
 
 
58
  gboolean  (*get_local_rtc) (Timedate1 *object);
 
59
 
 
60
  gboolean  (*get_ntp) (Timedate1 *object);
 
61
 
 
62
  const gchar * (*get_timezone) (Timedate1 *object);
 
63
 
 
64
};
 
65
 
 
66
GType timedate1_get_type (void) G_GNUC_CONST;
 
67
 
 
68
GDBusInterfaceInfo *timedate1_interface_info (void);
 
69
guint timedate1_override_properties (GObjectClass *klass, guint property_id_begin);
 
70
 
 
71
 
 
72
/* D-Bus method call completion functions: */
 
73
void timedate1_complete_set_time (
 
74
    Timedate1 *object,
 
75
    GDBusMethodInvocation *invocation);
 
76
 
 
77
void timedate1_complete_set_timezone (
 
78
    Timedate1 *object,
 
79
    GDBusMethodInvocation *invocation);
 
80
 
 
81
void timedate1_complete_set_local_rtc (
 
82
    Timedate1 *object,
 
83
    GDBusMethodInvocation *invocation);
 
84
 
 
85
void timedate1_complete_set_ntp (
 
86
    Timedate1 *object,
 
87
    GDBusMethodInvocation *invocation);
 
88
 
 
89
 
 
90
 
 
91
/* D-Bus method calls: */
 
92
void timedate1_call_set_time (
 
93
    Timedate1 *proxy,
 
94
    gint64 arg_usec_utc,
 
95
    gboolean arg_relative,
 
96
    gboolean arg_user_interaction,
 
97
    GCancellable *cancellable,
 
98
    GAsyncReadyCallback callback,
 
99
    gpointer user_data);
 
100
 
 
101
gboolean timedate1_call_set_time_finish (
 
102
    Timedate1 *proxy,
 
103
    GAsyncResult *res,
 
104
    GError **error);
 
105
 
 
106
gboolean timedate1_call_set_time_sync (
 
107
    Timedate1 *proxy,
 
108
    gint64 arg_usec_utc,
 
109
    gboolean arg_relative,
 
110
    gboolean arg_user_interaction,
 
111
    GCancellable *cancellable,
 
112
    GError **error);
 
113
 
 
114
void timedate1_call_set_timezone (
 
115
    Timedate1 *proxy,
 
116
    const gchar *arg_timezone,
 
117
    gboolean arg_user_interaction,
 
118
    GCancellable *cancellable,
 
119
    GAsyncReadyCallback callback,
 
120
    gpointer user_data);
 
121
 
 
122
gboolean timedate1_call_set_timezone_finish (
 
123
    Timedate1 *proxy,
 
124
    GAsyncResult *res,
 
125
    GError **error);
 
126
 
 
127
gboolean timedate1_call_set_timezone_sync (
 
128
    Timedate1 *proxy,
 
129
    const gchar *arg_timezone,
 
130
    gboolean arg_user_interaction,
 
131
    GCancellable *cancellable,
 
132
    GError **error);
 
133
 
 
134
void timedate1_call_set_local_rtc (
 
135
    Timedate1 *proxy,
 
136
    gboolean arg_local_rtc,
 
137
    gboolean arg_fix_system,
 
138
    gboolean arg_user_interaction,
 
139
    GCancellable *cancellable,
 
140
    GAsyncReadyCallback callback,
 
141
    gpointer user_data);
 
142
 
 
143
gboolean timedate1_call_set_local_rtc_finish (
 
144
    Timedate1 *proxy,
 
145
    GAsyncResult *res,
 
146
    GError **error);
 
147
 
 
148
gboolean timedate1_call_set_local_rtc_sync (
 
149
    Timedate1 *proxy,
 
150
    gboolean arg_local_rtc,
 
151
    gboolean arg_fix_system,
 
152
    gboolean arg_user_interaction,
 
153
    GCancellable *cancellable,
 
154
    GError **error);
 
155
 
 
156
void timedate1_call_set_ntp (
 
157
    Timedate1 *proxy,
 
158
    gboolean arg_use_ntp,
 
159
    gboolean arg_user_interaction,
 
160
    GCancellable *cancellable,
 
161
    GAsyncReadyCallback callback,
 
162
    gpointer user_data);
 
163
 
 
164
gboolean timedate1_call_set_ntp_finish (
 
165
    Timedate1 *proxy,
 
166
    GAsyncResult *res,
 
167
    GError **error);
 
168
 
 
169
gboolean timedate1_call_set_ntp_sync (
 
170
    Timedate1 *proxy,
 
171
    gboolean arg_use_ntp,
 
172
    gboolean arg_user_interaction,
 
173
    GCancellable *cancellable,
 
174
    GError **error);
 
175
 
 
176
 
 
177
 
 
178
/* D-Bus property accessors: */
 
179
const gchar *timedate1_get_timezone (Timedate1 *object);
 
180
gchar *timedate1_dup_timezone (Timedate1 *object);
 
181
void timedate1_set_timezone (Timedate1 *object, const gchar *value);
 
182
 
 
183
gboolean timedate1_get_local_rtc (Timedate1 *object);
 
184
void timedate1_set_local_rtc (Timedate1 *object, gboolean value);
 
185
 
 
186
gboolean timedate1_get_ntp (Timedate1 *object);
 
187
void timedate1_set_ntp (Timedate1 *object, gboolean value);
 
188
 
 
189
 
 
190
/* ---- */
 
191
 
 
192
#define TYPE_TIMEDATE1_PROXY (timedate1_proxy_get_type ())
 
193
#define TIMEDATE1_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_TIMEDATE1_PROXY, Timedate1Proxy))
 
194
#define TIMEDATE1_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_TIMEDATE1_PROXY, Timedate1ProxyClass))
 
195
#define TIMEDATE1_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_TIMEDATE1_PROXY, Timedate1ProxyClass))
 
196
#define IS_TIMEDATE1_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_TIMEDATE1_PROXY))
 
197
#define IS_TIMEDATE1_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_TIMEDATE1_PROXY))
 
198
 
 
199
typedef struct _Timedate1Proxy Timedate1Proxy;
 
200
typedef struct _Timedate1ProxyClass Timedate1ProxyClass;
 
201
typedef struct _Timedate1ProxyPrivate Timedate1ProxyPrivate;
 
202
 
 
203
struct _Timedate1Proxy
 
204
{
 
205
  /*< private >*/
 
206
  GDBusProxy parent_instance;
 
207
  Timedate1ProxyPrivate *priv;
 
208
};
 
209
 
 
210
struct _Timedate1ProxyClass
 
211
{
 
212
  GDBusProxyClass parent_class;
 
213
};
 
214
 
 
215
GType timedate1_proxy_get_type (void) G_GNUC_CONST;
 
216
 
 
217
void timedate1_proxy_new (
 
218
    GDBusConnection     *connection,
 
219
    GDBusProxyFlags      flags,
 
220
    const gchar         *name,
 
221
    const gchar         *object_path,
 
222
    GCancellable        *cancellable,
 
223
    GAsyncReadyCallback  callback,
 
224
    gpointer             user_data);
 
225
Timedate1 *timedate1_proxy_new_finish (
 
226
    GAsyncResult        *res,
 
227
    GError             **error);
 
228
Timedate1 *timedate1_proxy_new_sync (
 
229
    GDBusConnection     *connection,
 
230
    GDBusProxyFlags      flags,
 
231
    const gchar         *name,
 
232
    const gchar         *object_path,
 
233
    GCancellable        *cancellable,
 
234
    GError             **error);
 
235
 
 
236
void timedate1_proxy_new_for_bus (
 
237
    GBusType             bus_type,
 
238
    GDBusProxyFlags      flags,
 
239
    const gchar         *name,
 
240
    const gchar         *object_path,
 
241
    GCancellable        *cancellable,
 
242
    GAsyncReadyCallback  callback,
 
243
    gpointer             user_data);
 
244
Timedate1 *timedate1_proxy_new_for_bus_finish (
 
245
    GAsyncResult        *res,
 
246
    GError             **error);
 
247
Timedate1 *timedate1_proxy_new_for_bus_sync (
 
248
    GBusType             bus_type,
 
249
    GDBusProxyFlags      flags,
 
250
    const gchar         *name,
 
251
    const gchar         *object_path,
 
252
    GCancellable        *cancellable,
 
253
    GError             **error);
 
254
 
 
255
 
 
256
/* ---- */
 
257
 
 
258
#define TYPE_TIMEDATE1_SKELETON (timedate1_skeleton_get_type ())
 
259
#define TIMEDATE1_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_TIMEDATE1_SKELETON, Timedate1Skeleton))
 
260
#define TIMEDATE1_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_TIMEDATE1_SKELETON, Timedate1SkeletonClass))
 
261
#define TIMEDATE1_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_TIMEDATE1_SKELETON, Timedate1SkeletonClass))
 
262
#define IS_TIMEDATE1_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_TIMEDATE1_SKELETON))
 
263
#define IS_TIMEDATE1_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_TIMEDATE1_SKELETON))
 
264
 
 
265
typedef struct _Timedate1Skeleton Timedate1Skeleton;
 
266
typedef struct _Timedate1SkeletonClass Timedate1SkeletonClass;
 
267
typedef struct _Timedate1SkeletonPrivate Timedate1SkeletonPrivate;
 
268
 
 
269
struct _Timedate1Skeleton
 
270
{
 
271
  /*< private >*/
 
272
  GDBusInterfaceSkeleton parent_instance;
 
273
  Timedate1SkeletonPrivate *priv;
 
274
};
 
275
 
 
276
struct _Timedate1SkeletonClass
 
277
{
 
278
  GDBusInterfaceSkeletonClass parent_class;
 
279
};
 
280
 
 
281
GType timedate1_skeleton_get_type (void) G_GNUC_CONST;
 
282
 
 
283
Timedate1 *timedate1_skeleton_new (void);
 
284
 
 
285
 
 
286
G_END_DECLS
 
287
 
 
288
#endif /* __TIMEDATED_H__ */