[gnome-flashback/nautilus-file-operations2: 1/4] dbus: add org.gnome.Nautilus.FileOperations2 interface
- From: Alberts Muktupāvels <muktupavels src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-flashback/nautilus-file-operations2: 1/4] dbus: add org.gnome.Nautilus.FileOperations2 interface
- Date: Fri, 31 Jan 2020 15:38:05 +0000 (UTC)
commit cc494e96f474e08dcafdeabf12bd4d498e6bbb5a
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date: Fri Jan 31 14:13:52 2020 +0200
dbus: add org.gnome.Nautilus.FileOperations2 interface
dbus/Makefile.am | 9 +++++
dbus/org.gnome.Nautilus.FileOperations2.xml | 55 +++++++++++++++++++++++++++++
2 files changed, 64 insertions(+)
---
diff --git a/dbus/Makefile.am b/dbus/Makefile.am
index b61145f..9b3a4e1 100644
--- a/dbus/Makefile.am
+++ b/dbus/Makefile.am
@@ -117,6 +117,12 @@ gf-nautilus-gen.c: org.gnome.Nautilus.FileOperations.xml
--generate-c-code gf-nautilus-gen \
$(srcdir)/org.gnome.Nautilus.FileOperations.xml
+gf-nautilus2-gen.h:
+gf-nautilus2-gen.c: org.gnome.Nautilus.FileOperations2.xml
+ $(AM_V_GEN) $(GDBUS_CODEGEN) --c-namespace Gf \
+ --generate-c-code gf-nautilus2-gen \
+ $(srcdir)/org.gnome.Nautilus.FileOperations2.xml
+
gf-upower-device-gen.h:
gf-upower-device-gen.c: org.freedesktop.UPower.Device.xml
$(AM_V_GEN) $(GDBUS_CODEGEN) --c-namespace Gf \
@@ -208,6 +214,8 @@ BUILT_SOURCES = \
gf-login-session-gen.h \
gf-nautilus-gen.c \
gf-nautilus-gen.h \
+ gf-nautilus2-gen.c \
+ gf-nautilus2-gen.h \
gf-upower-device-gen.c \
gf-upower-device-gen.h \
gf-screencast-gen.c \
@@ -244,6 +252,7 @@ EXTRA_DIST = \
org.freedesktop.UPower.Device.xml \
org.gnome.Flashback.InputSources.xml \
org.gnome.Nautilus.FileOperations.xml \
+ org.gnome.Nautilus.FileOperations2.xml \
org.gnome.ScreenSaver.xml \
org.gnome.SessionManager.ClientPrivate.xml \
org.gnome.SessionManager.EndSessionDialog.xml \
diff --git a/dbus/org.gnome.Nautilus.FileOperations2.xml b/dbus/org.gnome.Nautilus.FileOperations2.xml
new file mode 100644
index 0000000..4b385e9
--- /dev/null
+++ b/dbus/org.gnome.Nautilus.FileOperations2.xml
@@ -0,0 +1,55 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN"
+"http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
+<node>
+ <interface name="org.gnome.Nautilus.FileOperations2">
+ <annotation name="org.gtk.GDBus.C.Name" value="Nautilus2Gen" />
+
+ <method name="CopyURIs">
+ <arg type="as" name="SourceFilesURIList" direction="in" />
+ <arg type="s" name="DestinationDirectoryURI" direction="in" />
+ <arg type="a{sv}" name="PlatformData" direction="in" />
+ </method>
+
+ <method name="MoveURIs">
+ <arg type="as" name="SourceFilesURIList" direction="in" />
+ <arg type="s" name="DestinationDirectoryURI" direction="in" />
+ <arg type="a{sv}" name="Parameters" direction="in" />
+ </method>
+
+ <method name="EmptyTrash">
+ <arg type="a{sv}" name="PlatformData" direction="in" />
+ </method>
+
+ <method name="TrashFiles">
+ <arg type="as" name="URIs" direction="in" />
+ <arg type="a{sv}" name="PlatformData" direction="in" />
+ </method>
+
+ <method name="DeleteFiles">
+ <arg type="as" name="URIs" direction="in" />
+ <arg type="a{sv}" name="PlatformData" direction="in" />
+ </method>
+
+ <method name="CreateFolder">
+ <arg type="s" name="URI" direction="in" />
+ <arg type="a{sv}" name="PlatformData" direction="in" />
+ </method>
+
+ <method name="RenameFile">
+ <arg type="s" name="URI" direction="in" />
+ <arg type="s" name="NewName" direction="in" />
+ <arg type="a{sv}" name="PlatformData" direction="in" />
+ </method>
+
+ <method name="Undo">
+ <arg type="a{sv}" name="PlatformData" direction="in" />
+ </method>
+
+ <method name="Redo">
+ <arg type="a{sv}" name="PlatformData" direction="in" />
+ </method>
+
+ <property name="UndoStatus" type="i" access="read" />
+ </interface>
+</node>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]