aboutsummaryrefslogtreecommitdiffstats
path: root/src/protocol/quicklaunch.xml
blob: a69c839c22bdc42b13c62d5b5da6da45406383e6 (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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
<protocol name="zwp_quicklaunch">
  <interface name="quicklaunch" version="1">
    <request name="create">
      <arg name="id" type="new_id" interface="quicklaunch_instance"/>
      <arg name="cmd" type="string"/>
    </request>
  </interface>
  <interface name="quicklaunch_instance" version="1">
    <enum name="flags">
      <description summary="launch flags; see ecore-exe docs"/>
      <entry name="none" value="0"/>
      <entry name="pipe_read" value="1"/>
      <entry name="pipe_write" value="2"/>
      <entry name="pipe_error" value="4"/>
      <entry name="pipe_read_line_buffered" value="8"/>
      <entry name="pipe_error_line_buffered" value="16"/>
      <entry name="pipe_auto" value="32"/>
      <entry name="respawn" value="64"/>
      <entry name="use_sh" value="128"/>
      <entry name="use_sh" value="256"/>
      <entry name="term_with_parent" value="512"/>
      <entry name="isolate_io" value="1024"/>
    </enum>
    <request name="set_flags">
     <arg name="flags" type="uint"/>
    </request>
    <request name="set_cwd">
     <arg name="cwd" type="string"/>
    </request>
    <request name="run">
      <arg name="id" type="new_id" interface="quicklaunch_exe"/>
      <arg name="env" type="string"/>
      <arg name="envc" type="uint"/>
      <arg name="envoffsets" type="array"/>
    </request>
    <request name="destroy" type="destructor"/>
  </interface>
  <interface name="quicklaunch_exe" version="1">
    <event name="started">
       <arg name="pid" type="int"/>
       <arg name="read_fd" type="fd"/>
       <arg name="write_fd" type="fd"/>
       <arg name="error_fd" type="fd"/>
    </event>
    <event name="exit_signal">
     <arg name="signal" type="int"/>
     <arg name="code" type="int"/>
     <arg name="timestamp" type="uint"/>
     <arg name="errno" type="int"/>
    </event>
    <event name="exit_code">
     <arg name="code" type="int"/>
     <arg name="timestamp" type="uint"/>
    </event>
  </interface>
</protocol>