mirror of
https://github.com/ByteWelder/Tactility.git
synced 2026-02-18 10:53:17 +00:00
23 lines
397 B
C++
23 lines
397 B
C++
#pragma once
|
|
|
|
#include "Mutex.h"
|
|
#include "ServiceManifest.h"
|
|
#include <memory>
|
|
|
|
namespace tt::service {
|
|
|
|
class ServiceContext {
|
|
|
|
protected:
|
|
|
|
virtual ~ServiceContext() = default;
|
|
|
|
public:
|
|
|
|
virtual const service::ServiceManifest& getManifest() const = 0;
|
|
virtual std::shared_ptr<void> getData() const = 0;
|
|
virtual void setData(std::shared_ptr<void> newData) = 0;
|
|
};
|
|
|
|
} // namespace
|