Index: cros-disks.xml |
diff --git a/cros-disks.xml b/cros-disks.xml |
new file mode 100644 |
index 0000000000000000000000000000000000000000..9c6eb29b588be0d439472a1e374cdbca7977790b |
--- /dev/null |
+++ b/cros-disks.xml |
@@ -0,0 +1,43 @@ |
+<?xml version="1.0" encoding="UTF-8" ?> |
+ |
+<node xmlns:tp="http://telepathy.freedesktop.org/wiki/DbusSpec#extensions-v0"> |
+ <interface name="org.chromium.CrosDisks"> |
+ <tp:struct name="DiskDevice" array-name="DiskDevices"> |
+ <tp:member name="deviceIsDrive" type="b"> </tp:member> |
+ <tp:member name="devicePresentationHide" type="b"> </tp:member> |
+ <tp:member name="deviceIsMounted" type="b"> </tp:member> |
+ <tp:member name="deviceMountPath" type="s"> </tp:member> |
+ <tp:member name="label" type="s"> </tp:member> |
+ <tp:member name="driveModel" type="s"> </tp:member> |
+ <tp:member name="isRotational" type="b"> </tp:member> |
+ <tp:member name="isOptical" type="b"> </tp:member> |
+ <tp:member name="isReadOnly" type="b"> </tp:member> |
+ <tp:member name="capacity" type="d"> </tp:member> |
+ <tp:member name="bytes_remaining" type="d"> </tp:member> |
+ </tp:struct> |
+ <method name="FilesystemMount"> |
+ <arg name="nullArgument" type="s" direction="in"> |
+ </arg> |
+ <arg name="mountOptions" type="as" direction="in"> |
+ </arg> |
+ </method> |
+ <method name="FilesystemUnmount"> |
+ <arg name="mountOptions" type="as" direction="in"> |
+ </arg> |
+ </method> |
+ <method name="GetAll"> |
+ <arg name="disks" type="aa{sv}" direction="out" tp:type="DiskDevices"> |
+ </arg> |
+ </method> |
+ <method name="IsAlive"> |
+ <tp:docstring> |
+ Test method to verify that Cashew service is working. |
+ </tp:docstring> |
+ <arg name="result" type="b" direction="out"> |
+ <tp:docstring> |
+ Boolean indicating whether Cashew service is alive. |
+ </tp:docstring> |
+ </arg> |
+ </method> |
+ </interface> |
+</node> |