aboutsummaryrefslogtreecommitdiffstats
path: root/src/wayland_protocol/teamwork.xml
blob: 99e2f33dfa9886ce23b54eb2840039723e929382 (plain) (blame)
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
<protocol name="teamwork">

  <interface name="zwp_teamwork" version="2">
    <request name="preload_uri">
      <arg name="surface" type="object" interface="wl_surface"/>
      <arg name="uri" type="string"/>
    </request>
    <request name="activate_uri">
      <arg name="surface" type="object" interface="wl_surface"/>
      <arg name="uri" type="string"/>
      <arg name="x" type="fixed" summary="surface local coords"/>
      <arg name="y" type="fixed" summary="surface local coords"/>
    </request>
    <request name="deactivate_uri">
      <arg name="surface" type="object" interface="wl_surface"/>
      <arg name="uri" type="string"/>
    </request>
    <request name="open_uri">
      <arg name="surface" type="object" interface="wl_surface"/>
      <arg name="uri" type="string"/>
    </request>

    <event name="fetching_uri">
      <arg name="surface" type="object" interface="wl_surface"/>
      <arg name="uri" type="string"/>
    </event>
    <event name="completed_uri">
      <arg name="surface" type="object" interface="wl_surface"/>
      <arg name="uri" type="string"/>
      <arg name="valid" type="int" summary="1 if uri can be displayed, else 0"/>
    </event>
    <event name="fetch_info">
      <arg name="surface" type="object" interface="wl_surface"/>
      <arg name="uri" type="string"/>
      <arg name="progress" type="uint" summary="percentage of download"/>
    </event>
  </interface>

</protocol>