diff options
author | Martin Sustrik <sustrik@250bpm.com> | 2012-02-16 10:04:42 +0900 |
---|---|---|
committer | Martin Sustrik <sustrik@250bpm.com> | 2012-02-16 10:04:42 +0900 |
commit | 7e4fa8505f479c494b9e7bab361e4a11e1c579a5 (patch) | |
tree | 90016499b28b113b35b15eb6656b739c1389336b /src/poller.hpp | |
parent | d3752a38faa25f2f213c638e4c236533eff72b70 (diff) |
poller_base_t is used instead of poller_t
Poller object is virtualised. You can access poller via its
base class (poller_base_t) instead of using poller_t which
was a typedef pointing to actual derived class.
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
Diffstat (limited to 'src/poller.hpp')
-rw-r--r-- | src/poller.hpp | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/src/poller.hpp b/src/poller.hpp deleted file mode 100644 index eff2e5e..0000000 --- a/src/poller.hpp +++ /dev/null @@ -1,36 +0,0 @@ -/* - Copyright (c) 2010-2012 250bpm s.r.o. - Copyright (c) 2007-2009 iMatix Corporation - Copyright (c) 2007-2011 Other contributors as noted in the AUTHORS file - - This file is part of Crossroads project. - - Crossroads is free software; you can redistribute it and/or modify it under - the terms of the GNU Lesser General Public License as published by - the Free Software Foundation; either version 3 of the License, or - (at your option) any later version. - - Crossroads is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public License - along with this program. If not, see <http://www.gnu.org/licenses/>. -*/ - -#ifndef __XS_POLLER_HPP_INCLUDED__ -#define __XS_POLLER_HPP_INCLUDED__ - -namespace xs -{ - typedef void* handle_t; -} - -#include "devpoll.hpp" -#include "epoll.hpp" -#include "kqueue.hpp" -#include "poll.hpp" -#include "select.hpp" - -#endif |