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