22 lines
575 B
C++
22 lines
575 B
C++
#ifndef _INCLUDE__SIGNALS_SESSION__SIGNALS_SESSION_H
|
|
#define _INCLUDE__SIGNALS_SESSION__SIGNALS_SESSION_H
|
|
|
|
#include <session/session.h>
|
|
#include <base/rpc.h>
|
|
|
|
namespace Signals { struct Session; }
|
|
|
|
struct Signals::Session : Genode::Session {
|
|
static const char *service_name() { return "Signals"; }
|
|
|
|
enum { CAP_QUOTA = 2 };
|
|
|
|
virtual Genode::Signal_context_capability get_sig_con() = 0;
|
|
|
|
GENODE_RPC(Rpc_get_sig_con, Genode::Signal_context_capability, get_sig_con);
|
|
|
|
GENODE_RPC_INTERFACE(Rpc_get_sig_con);
|
|
};
|
|
|
|
#endif /* _INCLUDE__SIGNALS_SESSION__SIGNALS_SESSION_H */
|