~aleteoryx/TabbDE

57bce9111f70b9b479283c66f61037bc04c49b1e — aleteoryx 2 months ago 333a8e9
scheme requests
1 files changed, 35 insertions(+), 1 deletions(-)

M proto/tabbde.xml
M proto/tabbde.xml => proto/tabbde.xml +35 -1
@@ 44,13 44,47 @@
  </interface>

  <interface name="tde_scheme" version="1">
    
    <event name="read_request">
      <arg name="response" type="new_id" interface="tde_response" />
      <arg name="url" type="string" />
      <arg name="metadata" type="string" />
    </event>
    <event name="write_request">
      <arg name="response" type="new_id" interface="tde_response" />
      <arg name="url" type="string" />
      <arg name="metadata" type="string" />
      <arg name="data" type="fd" />
    </event>

    <event name="superceded" type="destructor" />
  </interface>

  <interface name="tde_renderer" version="1">
    
  </interface>

  <interface name="tde_response" version="1">
    <request name="surface" type="destructor">
      <arg name="page" type="new_id" interface="tde_page" />
      <arg name="surface" type="object" interface="wl_surface" />
    </request>
    <request name="data" type="destructor">
      <arg name="page" type="new_id" interface="tde_page" />
      <arg name="mime_type" type="string" />
      <arg name="metadata" type="string" />
      <arg name="data" type="fd" />
    </request>
    <request name="error" type="destructor">
      <arg name="page" type="new_id" interface="tde_page" />
      <arg name="title" type="string" />
      <arg name="message" type="string" />
    </request>
  </interface>

  <interface name="tde_page" version="1">
    
  </interface>

  <interface name="tde_fallback" version="1">
    <description summary="Internal method for fixing unknown types.">
      The fallback interface exists so that the DE can ask the user for