mirror of
https://github.com/ByteWelder/Tactility.git
synced 2026-08-17 23:55:04 +00:00
18 lines
433 B
C++
18 lines
433 B
C++
#include <Tactility/service/ServiceContext.h>
|
|
|
|
#include <Tactility/service/ServicePaths.h>
|
|
|
|
#include <tactility/service/service_instance.h>
|
|
|
|
namespace tt::service {
|
|
|
|
const ::ServiceManifest* ServiceContext::getManifest() const {
|
|
return service_instance_get_manifest(service_instance);
|
|
}
|
|
|
|
std::unique_ptr<ServicePaths> ServiceContext::getPaths() const {
|
|
return std::make_unique<ServicePaths>(getManifest());
|
|
}
|
|
|
|
} // namespace
|