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_
29 GObject parent_instance
;
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
);
48 #endif /* GC_CLIENT_MONITOR_H_ */