mirror of
https://github.com/ByteWelder/Tactility.git
synced 2026-02-18 19:03:16 +00:00
23 lines
485 B
C++
23 lines
485 B
C++
#pragma once
|
|
|
|
#include "service/Service.h"
|
|
#include <string>
|
|
|
|
namespace tt::service {
|
|
|
|
// Forward declarations
|
|
class ServiceContext;
|
|
|
|
typedef std::shared_ptr<Service>(*CreateService)();
|
|
|
|
/** A ledger that describes the main parts of a service. */
|
|
struct ServiceManifest {
|
|
/** The identifier by which the app is launched by the system and other apps. */
|
|
std::string id {};
|
|
|
|
/** Create the instance of the app */
|
|
CreateService createService = nullptr;
|
|
};
|
|
|
|
} // namespace
|