diff options
author | Andreas Volz <andreas@optolix.mittelerde> | 2008-07-29 23:49:34 +0200 |
---|---|---|
committer | Andreas Volz <andreas@optolix.mittelerde> | 2008-07-29 23:49:34 +0200 |
commit | f091b4226328612fa24e23cd421d60d0e0d0dcdc (patch) | |
tree | 0b8a1e9f121160c816e6a0eaaaa993fe00aa2c86 /include | |
parent | 687588c5c14ab9de68ce7cf53cc78a7a8f38d8c5 (diff) | |
download | dbus-c++-f091b4226328612fa24e23cd421d60d0e0d0dcdc.tar.gz |
not longer needed
Diffstat (limited to 'include')
-rw-r--r-- | include/dbus-c++/Ecore_Dispatcher.h | 49 |
1 files changed, 0 insertions, 49 deletions
diff --git a/include/dbus-c++/Ecore_Dispatcher.h b/include/dbus-c++/Ecore_Dispatcher.h deleted file mode 100644 index 332dc4e..0000000 --- a/include/dbus-c++/Ecore_Dispatcher.h +++ /dev/null @@ -1,49 +0,0 @@ -#ifndef ECORE_DISPATCHER_H -#define ECORE_DISPATCHER_H - -#include <Ecore.h> -#include <unistd.h> -#include <fcntl.h> -#include <stdio.h> -#include <stdlib.h> -#include <stdbool.h> - -#ifdef _WIN32
-
-# include <winsock2.h>
-
-# define e_write(fd, buffer, count) \
- send((fd), (char *)(buffer), count, 0)
-
-# define e_read(fd, buffer, count) \
- recv((fd), (char *)(buffer), count, 0)
-
-#else
-
-# include <unistd.h>
-# include <fcntl.h>
-
-# define e_write(fd, buffer, count) \
- write((fd), (buffer), count)
-
-# define e_read(fd, buffer, count) \
- read((fd), (buffer), count)
-
-#endif /* _WIN32 */ - -struct _Ecore_Dispatcher -{ - int m_fd_read; - int m_fd_write; - size_t m_count; - void (*m_update_func) (void*/*, size_t*/); -}; - -typedef struct _Ecore_Dispatcher Ecore_Dispatcher; - -void ecore_dispatcher_init (Ecore_Dispatcher *dp, void (update) (void*/*, size_t*/)); -void ecore_dispatcher_signal (Ecore_Dispatcher *dp, void *data, size_t count); -void ecore_dispatcher_close (Ecore_Dispatcher *dp); - -#endif // ECORE_DISPATCHER_H - |