App and Service improvements (#106)

This commit is contained in:
Ken Van Hoeylandt
2024-12-05 22:46:27 +01:00
committed by GitHub
parent e86a11b7e2
commit 50ee77d572
69 changed files with 692 additions and 596 deletions
@@ -0,0 +1,21 @@
#pragma once
#include "Mutex.h"
#include "ServiceManifest.h"
namespace tt::service {
class ServiceContext {
protected:
virtual ~ServiceContext() = default;
public:
[[nodiscard]] virtual const service::ServiceManifest& getManifest() const = 0;
[[nodiscard]] virtual void* getData() const = 0;
virtual void setData(void* newData) = 0;
};
} // namespace