mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-27 09:12:32 +00:00
9debad4e91
Issue #2064
33 lines
796 B
C++
33 lines
796 B
C++
/*
|
|
* \brief Connection to event service
|
|
* \author Norman Feske
|
|
* \date 2020-07-02
|
|
*/
|
|
|
|
/*
|
|
* Copyright (C) 2020 Genode Labs GmbH
|
|
*
|
|
* This file is part of the Genode OS framework, which is distributed
|
|
* under the terms of the GNU Affero General Public License version 3.
|
|
*/
|
|
|
|
#ifndef _INCLUDE__EVENT_SESSION__CONNECTION_H_
|
|
#define _INCLUDE__EVENT_SESSION__CONNECTION_H_
|
|
|
|
#include <event_session/client.h>
|
|
#include <base/connection.h>
|
|
|
|
namespace Event { struct Connection; }
|
|
|
|
|
|
struct Event::Connection : Genode::Connection<Session>, Session_client
|
|
{
|
|
Connection(Genode::Env &env, Label const &label = Label())
|
|
:
|
|
Genode::Connection<Event::Session>(env, label, Ram_quota { 18*1024 }, Args()),
|
|
Session_client(env.rm(), cap())
|
|
{ }
|
|
};
|
|
|
|
#endif /* _INCLUDE__EVENT_SESSION__CONNECTION_H_ */
|