Update Hungarian translation
[cheese.git] / service / gc-client-monitor.h
blob2da6f3b7c0ba2cfe750c0607645eb2c3e6df36ab
1 /*
2 * GNOME Camera - Access camera devices on a system via D-Bus
3 * Copyright (C) 2014 Red Hat, Inc.
5 * This program is free software: you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation, either version 3 of the License, or
8 * (at your option) any later version.
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
15 * You should have received a copy of the GNU General Public License
16 * along with this program. If not, see <http://www.gnu.org/licenses/>.
19 #ifndef GC_CLIENT_MONITOR_H_
20 #define GC_CLIENT_MONITOR_H_
22 #include <gio/gio.h>
24 G_BEGIN_DECLS
26 typedef struct
28 /*< private >*/
29 GObject parent_instance;
30 } GcClientMonitor;
32 typedef struct
34 GObjectClass parent_class;
36 void (* peer_vanished) (GcClientMonitor *self);
37 } GcClientMonitorClass;
39 #define GC_TYPE_CLIENT_MONITOR (gc_client_monitor_get_type ())
40 #define GC_CLIENT_MONITOR(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), GC_TYPE_CLIENT_MONITOR, GcClientMonitor))
42 GType gc_client_monitor_get_type (void);
43 void gc_client_monitor_new_async (const gchar *bus_name, GDBusConnection *connection, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data);
44 GcClientMonitor * gc_client_monitor_new_finish (GAsyncResult *result, GError **error);
46 G_END_DECLS
48 #endif /* GC_CLIENT_MONITOR_H_ */