Tactiliest/Tactility/Source/app/ManifestRegistry.h
Ken Van Hoeylandt 415096c3b2
Update docs and fix bugs (#149)
Improved the docs for the 3 main Tactility projects. I also fixed some inaccuracies and bugs in certain APIs as I went through the code.
2025-01-07 20:45:23 +01:00

22 lines
528 B
C++

#pragma once
#include "AppManifest.h"
#include <string>
#include <vector>
namespace tt::app {
/** Register an application with its manifest */
void addApp(const AppManifest* manifest);
/** Find an application manifest by its id
* @param[in] id the manifest id
* @return the application manifest if it was found
*/
const AppManifest _Nullable* findAppById(const std::string& id);
/** @return a list of all registered apps. This includes user and system apps. */
std::vector<const AppManifest*> getApps();
} // namespace