[gnome-photos/wip/rishi/online-miners: 20/27] Absorb the online miners
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-photos/wip/rishi/online-miners: 20/27] Absorb the online miners
- Date: Sun, 28 Mar 2021 02:35:08 +0000 (UTC)
commit 13cfa988900f1cc53848fedea513a0030e803065
Author: Debarshi Ray <debarshir gnome org>
Date: Fri Mar 19 16:13:20 2021 +0100
Absorb the online miners
https://gitlab.gnome.org/GNOME/gnome-photos/-/issues/83
src/meson.build | 16 ++++++++++++++++
src/photos-online-miner-dbus.xml | 35 +++++++++++++++++++++++++++++++++++
2 files changed, 51 insertions(+)
---
diff --git a/src/meson.build b/src/meson.build
index d02dd572..29a89524 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -21,6 +21,22 @@ libgnome_photos_sources = files(
'photos-quarks.c',
)
+online_miner_dbus = 'photos-online-miner-dbus'
+
+libgnome_photos_built_sources_online_miner_dbus = gnome.gdbus_codegen(
+ online_miner_dbus,
+ online_miner_dbus + '.xml',
+ interface_prefix: photos_namespace + '.',
+ namespace: 'Photos',
+ annotations: [
+ [photos_namespace + '.OnlineMiner', 'org.gtk.GDBus.C.Name', 'OnlineMinerDBus'],
+ ],
+ autocleanup: 'all',
+)
+
+libgnome_photos_built_headers += libgnome_photos_built_sources_online_miner_dbus[1]
+libgnome_photos_sources += libgnome_photos_built_sources_online_miner_dbus
+
thumbnailer_dbus = 'photos-thumbnailer-dbus'
libgnome_photos_built_sources_thumbnailer_dbus = gnome.gdbus_codegen(
diff --git a/src/photos-online-miner-dbus.xml b/src/photos-online-miner-dbus.xml
new file mode 100644
index 00000000..ec46329a
--- /dev/null
+++ b/src/photos-online-miner-dbus.xml
@@ -0,0 +1,35 @@
+<!DOCTYPE node PUBLIC
+"-//freedesktop//DTD D-BUS Object Introspection 1.0//EN"
+"http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
+
+<!--
+ Photos - access, organize and share your photos on GNOME
+ Copyright © 2013 – 2021 Red Hat, Inc.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+-->
+
+<node name="/" xmlns:doc="http://www.freedesktop.org/dbus/1.0/doc.dtd">
+ <interface name="org.gnome.Photos.OnlineMiner">
+ <method name="Cancel">
+ <arg name="serial" type="u" direction="in" />
+ </method>
+ <method name="InsertSharedContent">
+ <arg name="account_id" type="s" direction="in" />
+ <arg name="shared_id" type="s" direction="in" />
+ <arg name="source_urn" type="s" direction="in" />
+ </method>
+ <method name="RefreshDB" />
+ </interface>
+</node>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]