/* * \brief Client-side implementation of the signal session interface * \author Martin Stein * \date 2012-05-05 */ /* * Copyright (C) 2012-2013 Genode Labs GmbH * * This file is part of the Genode OS framework, which is distributed * under the terms of the GNU General Public License version 2. */ #ifndef _INCLUDE__SIGNAL_SESSION__CLIENT_H_ #define _INCLUDE__SIGNAL_SESSION__CLIENT_H_ /* Genode includes */ #include #include #include namespace Genode { /** * Client-side implementation of the signal session interface */ struct Signal_session_client : Rpc_client { /** * Constructor * * \param s targeted signal session */ explicit Signal_session_client(Signal_session_capability const s) : Rpc_client(s) { } /****************************** ** Signal_session interface ** ******************************/ Signal_receiver_capability alloc_receiver() { return call(); } Signal_context_capability alloc_context(Signal_receiver_capability const r, unsigned const imprint) { return call(r, imprint); } }; } #endif /* _INCLUDE__SIGNAL_SESSION__CLIENT_H_ */