summaryrefslogtreecommitdiff
path: root/include/efl.ecore.pxd
diff options
context:
space:
mode:
authorDavide Andreoli <dave@gurumeditation.it>2013-02-14 20:54:53 +0000
committerDavide Andreoli <dave@gurumeditation.it>2013-02-14 20:54:53 +0000
commit744fab5c922c26fa96e386f073a7879d5f89d307 (patch)
tree10de3e9a23dff2b06422bee67ada4a31bc173ea8 /include/efl.ecore.pxd
parent69832134e77b1d8b1f1d47a1eb499c73f542ad42 (diff)
New line chars from CR/LF to LF
SVN revision: 83924
Diffstat (limited to 'include/efl.ecore.pxd')
-rw-r--r--include/efl.ecore.pxd672
1 files changed, 336 insertions, 336 deletions
diff --git a/include/efl.ecore.pxd b/include/efl.ecore.pxd
index a37819b..91ebdeb 100644
--- a/include/efl.ecore.pxd
+++ b/include/efl.ecore.pxd
@@ -1,336 +1,336 @@
1# Copyright (C) 2007-2013 various contributors (see AUTHORS) 1# Copyright (C) 2007-2013 various contributors (see AUTHORS)
2# 2#
3# This file is part of Python-EFL. 3# This file is part of Python-EFL.
4# 4#
5# Python-EFL is free software; you can redistribute it and/or 5# Python-EFL is free software; you can redistribute it and/or
6# modify it under the terms of the GNU Lesser General Public 6# modify it under the terms of the GNU Lesser General Public
7# License as published by the Free Software Foundation; either 7# License as published by the Free Software Foundation; either
8# version 2.1 of the License, or (at your option) any later version. 8# version 2.1 of the License, or (at your option) any later version.
9# 9#
10# Python-EFL is distributed in the hope that it will be useful, 10# Python-EFL is distributed in the hope that it will be useful,
11# but WITHOUT ANY WARRANTY; without even the implied warranty of 11# but WITHOUT ANY WARRANTY; without even the implied warranty of
12# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13# Lesser General Public License for more details. 13# Lesser General Public License for more details.
14# 14#
15# You should have received a copy of the GNU Lesser General Public License 15# You should have received a copy of the GNU Lesser General Public License
16# along with this Python-EFL. If not, see <http://www.gnu.org/licenses/>. 16# along with this Python-EFL. If not, see <http://www.gnu.org/licenses/>.
17 17
18from efl cimport * 18from efl cimport *
19from efl.c_eo cimport Eo as cEo 19from efl.c_eo cimport Eo as cEo
20from efl.eo cimport Eo 20from efl.eo cimport Eo
21 21
22 22
23 23
24cdef extern from "Ecore.h": 24cdef extern from "Ecore.h":
25 #################################################################### 25 ####################################################################
26 # Basic Types 26 # Basic Types
27 # 27 #
28 ctypedef cEo Ecore_Timer 28 ctypedef cEo Ecore_Timer
29 ctypedef cEo Ecore_Animator 29 ctypedef cEo Ecore_Animator
30 ctypedef cEo Ecore_Idler 30 ctypedef cEo Ecore_Idler
31 ctypedef cEo Ecore_Idle_Enterer 31 ctypedef cEo Ecore_Idle_Enterer
32 ctypedef cEo Ecore_Idle_Exiter 32 ctypedef cEo Ecore_Idle_Exiter
33 33
34 ctypedef struct Ecore_Event_Handler 34 ctypedef struct Ecore_Event_Handler
35 ctypedef struct Ecore_Event 35 ctypedef struct Ecore_Event
36 36
37 ctypedef struct Ecore_Event_Signal_User: 37 ctypedef struct Ecore_Event_Signal_User:
38 int number 38 int number
39 39
40 ctypedef struct Ecore_Event_Signal_Exit: 40 ctypedef struct Ecore_Event_Signal_Exit:
41 unsigned int interrupt 41 unsigned int interrupt
42 unsigned int quit 42 unsigned int quit
43 unsigned int terminate 43 unsigned int terminate
44 44
45 ctypedef struct Ecore_Event_Signal_Realtime: 45 ctypedef struct Ecore_Event_Signal_Realtime:
46 int num 46 int num
47 47
48 ctypedef struct Ecore_Exe_Event_Add: 48 ctypedef struct Ecore_Exe_Event_Add:
49 Ecore_Exe *exe 49 Ecore_Exe *exe
50 void *ext_data 50 void *ext_data
51 51
52 ctypedef struct Ecore_Exe_Event_Del: 52 ctypedef struct Ecore_Exe_Event_Del:
53 int pid 53 int pid
54 int exit_code 54 int exit_code
55 Ecore_Exe *exe 55 Ecore_Exe *exe
56 int exit_signal 56 int exit_signal
57 unsigned int exited 57 unsigned int exited
58 unsigned int signalled 58 unsigned int signalled
59 void *ext_data 59 void *ext_data
60 60
61 ctypedef struct Ecore_Exe_Event_Data: 61 ctypedef struct Ecore_Exe_Event_Data:
62 Ecore_Exe *exe 62 Ecore_Exe *exe
63 void *data 63 void *data
64 int size 64 int size
65 Ecore_Exe_Event_Data_Line *lines 65 Ecore_Exe_Event_Data_Line *lines
66 66
67 ctypedef struct Ecore_Exe_Event_Data_Line: 67 ctypedef struct Ecore_Exe_Event_Data_Line:
68 char *line 68 char *line
69 int size 69 int size
70 70
71 ctypedef struct Ecore_Fd_Handler 71 ctypedef struct Ecore_Fd_Handler
72 ctypedef struct Ecore_Exe 72 ctypedef struct Ecore_Exe
73 ctypedef Ecore_Exe const_Ecore_Exe "const Ecore_Exe" 73 ctypedef Ecore_Exe const_Ecore_Exe "const Ecore_Exe"
74 74
75 int ECORE_EVENT_SIGNAL_USER 75 int ECORE_EVENT_SIGNAL_USER
76 int ECORE_EVENT_SIGNAL_HUP 76 int ECORE_EVENT_SIGNAL_HUP
77 int ECORE_EVENT_SIGNAL_EXIT 77 int ECORE_EVENT_SIGNAL_EXIT
78 int ECORE_EVENT_SIGNAL_POWER 78 int ECORE_EVENT_SIGNAL_POWER
79 int ECORE_EVENT_SIGNAL_REALTIME 79 int ECORE_EVENT_SIGNAL_REALTIME
80 80
81 int ECORE_EXE_EVENT_ADD 81 int ECORE_EXE_EVENT_ADD
82 int ECORE_EXE_EVENT_DEL 82 int ECORE_EXE_EVENT_DEL
83 int ECORE_EXE_EVENT_DATA 83 int ECORE_EXE_EVENT_DATA
84 int ECORE_EXE_EVENT_ERROR 84 int ECORE_EXE_EVENT_ERROR
85 85
86 86
87 #################################################################### 87 ####################################################################
88 # Enumerations 88 # Enumerations
89 # 89 #
90 ctypedef enum Ecore_Fd_Handler_Flags: 90 ctypedef enum Ecore_Fd_Handler_Flags:
91 pass 91 pass
92 92
93 ctypedef enum Ecore_Exe_Flags: 93 ctypedef enum Ecore_Exe_Flags:
94 pass 94 pass
95 95
96 #################################################################### 96 ####################################################################
97 # Other typedefs 97 # Other typedefs
98 # 98 #
99 ctypedef void (*Ecore_Cb)(void *data) 99 ctypedef void (*Ecore_Cb)(void *data)
100 ctypedef Eina_Bool (*Ecore_Task_Cb)(void *data) 100 ctypedef Eina_Bool (*Ecore_Task_Cb)(void *data)
101 ctypedef Eina_Bool (*Ecore_Fd_Cb)(void *data, Ecore_Fd_Handler *fd_handler) 101 ctypedef Eina_Bool (*Ecore_Fd_Cb)(void *data, Ecore_Fd_Handler *fd_handler)
102 ctypedef void (*Ecore_Fd_Prep_Cb)(void *data, Ecore_Fd_Handler *fd_handler) 102 ctypedef void (*Ecore_Fd_Prep_Cb)(void *data, Ecore_Fd_Handler *fd_handler)
103 ctypedef Eina_Bool (*Ecore_Event_Handler_Cb)(void *data, int type, void *event) 103 ctypedef Eina_Bool (*Ecore_Event_Handler_Cb)(void *data, int type, void *event)
104 ctypedef void (*Ecore_End_Cb)(void *user_data, void *func_data) 104 ctypedef void (*Ecore_End_Cb)(void *user_data, void *func_data)
105 ctypedef void (*Ecore_Exe_Cb)(void *data, const_Ecore_Exe *exe) 105 ctypedef void (*Ecore_Exe_Cb)(void *data, const_Ecore_Exe *exe)
106 106
107 #################################################################### 107 ####################################################################
108 # Functions 108 # Functions
109 # 109 #
110 int ecore_init() 110 int ecore_init()
111 int ecore_shutdown() 111 int ecore_shutdown()
112 112
113 void ecore_main_loop_iterate() nogil 113 void ecore_main_loop_iterate() nogil
114 void ecore_main_loop_begin() nogil 114 void ecore_main_loop_begin() nogil
115 void ecore_main_loop_quit() 115 void ecore_main_loop_quit()
116 116
117 int ecore_main_loop_glib_integrate() 117 int ecore_main_loop_glib_integrate()
118 118
119 double ecore_time_get() 119 double ecore_time_get()
120 double ecore_loop_time_get() 120 double ecore_loop_time_get()
121 121
122 Ecore_Animator *ecore_animator_add(Ecore_Task_Cb func, void *data) 122 Ecore_Animator *ecore_animator_add(Ecore_Task_Cb func, void *data)
123 void *ecore_animator_del(Ecore_Animator *animator) 123 void *ecore_animator_del(Ecore_Animator *animator)
124 void ecore_animator_frametime_set(double frametime) 124 void ecore_animator_frametime_set(double frametime)
125 double ecore_animator_frametime_get() 125 double ecore_animator_frametime_get()
126 126
127 Ecore_Timer *ecore_timer_add(double t, Ecore_Task_Cb func, void *data) 127 Ecore_Timer *ecore_timer_add(double t, Ecore_Task_Cb func, void *data)
128 void *ecore_timer_del(Ecore_Timer *timer) 128 void *ecore_timer_del(Ecore_Timer *timer)
129 void ecore_timer_freeze(Ecore_Timer *timer) 129 void ecore_timer_freeze(Ecore_Timer *timer)
130 void ecore_timer_thaw(Ecore_Timer *timer) 130 void ecore_timer_thaw(Ecore_Timer *timer)
131 void ecore_timer_interval_set(Ecore_Timer *timer, double t) 131 void ecore_timer_interval_set(Ecore_Timer *timer, double t)
132 double ecore_timer_interval_get(Ecore_Timer *timer) 132 double ecore_timer_interval_get(Ecore_Timer *timer)
133 void ecore_timer_delay(Ecore_Timer *timer, double add) 133 void ecore_timer_delay(Ecore_Timer *timer, double add)
134 void ecore_timer_reset(Ecore_Timer *timer) 134 void ecore_timer_reset(Ecore_Timer *timer)
135 double ecore_timer_pending_get(Ecore_Timer *timer) 135 double ecore_timer_pending_get(Ecore_Timer *timer)
136 double ecore_timer_precision_get() 136 double ecore_timer_precision_get()
137 double ecore_timer_precision_set(double value) 137 double ecore_timer_precision_set(double value)
138 138
139 Ecore_Idler *ecore_idler_add(Ecore_Task_Cb func, void *data) 139 Ecore_Idler *ecore_idler_add(Ecore_Task_Cb func, void *data)
140 void *ecore_idler_del(Ecore_Idler *idler) 140 void *ecore_idler_del(Ecore_Idler *idler)
141 Ecore_Idler *ecore_idle_enterer_add(Ecore_Task_Cb func, void *data) 141 Ecore_Idler *ecore_idle_enterer_add(Ecore_Task_Cb func, void *data)
142 void *ecore_idle_enterer_del(Ecore_Idler *idler) 142 void *ecore_idle_enterer_del(Ecore_Idler *idler)
143 Ecore_Idler *ecore_idle_exiter_add(Ecore_Task_Cb func, void *data) 143 Ecore_Idler *ecore_idle_exiter_add(Ecore_Task_Cb func, void *data)
144 void *ecore_idle_exiter_del(Ecore_Idler *idler) 144 void *ecore_idle_exiter_del(Ecore_Idler *idler)
145 145
146 Ecore_Fd_Handler *ecore_main_fd_handler_add(int fd, Ecore_Fd_Handler_Flags flags, Ecore_Fd_Cb func, void *data, Ecore_Fd_Cb buf_func, void *buf_data) 146 Ecore_Fd_Handler *ecore_main_fd_handler_add(int fd, Ecore_Fd_Handler_Flags flags, Ecore_Fd_Cb func, void *data, Ecore_Fd_Cb buf_func, void *buf_data)
147 void ecore_main_fd_handler_prepare_callback_set(Ecore_Fd_Handler *fd_handler, Ecore_Fd_Prep_Cb func, void *data) 147 void ecore_main_fd_handler_prepare_callback_set(Ecore_Fd_Handler *fd_handler, Ecore_Fd_Prep_Cb func, void *data)
148 void *ecore_main_fd_handler_del(Ecore_Fd_Handler *fd_handler) 148 void *ecore_main_fd_handler_del(Ecore_Fd_Handler *fd_handler)
149 int ecore_main_fd_handler_fd_get(Ecore_Fd_Handler *fd_handler) 149 int ecore_main_fd_handler_fd_get(Ecore_Fd_Handler *fd_handler)
150 int ecore_main_fd_handler_active_get(Ecore_Fd_Handler *fd_handler, Ecore_Fd_Handler_Flags flags) 150 int ecore_main_fd_handler_active_get(Ecore_Fd_Handler *fd_handler, Ecore_Fd_Handler_Flags flags)
151 void ecore_main_fd_handler_active_set(Ecore_Fd_Handler *fd_handler, Ecore_Fd_Handler_Flags flags) 151 void ecore_main_fd_handler_active_set(Ecore_Fd_Handler *fd_handler, Ecore_Fd_Handler_Flags flags)
152 152
153 Ecore_Event_Handler *ecore_event_handler_add(int type, Ecore_Event_Handler_Cb func, void *data) 153 Ecore_Event_Handler *ecore_event_handler_add(int type, Ecore_Event_Handler_Cb func, void *data)
154 void *ecore_event_handler_del(Ecore_Event_Handler *event_handler) 154 void *ecore_event_handler_del(Ecore_Event_Handler *event_handler)
155 int ecore_event_type_new() 155 int ecore_event_type_new()
156 Ecore_Event *ecore_event_add(int type, void *ev, Ecore_End_Cb func_free, void *data) 156 Ecore_Event *ecore_event_add(int type, void *ev, Ecore_End_Cb func_free, void *data)
157 void *ecore_event_del(Ecore_Event *ev) 157 void *ecore_event_del(Ecore_Event *ev)
158 158
159 void ecore_exe_run_priority_set(int pri) 159 void ecore_exe_run_priority_set(int pri)
160 int ecore_exe_run_priority_get() 160 int ecore_exe_run_priority_get()
161 Ecore_Exe *ecore_exe_pipe_run(char *exe_cmd, Ecore_Exe_Flags flags, void *data) 161 Ecore_Exe *ecore_exe_pipe_run(char *exe_cmd, Ecore_Exe_Flags flags, void *data)
162 void ecore_exe_callback_pre_free_set(Ecore_Exe *exe, Ecore_Exe_Cb func) 162 void ecore_exe_callback_pre_free_set(Ecore_Exe *exe, Ecore_Exe_Cb func)
163 int ecore_exe_send(Ecore_Exe *exe, const_void *data, int size) 163 int ecore_exe_send(Ecore_Exe *exe, const_void *data, int size)
164 void ecore_exe_close_stdin(Ecore_Exe *exe) 164 void ecore_exe_close_stdin(Ecore_Exe *exe)
165 void ecore_exe_auto_limits_set(Ecore_Exe *exe, int start_bytes, int end_bytes, int start_lines, int end_lines) 165 void ecore_exe_auto_limits_set(Ecore_Exe *exe, int start_bytes, int end_bytes, int start_lines, int end_lines)
166 Ecore_Exe_Event_Data *ecore_exe_event_data_get(Ecore_Exe *exe, Ecore_Exe_Flags flags) 166 Ecore_Exe_Event_Data *ecore_exe_event_data_get(Ecore_Exe *exe, Ecore_Exe_Flags flags)
167 void ecore_exe_event_data_free(Ecore_Exe_Event_Data *data) 167 void ecore_exe_event_data_free(Ecore_Exe_Event_Data *data)
168 void *ecore_exe_free(Ecore_Exe *exe) 168 void *ecore_exe_free(Ecore_Exe *exe)
169 int ecore_exe_pid_get(Ecore_Exe *exe) 169 int ecore_exe_pid_get(Ecore_Exe *exe)
170 void ecore_exe_tag_set(Ecore_Exe *exe, char *tag) 170 void ecore_exe_tag_set(Ecore_Exe *exe, char *tag)
171 const_char_ptr ecore_exe_tag_get(Ecore_Exe *exe) 171 const_char_ptr ecore_exe_tag_get(Ecore_Exe *exe)
172 const_char_ptr ecore_exe_cmd_get(Ecore_Exe *exe) 172 const_char_ptr ecore_exe_cmd_get(Ecore_Exe *exe)
173 void *ecore_exe_data_get(Ecore_Exe *exe) 173 void *ecore_exe_data_get(Ecore_Exe *exe)
174 Ecore_Exe_Flags ecore_exe_flags_get(Ecore_Exe *exe) 174 Ecore_Exe_Flags ecore_exe_flags_get(Ecore_Exe *exe)
175 void ecore_exe_pause(Ecore_Exe *exe) 175 void ecore_exe_pause(Ecore_Exe *exe)
176 void ecore_exe_continue(Ecore_Exe *exe) 176 void ecore_exe_continue(Ecore_Exe *exe)
177 void ecore_exe_interrupt(Ecore_Exe *exe) 177 void ecore_exe_interrupt(Ecore_Exe *exe)
178 void ecore_exe_quit(Ecore_Exe *exe) 178 void ecore_exe_quit(Ecore_Exe *exe)
179 void ecore_exe_terminate(Ecore_Exe *exe) 179 void ecore_exe_terminate(Ecore_Exe *exe)
180 void ecore_exe_kill(Ecore_Exe *exe) 180 void ecore_exe_kill(Ecore_Exe *exe)
181 void ecore_exe_signal(Ecore_Exe *exe, int num) 181 void ecore_exe_signal(Ecore_Exe *exe, int num)
182 void ecore_exe_hup(Ecore_Exe *exe) 182 void ecore_exe_hup(Ecore_Exe *exe)
183 183
184 184
185cdef extern from "Ecore_File.h": 185cdef extern from "Ecore_File.h":
186 186
187 ctypedef struct Ecore_File_Download_Job 187 ctypedef struct Ecore_File_Download_Job
188 188
189 ctypedef void (*Ecore_File_Download_Completion_Cb)(void *data, const_char_ptr file, int status) 189 ctypedef void (*Ecore_File_Download_Completion_Cb)(void *data, const_char_ptr file, int status)
190 ctypedef int (*Ecore_File_Download_Progress_Cb)(void *data, const_char_ptr file, long int dltotal, long int dlnow, long int ultotal, long int ulnow) 190 ctypedef int (*Ecore_File_Download_Progress_Cb)(void *data, const_char_ptr file, long int dltotal, long int dlnow, long int ultotal, long int ulnow)
191 191
192 int ecore_file_init() 192 int ecore_file_init()
193 int ecore_file_shutdown() 193 int ecore_file_shutdown()
194 void ecore_file_download_abort(Ecore_File_Download_Job *job) 194 void ecore_file_download_abort(Ecore_File_Download_Job *job)
195 void ecore_file_download_abort_all() 195 void ecore_file_download_abort_all()
196 Eina_Bool ecore_file_download_protocol_available(const_char_ptr protocol) 196 Eina_Bool ecore_file_download_protocol_available(const_char_ptr protocol)
197 Eina_Bool ecore_file_download(const_char_ptr url, const_char_ptr dst, 197 Eina_Bool ecore_file_download(const_char_ptr url, const_char_ptr dst,
198 Ecore_File_Download_Completion_Cb completion_cb, 198 Ecore_File_Download_Completion_Cb completion_cb,
199 Ecore_File_Download_Progress_Cb progress_cb, 199 Ecore_File_Download_Progress_Cb progress_cb,
200 void *data, 200 void *data,
201 Ecore_File_Download_Job **job_ret) 201 Ecore_File_Download_Job **job_ret)
202 202
203 203
204#################################################################### 204####################################################################
205# Python classes 205# Python classes
206# 206#
207cdef class Timer(Eo): 207cdef class Timer(Eo):
208 cdef double _interval 208 cdef double _interval
209 cdef readonly object func, args, kargs 209 cdef readonly object func, args, kargs
210 cpdef object _task_exec(self) 210 cpdef object _task_exec(self)
211 211
212 212
213cdef class Animator(Eo): 213cdef class Animator(Eo):
214 cdef readonly object func, args, kargs 214 cdef readonly object func, args, kargs
215 cpdef object _task_exec(self) 215 cpdef object _task_exec(self)
216 216
217 217
218cdef class Idler(Eo): 218cdef class Idler(Eo):
219 cdef readonly object func, args, kargs 219 cdef readonly object func, args, kargs
220 cpdef object _task_exec(self) 220 cpdef object _task_exec(self)
221 221
222 222
223cdef class IdleEnterer(Idler): 223cdef class IdleEnterer(Idler):
224 pass 224 pass
225 225
226 226
227cdef class IdleExiter(Idler): 227cdef class IdleExiter(Idler):
228 pass 228 pass
229 229
230 230
231cdef class FdHandler(object): 231cdef class FdHandler(object):
232 cdef Ecore_Fd_Handler *obj 232 cdef Ecore_Fd_Handler *obj
233 cdef readonly object func 233 cdef readonly object func
234 cdef readonly object args 234 cdef readonly object args
235 cdef readonly object kargs 235 cdef readonly object kargs
236 cdef readonly object _prepare_callback 236 cdef readonly object _prepare_callback
237 237
238 cdef object _exec(self) 238 cdef object _exec(self)
239 239
240 240
241cdef class Exe(object): 241cdef class Exe(object):
242 cdef Ecore_Exe *exe 242 cdef Ecore_Exe *exe
243 cdef readonly object __data 243 cdef readonly object __data
244 cdef object __callbacks 244 cdef object __callbacks
245 245
246 cdef int _set_obj(self, char *exe_cmd, int flags) except 0 246 cdef int _set_obj(self, char *exe_cmd, int flags) except 0
247 cdef int _unset_obj(self) except 0 247 cdef int _unset_obj(self) except 0
248 248
249 249
250cdef class ExeEventFilter(object): 250cdef class ExeEventFilter(object):
251 cdef Ecore_Exe *exe 251 cdef Ecore_Exe *exe
252 cdef Ecore_Event_Handler *handler 252 cdef Ecore_Event_Handler *handler
253 cdef readonly object owner 253 cdef readonly object owner
254 cdef readonly object event_type 254 cdef readonly object event_type
255 cdef object callbacks 255 cdef object callbacks
256 256
257 257
258cdef class EventHandler(object): 258cdef class EventHandler(object):
259 cdef Ecore_Event_Handler *obj 259 cdef Ecore_Event_Handler *obj
260 cdef readonly int type 260 cdef readonly int type
261 cdef readonly object event_cls 261 cdef readonly object event_cls
262 cdef readonly object func 262 cdef readonly object func
263 cdef readonly object args 263 cdef readonly object args
264 cdef readonly object kargs 264 cdef readonly object kargs
265 265
266 cdef int _set_obj(self, Ecore_Event_Handler *obj) except 0 266 cdef int _set_obj(self, Ecore_Event_Handler *obj) except 0
267 cdef int _unset_obj(self) except 0 267 cdef int _unset_obj(self) except 0
268 cdef Eina_Bool _exec(self, void *event) except 2 268 cdef Eina_Bool _exec(self, void *event) except 2
269 269
270 270
271cdef class Event(object): 271cdef class Event(object):
272 cdef int _set_obj(self, void *obj) except 0 272 cdef int _set_obj(self, void *obj) except 0
273 273
274 274
275cdef class EventSignalUser(Event): 275cdef class EventSignalUser(Event):
276 cdef readonly object number 276 cdef readonly object number
277 277
278 278
279cdef class EventSignalHup(Event): 279cdef class EventSignalHup(Event):
280 pass 280 pass
281 281
282 282
283cdef class EventSignalExit(Event): 283cdef class EventSignalExit(Event):
284 cdef readonly object interrupt 284 cdef readonly object interrupt
285 cdef readonly object quit 285 cdef readonly object quit
286 cdef readonly object terminate 286 cdef readonly object terminate
287 287
288 288
289cdef class EventSignalPower(Event): 289cdef class EventSignalPower(Event):
290 pass 290 pass
291 291
292 292
293cdef class CustomEvent(Event): 293cdef class CustomEvent(Event):
294 cdef readonly object obj 294 cdef readonly object obj
295 295
296 296
297cdef class QueuedEvent: 297cdef class QueuedEvent:
298 cdef Ecore_Event *obj 298 cdef Ecore_Event *obj
299 cdef readonly object args 299 cdef readonly object args
300 300
301 cdef int _set_obj(self, Ecore_Event *ev) except 0 301 cdef int _set_obj(self, Ecore_Event *ev) except 0
302 cdef int _unset_obj(self) except 0 302 cdef int _unset_obj(self) except 0
303 303
304 304
305cdef class EventExeAdd(Event): 305cdef class EventExeAdd(Event):
306 cdef readonly object exe 306 cdef readonly object exe
307 307
308 308
309cdef class EventExeDel(Event): 309cdef class EventExeDel(Event):
310 cdef readonly object exe 310 cdef readonly object exe
311 cdef readonly object pid 311 cdef readonly object pid
312 cdef readonly object exit_code 312 cdef readonly object exit_code
313 cdef readonly object exit_signal 313 cdef readonly object exit_signal
314 cdef readonly object exited 314 cdef readonly object exited
315 cdef readonly object signalled 315 cdef readonly object signalled
316 316
317 317
318cdef class EventExeData(Event): 318cdef class EventExeData(Event):
319 cdef readonly object exe 319 cdef readonly object exe
320 cdef readonly object data 320 cdef readonly object data
321 cdef readonly object size 321 cdef readonly object size
322 cdef readonly object lines 322 cdef readonly object lines
323 323
324 324
325cdef class FileDownload: 325cdef class FileDownload:
326 cdef Ecore_File_Download_Job *job 326 cdef Ecore_File_Download_Job *job
327 cdef readonly object completion_cb 327 cdef readonly object completion_cb
328 cdef readonly object progress_cb 328 cdef readonly object progress_cb
329 cdef readonly object args 329 cdef readonly object args
330 cdef readonly object kargs 330 cdef readonly object kargs
331 331
332 cdef object _exec_completion(self, const_char_ptr file, int status) 332 cdef object _exec_completion(self, const_char_ptr file, int status)
333 cdef object _exec_progress(self, const_char_ptr file, 333 cdef object _exec_progress(self, const_char_ptr file,
334 long int dltotal, long int dlnow, 334 long int dltotal, long int dlnow,
335 long int ultotal, long int ulnow) 335 long int ultotal, long int ulnow)
336 336