There currently is no practical use to have TactilityHeadless as a subproject. I'm merging it with the Tactility project.
17 lines
501 B
C++
17 lines
501 B
C++
#include "Tactility/service/ServiceInstance.h"
|
|
#include "Tactility/service/ServiceInstancePaths.h"
|
|
|
|
namespace tt::service {
|
|
|
|
ServiceInstance::ServiceInstance(std::shared_ptr<const service::ServiceManifest> manifest) :
|
|
manifest(manifest),
|
|
service(manifest->createService())
|
|
{}
|
|
|
|
const service::ServiceManifest& ServiceInstance::getManifest() const { return *manifest; }
|
|
|
|
std::unique_ptr<Paths> ServiceInstance::getPaths() const {
|
|
return std::make_unique<ServiceInstancePaths>(manifest);
|
|
}
|
|
|
|
} |