summaryrefslogtreecommitdiff
path: root/src/lib/ecore/efl_exe.eo
blob: 4fd5854fa43285adb87f21b5f021f6a4d2d31737 (plain)
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
57
58
59
60
61
62
63
import efl_types;
import eina_types;

enum Efl.Exe.Signal {
   [[ ]]
   int,
   quit,
   term,
   kill,
   cont,
   stop,
   hup,
   usr1,
   usr2
}

enum Efl.Exe.Flags {
   [[ ]]
   none             = 0,
   group_leader     = 1,
   exit_with_parent = 2,
   hide_io          = 4
}

class Efl.Exe (Efl.Task)
{
   [[ ]]
   methods {
      signal {
         params {
            sig: Efl.Exe.Signal; [[ Send this signal to the task ]]
         }
      }
      @property exe_flags {
        set { }
        get { }
        values {
          flags: Efl.Exe.Flags; [[ ]]
        }
      }
      @property exit_signal {
         [[ The final exit signal of this task. ]]
         get { }
         values {
            sig: int; [[ The exit signal, or -1 if no exit signal happened ]]
         }
      }
   }
   implements {
      Efl.Object.constructor;
      Efl.Object.destructor;
      Efl.Task.priority { get; set; }
      Efl.Task.run;
      Efl.Task.end;
      Efl.Io.Closer.close;
      Efl.Io.Closer.closed { get; }
      Efl.Io.Reader.read;
      Efl.Io.Reader.can_read { get; set; }
      Efl.Io.Reader.eos { get; set; }
      Efl.Io.Writer.write;
      Efl.Io.Writer.can_write { get; set; }
   }
}