App and Service improvements (#106)
This commit is contained in:
committed by
GitHub
parent
e86a11b7e2
commit
50ee77d572
@@ -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
|
||||
Reference in New Issue
Block a user