/*
* \brief Client-side signal-source interface
* \author Norman Feske
* \date 2016-01-04
*/
/*
* Copyright (C) 2016 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_SOURCE__CLIENT_H_
#define _INCLUDE__SIGNAL_SOURCE__CLIENT_H_
#include
#include
namespace Genode { class Signal_source_client; }
struct Genode::Signal_source_client : Rpc_client
{
Signal_source_client(Capability signal_source)
: Rpc_client(signal_source) { }
Signal wait_for_signal() override { return call(); }
};
#endif /* _INCLUDE__SIGNAL_SOURCE__CLIENT_H_ */