summaryrefslogtreecommitdiff
path: root/src/lib/ecore/efl_loop_fd.eo
blob: 1be9f0a1e639e1bb5ea46d1e93ac3c42b1284d04 (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
import eina_types;

class Efl.Loop.Fd (Efl.Loop_User)
{
   [[Fds are objects that what the activity on a given
     file descriptor. This file descriptor can be a
     network, a file, provided by a library.

     The object will trigger relevant event depending
     on what is happening.]]

   legacy_prefix: null;
   methods {
      @property fd {
         [[Define which file descriptor to watch. If it is a file, use file_fd variant.]]
	 set {
	    [[Define the fd to watch on.]]
	 }
	 get {
	 }
	 values {
	    fd: int; [[The file descriptor.]]
	 }
      }
      @property fd_file {
         [[Define which file descriptor to watch when watching a file.]]
	 set {
	    [[Define the fd to watch on.]]
	 }
	 get {
	 }
	 values {
	    fd: int; [[The file descriptor.]]
	 }
      }
   }
   events {
      read;
      write;
      error;
   }
   implements {
      Eo.Base.constructor;
      Eo.Base.destructor;
   }
}