improved ecore integration (signal arrives, but still buggy)
PendingCall docu
This commit is contained in:
parent
5dadc5d4fe
commit
0dd61fc152
3 changed files with 5 additions and 3 deletions
|
@ -93,7 +93,7 @@ public:
|
||||||
* \param data The data to store.
|
* \param data The data to store.
|
||||||
* \throw ErrorNoMemory
|
* \throw ErrorNoMemory
|
||||||
*/
|
*/
|
||||||
void data( void* );
|
void data( void* data );
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
* \brief Retrieves data previously set with dbus_pending_call_set_data().
|
* \brief Retrieves data previously set with dbus_pending_call_set_data().
|
||||||
|
|
|
@ -153,6 +153,8 @@ int Ecore::BusWatch::watch_handler_read( void *data, Ecore_Fd_Handler *fdh )
|
||||||
|
|
||||||
int flags = DBUS_WATCH_READABLE;
|
int flags = DBUS_WATCH_READABLE;
|
||||||
|
|
||||||
|
watch_dispatch(NULL);// test
|
||||||
|
|
||||||
w->handle(flags);
|
w->handle(flags);
|
||||||
|
|
||||||
return 1;
|
return 1;
|
||||||
|
@ -175,7 +177,7 @@ void Ecore::BusWatch::_enable()
|
||||||
{
|
{
|
||||||
debug_log("Ecore::BusWatch::_enable()");
|
debug_log("Ecore::BusWatch::_enable()");
|
||||||
|
|
||||||
//int flags = Watch::flags();
|
int flags = Watch::flags();
|
||||||
//Ecore_Fd_Handler_Flags condition = ECORE_FD_READ;
|
//Ecore_Fd_Handler_Flags condition = ECORE_FD_READ;
|
||||||
|
|
||||||
// TODO: create second handler for ECORE_FD_ERROR case
|
// TODO: create second handler for ECORE_FD_ERROR case
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue