genode/base/include/signal_session/source_client.h
2012-01-03 15:35:05 +01:00

34 lines
830 B
C++

/*
* \brief Signal-source client interface
* \author Norman Feske
* \date 2010-02-03
*
* See documentation in 'signal_session/source.h'.
*/
/*
* Copyright (C) 2010-2012 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__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_ */