9f721e6655
* **New Features** * Added a standalone LVGL module and enabled LVGL support in the simulator for richer local UI testing. * **Refactor** * HAL and LVGL split into distinct modules; startup and device attach/detach flows reorganized for clearer lifecycle management. * Public APIs tightened with clearer nullability/documentation. * **Bug Fixes** * More consistent LVGL start/stop and device attach/detach behavior for improved stability.
27 lines
662 B
C++
27 lines
662 B
C++
#pragma once
|
|
|
|
#include "App.h"
|
|
#include <string>
|
|
#include <vector>
|
|
|
|
namespace tt::app {
|
|
|
|
struct AppManifest;
|
|
|
|
/** Register an application with its manifest */
|
|
void addAppManifest(const AppManifest& manifest);
|
|
|
|
/** Remove an app from the registry */
|
|
bool removeAppManifest(const std::string& id);
|
|
|
|
/** Find an application manifest by its id
|
|
* @param[in] id the manifest id
|
|
* @return the application manifest if it was found
|
|
*/
|
|
std::shared_ptr<AppManifest> findAppManifestById(const std::string& id);
|
|
|
|
/** @return a list of all registered apps. This includes user and system apps. */
|
|
std::vector<std::shared_ptr<AppManifest>> getAppManifests();
|
|
|
|
} // namespace
|