summaryrefslogtreecommitdiffstats
path: root/src/gs-dbus-helper.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gs-dbus-helper.h')
-rw-r--r--src/gs-dbus-helper.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/gs-dbus-helper.h b/src/gs-dbus-helper.h
new file mode 100644
index 0000000..12ea252
--- /dev/null
+++ b/src/gs-dbus-helper.h
@@ -0,0 +1,23 @@
+/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*-
+ * vi:set noexpandtab tabstop=8 shiftwidth=8:
+ *
+ * Copyright (C) 2013 Richard Hughes <richard@hughsie.com>
+ * Copyright (C) 2015 Kalev Lember <klember@redhat.com>
+ *
+ * SPDX-License-Identifier: GPL-2.0+
+ */
+
+#pragma once
+
+#include <gio/gio.h>
+#include <glib-object.h>
+
+G_BEGIN_DECLS
+
+#define GS_TYPE_DBUS_HELPER (gs_dbus_helper_get_type ())
+
+G_DECLARE_FINAL_TYPE (GsDbusHelper, gs_dbus_helper, GS, DBUS_HELPER, GObject)
+
+GsDbusHelper *gs_dbus_helper_new (GDBusConnection *bus_connection);
+
+G_END_DECLS