123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116 |
- <!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.flameshot.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="u" direction="in"/>
- </method>
- <!--
- fullScreen:
- @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="u" direction="in"/>
- </method>
- <!--
- openLauncher:
- Opens the capture launcher.
- -->
- <method name="openLauncher">
- <annotation name="org.freedesktop.DBus.Method.NoReply" value="true"/>
- </method>
- <!--
- captureScreen:
- @number: number of the screen to be captured.
- @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="captureScreen">
- <arg name="number" type="i" direction="in"/>
- <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="u" 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 for 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>
- <!--
- autostartEnabled:
- @enabled: The new state for the autostart.
- Enable or disable the autostart of the program.
- -->
- <method name="autostartEnabled">
- <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="u" 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="u" direction="out"/>
- </signal>
- </interface>
- </node>
|