mirror of
https://github.com/ByteWelder/Tactility.git
synced 2026-02-18 10:53:17 +00:00
17 lines
481 B
C++
17 lines
481 B
C++
#include "service/ServiceInstance.h"
|
|
#include "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);
|
|
}
|
|
|
|
} |