add the ecore_exe ADD and DEL events in the main loop
SVN revision: 44034
This commit is contained in:
parent
da589aaae7
commit
9a96d024a5
|
@ -6,7 +6,7 @@
|
||||||
* TODO:
|
* TODO:
|
||||||
* - manage priority
|
* - manage priority
|
||||||
* - manage I/O pipes
|
* - manage I/O pipes
|
||||||
* - add events for start/close, maybe others
|
* - add events for data and error
|
||||||
* - manage SetConsoleCtrlHandler ?
|
* - manage SetConsoleCtrlHandler ?
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@ -55,25 +55,25 @@ struct _Ecore_Exe
|
||||||
int is_suspended : 1;
|
int is_suspended : 1;
|
||||||
};
|
};
|
||||||
|
|
||||||
static Ecore_Exe *exes = NULL;
|
static Ecore_Exe *exes = NULL;
|
||||||
Ecore_Win32_Handler *h = NULL;
|
static Ecore_Win32_Handler *h = NULL;
|
||||||
Ecore_Win32_Handler *h2 = NULL;
|
|
||||||
|
|
||||||
static BOOL CALLBACK _ecore_exe_enum_windows_procedure(HWND window, LPARAM data);
|
static BOOL CALLBACK _ecore_exe_enum_windows_procedure(HWND window, LPARAM data);
|
||||||
static void _ecore_exe_event_add_free(void *data, void *ev);
|
static void _ecore_exe_event_add_free(void *data, void *ev);
|
||||||
static void _ecore_exe_event_del_free(void *data __UNUSED__, void *ev);
|
static void _ecore_exe_event_del_free(void *data __UNUSED__, void *ev);
|
||||||
static int _ecore_exe_close_cb(void *data, Ecore_Win32_Handler *wh);
|
static int _ecore_exe_close_cb(void *data, Ecore_Win32_Handler *wh);
|
||||||
|
|
||||||
EAPI int ECORE_EXE_EVENT_ADD = 0;
|
|
||||||
EAPI int ECORE_EXE_EVENT_DEL = 0;
|
EAPI int ECORE_EXE_EVENT_ADD = 0;
|
||||||
EAPI int ECORE_EXE_EVENT_DATA = 0;
|
EAPI int ECORE_EXE_EVENT_DEL = 0;
|
||||||
EAPI int ECORE_EXE_EVENT_ERROR = 0;
|
EAPI int ECORE_EXE_EVENT_DATA = 0;
|
||||||
|
EAPI int ECORE_EXE_EVENT_ERROR = 0;
|
||||||
|
|
||||||
void
|
void
|
||||||
_ecore_exe_init(void)
|
_ecore_exe_init(void)
|
||||||
{
|
{
|
||||||
/* ECORE_EXE_EVENT_ADD = ecore_event_type_new(); */
|
ECORE_EXE_EVENT_ADD = ecore_event_type_new();
|
||||||
/* ECORE_EXE_EVENT_DEL = ecore_event_type_new(); */
|
ECORE_EXE_EVENT_DEL = ecore_event_type_new();
|
||||||
/* ECORE_EXE_EVENT_DATA = ecore_event_type_new(); */
|
/* ECORE_EXE_EVENT_DATA = ecore_event_type_new(); */
|
||||||
/* ECORE_EXE_EVENT_ERROR = ecore_event_type_new(); */
|
/* ECORE_EXE_EVENT_ERROR = ecore_event_type_new(); */
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue