Commit da5c2d6f authored by Alberts Muktupāvels's avatar Alberts Muktupāvels
Browse files

dbus: add org.gnome.Nautilus.FileOperations2 interface

parent d398a538
...@@ -117,6 +117,12 @@ gf-nautilus-gen.c: org.gnome.Nautilus.FileOperations.xml ...@@ -117,6 +117,12 @@ gf-nautilus-gen.c: org.gnome.Nautilus.FileOperations.xml
--generate-c-code gf-nautilus-gen \ --generate-c-code gf-nautilus-gen \
$(srcdir)/org.gnome.Nautilus.FileOperations.xml $(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.h:
gf-upower-device-gen.c: org.freedesktop.UPower.Device.xml gf-upower-device-gen.c: org.freedesktop.UPower.Device.xml
$(AM_V_GEN) $(GDBUS_CODEGEN) --c-namespace Gf \ $(AM_V_GEN) $(GDBUS_CODEGEN) --c-namespace Gf \
...@@ -208,6 +214,8 @@ BUILT_SOURCES = \ ...@@ -208,6 +214,8 @@ BUILT_SOURCES = \
gf-login-session-gen.h \ gf-login-session-gen.h \
gf-nautilus-gen.c \ gf-nautilus-gen.c \
gf-nautilus-gen.h \ gf-nautilus-gen.h \
gf-nautilus2-gen.c \
gf-nautilus2-gen.h \
gf-upower-device-gen.c \ gf-upower-device-gen.c \
gf-upower-device-gen.h \ gf-upower-device-gen.h \
gf-screencast-gen.c \ gf-screencast-gen.c \
...@@ -244,6 +252,7 @@ EXTRA_DIST = \ ...@@ -244,6 +252,7 @@ EXTRA_DIST = \
org.freedesktop.UPower.Device.xml \ org.freedesktop.UPower.Device.xml \
org.gnome.Flashback.InputSources.xml \ org.gnome.Flashback.InputSources.xml \
org.gnome.Nautilus.FileOperations.xml \ org.gnome.Nautilus.FileOperations.xml \
org.gnome.Nautilus.FileOperations2.xml \
org.gnome.ScreenSaver.xml \ org.gnome.ScreenSaver.xml \
org.gnome.SessionManager.ClientPrivate.xml \ org.gnome.SessionManager.ClientPrivate.xml \
org.gnome.SessionManager.EndSessionDialog.xml \ org.gnome.SessionManager.EndSessionDialog.xml \
......
<?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="sources" direction="in" />
<arg type="s" name="destination" direction="in" />
<arg type="a{sv}" name="platform_data" direction="in" />
</method>
<method name="MoveURIs">
<arg type="as" name="sources" direction="in" />
<arg type="s" name="destination" direction="in" />
<arg type="a{sv}" name="platform_data" direction="in" />
</method>
<method name="EmptyTrash">
<arg type="b" name="ask_confirmation" direction="in" />
<arg type="a{sv}" name="platform_data" direction="in" />
</method>
<method name="TrashURIs">
<arg type="as" name="uris" direction="in" />
<arg type="a{sv}" name="platform_data" direction="in" />
</method>
<method name="DeleteURIs">
<arg type="as" name="uris" direction="in"/>
<arg type="a{sv}" name="platform_data" direction="in" />
</method>
<method name="CreateFolder">
<arg type="s" name="parent_uri" direction="in" />
<arg type="s" name="new_folder_name" direction="in" />
<arg type="a{sv}" name="platform_data" direction="in" />
</method>
<method name="RenameURI">
<arg type="s" name="uri" direction="in" />
<arg type="s" name="new_name" direction="in" />
<arg type="a{sv}" name="platform_data" direction="in" />
</method>
<method name="Undo">
<arg type="a{sv}" name="platform_data" direction="in" />
</method>
<method name="Redo">
<arg type="a{sv}" name="platform_data" direction="in" />
</method>
<property name="UndoStatus" type="i" access="read" />
</interface>
</node>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment