org.flameshot.Flameshot.xml 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. <!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN" "http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
  2. <node>
  3. <interface name="org.flameshot.Flameshot">
  4. <!--
  5. requestCapture:
  6. @requestData: Serialized CaptureRequest object.
  7. Start a capture using a CaptureRequest.
  8. -->
  9. <method name="requestCapture">
  10. <arg name="requestData" type="ay" direction="in"/>
  11. </method>
  12. <!--
  13. openLauncher:
  14. Opens the capture launcher.
  15. -->
  16. <method name="openLauncher">
  17. <annotation name="org.freedesktop.DBus.Method.NoReply" value="true"/>
  18. </method>
  19. <!--
  20. openConfig:
  21. Opens the configuration window.
  22. -->
  23. <method name="openConfig">
  24. <annotation name="org.freedesktop.DBus.Method.NoReply" value="true"/>
  25. </method>
  26. <!--
  27. trayIconEnabled:
  28. @enabled: The new state for the trayIcon.
  29. Enable or disable the trayIcon.
  30. -->
  31. <method name="trayIconEnabled">
  32. <arg name="enabled" type="b" direction="in"/>
  33. <annotation name="org.freedesktop.DBus.Method.NoReply" value="true"/>
  34. </method>
  35. <!--
  36. autostartEnabled:
  37. @enabled: The new state for the autostart.
  38. Enable or disable the autostart of the program.
  39. -->
  40. <method name="autostartEnabled">
  41. <arg name="enabled" type="b" direction="in"/>
  42. <annotation name="org.freedesktop.DBus.Method.NoReply" value="true"/>
  43. </method>
  44. <!--
  45. captureTaken:
  46. @id: identificator of the call.
  47. @rawImage: raw image in PNG format.
  48. @selection: QRect selection geometry.
  49. Successful capture signal returning the image.
  50. -->
  51. <signal name="captureTaken">
  52. <arg name="id" type="u" direction="out"/>
  53. <arg name="rawImage" type="ay" direction="out"/>
  54. <arg name="selection" type="(iiii)" direction="out"/>
  55. </signal>
  56. <!--
  57. captureFailed:
  58. @id: identificator of the call.
  59. Whenever the capture fails.
  60. -->
  61. <signal name="captureFailed">
  62. <arg name="id" type="u" direction="out"/>
  63. </signal>
  64. <!--
  65. captureSaved:
  66. @id: identificator of the call.
  67. @savePath: canonical path of the newly created image file.
  68. An image was written to disk after capture.
  69. -->
  70. <signal name="captureSaved">
  71. <arg name="id" type="u" direction="out"/>
  72. <arg name="savePath" type="s" direction="out"/>
  73. </signal>
  74. </interface>
  75. </node>