/* * \brief Implementation of the 'Service' interface for core services * \author Norman Feske * \date 2017-05-11 */ /* * Copyright (C) 2017 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 _CORE__INCLUDE__CORE_SERVICE_H_ #define _CORE__INCLUDE__CORE_SERVICE_H_ #include namespace Genode { template struct Core_service; } template struct Genode::Core_service : Local_service, Registry::Element { Core_service(Registry ®istry, typename Local_service::Factory &factory) : Local_service(factory), Registry::Element(registry, *this) { } }; #endif /* _CORE__INCLUDE__CORE_SERVICE_H_ */