mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-22 23:12:24 +00:00
ca971bbfd8
This patch changes the top-level directory layout as a preparatory step for improving the tools for managing 3rd-party source codes. The rationale is described in the issue referenced below. Issue #1082
39 lines
906 B
C++
39 lines
906 B
C++
/*
|
|
* \brief Session
|
|
* \author Norman Feske
|
|
* \date 2011-05-15
|
|
*/
|
|
|
|
/*
|
|
* Copyright (C) 2011-2013 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__SESSION_H_
|
|
#define _INCLUDE__SESSION_H_
|
|
|
|
/*
|
|
* Each session interface declares an RPC interface and, therefore, relies on
|
|
* the RPC framework. By including 'base/rpc.h' here, we relieve the interfaces
|
|
* from including 'base/rpc.h' in addition to 'session/session.h'.
|
|
*/
|
|
#include <base/rpc.h>
|
|
|
|
namespace Genode {
|
|
|
|
/**
|
|
* Base class of session interfaces
|
|
*
|
|
* Each session interface must implement the function 'service_name'
|
|
* ! static const char *service_name();
|
|
* This function returns the name of the service provided via the session
|
|
* interface.
|
|
*/
|
|
class Session { };
|
|
}
|
|
|
|
|
|
#endif /* _INCLUDE__SESSION_H_ */
|