App and Service improvements (#106)
This commit is contained in:
committed by
GitHub
parent
e86a11b7e2
commit
50ee77d572
@@ -1,22 +0,0 @@
|
||||
#pragma once
|
||||
|
||||
#include "Mutex.h"
|
||||
#include "Manifest.h"
|
||||
|
||||
namespace tt::service {
|
||||
|
||||
class Service {
|
||||
private:
|
||||
Mutex mutex = Mutex(MutexTypeNormal);
|
||||
const service::Manifest& manifest;
|
||||
void* data = nullptr;
|
||||
|
||||
public:
|
||||
Service(const service::Manifest& manifest);
|
||||
|
||||
[[nodiscard]] const service::Manifest& getManifest() const;
|
||||
[[nodiscard]] void* getData() const;
|
||||
void setData(void* newData);
|
||||
};
|
||||
|
||||
} // namespace
|
||||
Reference in New Issue
Block a user