committed by
GitHub
parent
6d80144e12
commit
85e26636a3
@@ -0,0 +1,17 @@
|
||||
#pragma once
|
||||
|
||||
#include "AppManifest.h"
|
||||
#include <string>
|
||||
|
||||
namespace tt {
|
||||
|
||||
typedef void (*AppManifestCallback)(const AppManifest*, void* context);
|
||||
|
||||
void app_manifest_registry_init();
|
||||
void app_manifest_registry_add(const AppManifest* manifest);
|
||||
void app_manifest_registry_remove(const AppManifest* manifest);
|
||||
const AppManifest _Nullable* app_manifest_registry_find_by_id(const std::string& id);
|
||||
void app_manifest_registry_for_each(AppManifestCallback callback, void* _Nullable context);
|
||||
void app_manifest_registry_for_each_of_type(AppType type, void* _Nullable context, AppManifestCallback callback);
|
||||
|
||||
} // namespace
|
||||
Reference in New Issue
Block a user