1
#ifndef _xvc_DBUS_SERVER_OBJECT__
2
#define _xvc_DBUS_SERVER_OBJECT__
4
#ifndef DOXYGEN_SHOULD_SKIP_THIS
8
#include <dbus/dbus-glib-bindings.h>
9
#endif // DOXYGEN_SHOULD_SKIP_THIS
16
/* Standard GObject class structures, etc */
19
GObjectClass parent_class;
20
DBusGConnection *connection;
21
} XvcServerObjectClass;
25
GObject parent_instance;
29
* function declarations
31
XvcServerObject *xvc_server_object_new ();
32
GType xvc_server_object_get_type ();
34
gboolean xvc_dbus_stop (XvcServerObject * server, GError ** error);
35
gboolean xvc_dbus_start (XvcServerObject * server, GError ** error);
36
gboolean xvc_dbus_pause (XvcServerObject * server, GError ** error);
41
#define XVC_SERVER_OBJECT_GET_CLASS(object) (G_TYPE_INSTANCE_GET_CLASS ((object), xvc_server_object_get_type(), XvcServerObjectClass))
42
#define XVC_SERVER_OBJECT(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), xvc_server_object_get_type(), XvcServerObject))
47
#endif // _xvc_DBUS_SERVER_OBJECT__