mirror of
https://github.com/ByteWelder/Tactility.git
synced 2026-02-18 19:03:16 +00:00
21 lines
515 B
C++
21 lines
515 B
C++
#pragma once
|
|
|
|
#include "service/ServiceManifest.h"
|
|
|
|
namespace tt::service {
|
|
|
|
typedef void (*ManifestCallback)(const ServiceManifest*, void* context);
|
|
|
|
void initRegistry();
|
|
|
|
void addService(const ServiceManifest* manifest);
|
|
void removeService(const ServiceManifest* manifest);
|
|
|
|
bool startService(const std::string& id);
|
|
bool stopService(const std::string& id);
|
|
|
|
const ServiceManifest* _Nullable findManifestId(const std::string& id);
|
|
ServiceContext* _Nullable findServiceById(const std::string& id);
|
|
|
|
} // namespace
|