From: tho Date: Thu, 6 May 2010 12:38:59 +0000 (+0000) Subject: reverted Rev. 1620 (enable/disable PPI ActiveSocketSource) X-Git-Url: http://g0dil.de/git?a=commitdiff_plain;h=afd2847ae3a28f1fbd8a75b6d4c37044e1aade2f;p=senf.git reverted Rev. 1620 (enable/disable PPI ActiveSocketSource) git-svn-id: https://svn.berlios.de/svnroot/repos/senf/trunk@1626 270642c3-0616-0410-b53a-bc976706d245 --- diff --git a/senf/PPI/SocketSource.cti b/senf/PPI/SocketSource.cti index 756a9eb..8bb2e7c 100644 --- a/senf/PPI/SocketSource.cti +++ b/senf/PPI/SocketSource.cti @@ -53,18 +53,6 @@ prefix_ void senf::ppi::module::ActiveSocketSource::handle(Handle handle event_.set(handle_, IOEvent::Read); } -template -prefix_ bool senf::ppi::module::ActiveSocketSource::enabled() -{ - return event_.enabled(); -} - -template -prefix_ void senf::ppi::module::ActiveSocketSource::enabled( bool state) -{ - event_.enabled( state); -} - ///////////////////////////////cti.e/////////////////////////////////////// #undef prefix_ diff --git a/senf/PPI/SocketSource.hh b/senf/PPI/SocketSource.hh index 7c06aff..4ae8e8e 100644 --- a/senf/PPI/SocketSource.hh +++ b/senf/PPI/SocketSource.hh @@ -140,9 +140,6 @@ namespace module { /**< Assigning an empty or in-valid() handle will disable the module until a new, valid handle is assigned. */ - bool enabled(); ///< Check is the IOEvent of the Source is enabled - void enabled( bool state); ///< Change the state of the Source's IOEvent - private: void read();