3 * (c) 2010 Alexander Warg <warg@os.inf.tu-dresden.de>
4 * economic rights: Technische Universität Dresden (Germany)
6 * This file is part of TUD:OS and distributed under the terms of the
7 * GNU General Public License 2.
8 * Please see the COPYING-GPL-2 file for details.
14 namespace Mag_server {
17 Core_api_impl::add_input_source(Input_source *i)
19 i->_next_active = _input;
22 i->add_lua_input_source(lua_state(), -1);
23 lua_pop(lua_state(), 1);
27 Core_api_impl::register_session(Session *s) const
29 _sessions.add_tail(s);
30 s->set_notifier(&_session_ntfy);
31 _session_ntfy.notify();
35 Core_api_impl::get_ticks(cxx::Observer *o) const
41 Core_api_impl::add_session_observer(cxx::Observer *o) const