2025-01-24 18:21:47 +01:00

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