summaryrefslogtreecommitdiff
path: root/src/lib/ecore/ecore_exe.eo
blob: 376f29e9a3b408357f43fad9f0978907320a1507 (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
class Ecore.Exe (Eo.Base, Efl.Control)
{
   eo_prefix: ecore_obj_exe;
   methods {
        @property command {
             /*@ Control the command that's executed. FIXME: May need a split/rename. */
             set {
                  legacy: null;
             }
             get {
                  legacy: null;
             }
             values {
                  const(char) *exe_cmd; /*@ The command to execute. */
                  Ecore_Exe_Flags flags; /*@ The execution flags. */
             }
        }
   }
   implements {
        Eo.Base.destructor;
        Eo.Base.finalize;
        Efl.Control.suspend.set;
   }
   constructors {
      .command;
   }
   events {
        data,get: Ecore_Exe_Event_Data;
        data,error: Ecore_Exe_Event_Data;
   }
}

/* FIXME: Notes:
   Should run_priority be a class function?
   Instead of having quit, interrupt, bla bla bla, just have an enum and one function? As it's essentially a signal send.

   Rename the events.
*/