genode/repos/base/include/session/session.h
Norman Feske eaac3cc1bd Revised API documentation
This patch curates the API documentation to become suitable for the
functional specificaton, which is partially generated from the header
files.
2015-04-09 16:04:46 +02:00

41 lines
936 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 { class Session; }
/**
* Base class of session interfaces
*/
class Genode::Session
{
/*
* Each session interface must implement the class function 'service_name'
* ! static const char *service_name();
* This function returns the name of the service provided via the session
* interface.
*/
};
#endif /* _INCLUDE__SESSION_H_ */