2011-12-22 15:19:25 +00:00
|
|
|
/*
|
|
|
|
* \brief Signal-source client interface
|
|
|
|
* \author Norman Feske
|
|
|
|
* \date 2010-02-03
|
|
|
|
*
|
|
|
|
* See documentation in 'signal_session/source.h'.
|
|
|
|
*/
|
|
|
|
|
|
|
|
/*
|
2013-01-10 20:44:47 +00:00
|
|
|
* Copyright (C) 2010-2013 Genode Labs GmbH
|
2011-12-22 15:19:25 +00:00
|
|
|
*
|
|
|
|
* 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__SOURCE_CLIENT_H_
|
|
|
|
#define _INCLUDE__SIGNAL_SESSION__SOURCE_CLIENT_H_
|
|
|
|
|
|
|
|
#include <signal_session/source.h>
|
|
|
|
#include <base/rpc_client.h>
|
|
|
|
|
|
|
|
namespace Genode {
|
|
|
|
|
|
|
|
struct Signal_source_client : Rpc_client<Signal_source>
|
|
|
|
{
|
|
|
|
Signal_source_client(Signal_source_capability signal_source)
|
|
|
|
: Rpc_client<Signal_source>(signal_source) { }
|
|
|
|
|
|
|
|
Signal wait_for_signal() { return call<Rpc_wait_for_signal>(); }
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif /* _INCLUDE__SIGNAL_SESSION__SOURCE_CLIENT_H_ */
|