X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/93236223dac3af2ee2b4b40b07d4128bff8ea653..03015247d12176926d1b82db14778ee831ee60df:/lib/base/ebase.h diff --git a/lib/base/ebase.h b/lib/base/ebase.h index db936794..8e6ea711 100644 --- a/lib/base/ebase.h +++ b/lib/base/ebase.h @@ -1,6 +1,7 @@ #ifndef __ebase_h #define __ebase_h +#ifndef SWIG #include #include #include @@ -9,8 +10,10 @@ #include #include -#include #include +#endif + +#include class eApplication; @@ -138,6 +141,7 @@ class eMainloop; */ class eSocketNotifier { + friend class eMainloop; public: enum { Read=POLLIN, Write=POLLOUT, Priority=POLLPRI, Error=POLLERR, Hungup=POLLHUP }; private: @@ -175,7 +179,7 @@ class eMainloop { friend class eTimer; friend class eSocketNotifier; - std::map notifiers, new_notifiers; + std::map notifiers; ePtrList m_timer_list; bool app_quit_now; int loop_level;