git.cweiske.de
/
enigma2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add lock for smp safety
[enigma2.git]
/
lib
/
base
/
ebase.h
diff --git
a/lib/base/ebase.h
b/lib/base/ebase.h
index a399667e5417f71c866675baeb5c59bdd65dfc34..8e6ea711ef75cdf60ea84f531aa6fb609884afe3 100644
(file)
--- a/
lib/base/ebase.h
+++ b/
lib/base/ebase.h
@@
-1,6
+1,7
@@
#ifndef __ebase_h
#define __ebase_h
#ifndef __ebase_h
#define __ebase_h
+#ifndef SWIG
#include <vector>
#include <map>
#include <sys/poll.h>
#include <vector>
#include <map>
#include <sys/poll.h>
@@
-9,8
+10,10
@@
#include <time.h>
#include <lib/base/eptrlist.h>
#include <time.h>
#include <lib/base/eptrlist.h>
-#include <lib/python/connections.h>
#include <libsig_comp.h>
#include <libsig_comp.h>
+#endif
+
+#include <lib/python/connections.h>
class eApplication;
class eApplication;
@@
-138,6
+141,7
@@
class eMainloop;
*/
class eSocketNotifier
{
*/
class eSocketNotifier
{
+ friend class eMainloop;
public:
enum { Read=POLLIN, Write=POLLOUT, Priority=POLLPRI, Error=POLLERR, Hungup=POLLHUP };
private:
public:
enum { Read=POLLIN, Write=POLLOUT, Priority=POLLPRI, Error=POLLERR, Hungup=POLLHUP };
private: