README: add deprecation notice
[nautilus-actions.git] / maintainer / dbus-introspect.sh
blobfd8bc50155a580a0e8f26fcfb2c8d2dd74e927ec
1 #!/bin/sh
3 # let's check the FMATracker service
5 FMA_SERVICE=$(grep '#define FILEMANAGER_ACTIONS_DBUS_SERVICE' src/api/fma-dbus.h | awk '{ print $3 }' | sed 's?"??g')
6 FMA_TRACKER_PATH=$(grep '#define FILEMANAGER_ACTIONS_DBUS_TRACKER_PATH' src/api/fma-dbus.h | awk '{ print $3 }' | sed 's?"??g')/0
7 echo "
8 D-Bus service : ${FMA_SERVICE}
9 D-Bus tracker path: ${FMA_TRACKER_PATH}
11 dbus-send --session --type=method_call --print-reply --dest=${FMA_SERVICE} ${FMA_TRACKER_PATH} org.freedesktop.DBus.Introspectable.Introspect
13 # Expected display:
15 # D-Bus service : org.filemanager-actions.DBus
16 # D-Bus tracker path: /org/filemanager_actions/DBus/Tracker/0
18 # method return sender=:1.107 -> dest=:1.115 reply_serial=2
19 # string "<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN"
20 # "http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
21 # <!-- GDBus 2.44.1 -->
22 # <node>
23 # <interface name="org.freedesktop.DBus.Properties">
24 # <method name="Get">
25 # <arg type="s" name="interface_name" direction="in"/>
26 # <arg type="s" name="property_name" direction="in"/>
27 # <arg type="v" name="value" direction="out"/>
28 # </method>
29 # <method name="GetAll">
30 # <arg type="s" name="interface_name" direction="in"/>
31 # <arg type="a{sv}" name="properties" direction="out"/>
32 # </method>
33 # <method name="Set">
34 # <arg type="s" name="interface_name" direction="in"/>
35 # <arg type="s" name="property_name" direction="in"/>
36 # <arg type="v" name="value" direction="in"/>
37 # </method>
38 # <signal name="PropertiesChanged">
39 # <arg type="s" name="interface_name"/>
40 # <arg type="a{sv}" name="changed_properties"/>
41 # <arg type="as" name="invalidated_properties"/>
42 # </signal>
43 # </interface>
44 # <interface name="org.freedesktop.DBus.Introspectable">
45 # <method name="Introspect">
46 # <arg type="s" name="xml_data" direction="out"/>
47 # </method>
48 # </interface>
49 # <interface name="org.freedesktop.DBus.Peer">
50 # <method name="Ping"/>
51 # <method name="GetMachineId">
52 # <arg type="s" name="machine_uuid" direction="out"/>
53 # </method>
54 # </interface>
55 # <interface name="org.filemanager_actions.DBus.Tracker.Properties1">
56 # <method name="GetSelectedPaths">
57 # <arg type="as" name="paths" direction="out"/>
58 # </method>
59 # </interface>
60 # </node>