/usr/share/dbus-1/interfaces/org.dharkael.Flameshot.xml is in flameshot 0.5.1-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 | <!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.dharkael.Flameshot">
<!--
graphicCapture:
@path: the path where the screenshot will be saved. When the argument is empty the program will ask for a path graphically.
@delay: delay time in milliseconds.
@id: identificator of the call.
Open the user interface used to capture the screen. Sends a captureTaken signal with the raw image after closing the GUI
due to a capture taken. It could send a captureFailed signal if the screenshot can't be retrieved.
-->
<method name="graphicCapture">
<arg name="path" type="s" direction="in"/>
<arg name="delay" type="i" direction="in"/>
<arg name="id" type="i" direction="in"/>
</method>
<!--
fullScreenRaw:
@path: the path where the screenshot will be saved. When the argument is empty the program will ask for a path graphically.
@toClipboard: Whether to copy the screenshot to clipboard or not.
@delay: delay time in milliseconds, both return the @id defined in the call of this method.
@id: identificator of the call.
Takes a screenshot of the whole screen and sends a captureTaken signal with the raw image or a captureFailed signal.
-->
<method name="fullScreen">
<arg name="path" type="s" direction="in"/>
<arg name="toClipboard" type="b" direction="in"/>
<arg name="delay" type="i" direction="in"/>
<arg name="id" type="i" direction="in"/>
</method>
<!--
openConfig:
Opens the configuration window.
-->
<method name="openConfig">
<annotation name="org.freedesktop.DBus.Method.NoReply" value="true"/>
</method>
<!--
trayIconEnabled:
@enabled: The new state fot the trayIcon.
Enable or disable the trayIcon.
-->
<method name="trayIconEnabled">
<arg name="enabled" type="b" direction="in"/>
<annotation name="org.freedesktop.DBus.Method.NoReply" value="true"/>
</method>
<!--
captureTaken:
@id: identificator of the call.
@rawImage: raw image in PNG format.
Successful capture signal returning the image.
-->
<signal name="captureTaken">
<arg name="id" type="i" direction="out"/>
<arg name="rawImage" type="ay" direction="out"/>
</signal>
<!--
captureFailed:
@id: identificator of the call.
Whenever the capture fails.
-->
<signal name="captureFailed">
<arg name="id" type="i" direction="out"/>
</signal>
</interface>
</node>
|