- Create `Include/` folder for all main projects - Fix some issues here and there (found while moving things) - All includes are now in `Tactility/` subfolder and must be included with that prefix. This fixes issues with clashing POSIX headers (e.g. `<semaphore.h>` versus Tactility's `Semaphore.h`)
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);
|
|
}
|
|
|
|
} |