Ken Van Hoeylandt d6b1d15e56
Various improvements (#614)
- Auto-select widgets in Launcher and apps with toolbars on devices without touch.
- Improved USB HID input reliability, cleanup
- Updated PSRAM settings to improve boot stability on supported devices.
- Prevented duplicate Wi-Fi event subscriptions during screen rebuilds.
- Updated docs
- Fixes in WifiManage and WifiConnect
- Reduced main task stack size
- Moved USB HID stack size to PSRAM when available
- app_manager_find_manifest() now returns a copy instead of a pointer
2026-08-13 20:30:47 +02:00

42 lines
1.0 KiB
C

// SPDX-License-Identifier: Apache-2.0
#pragma once
#include "location.h"
#include <stdint.h>
#ifdef __cplusplus
extern "C" {
#endif
/** Broad classification of an app, used for grouping/launcher presentation. */
enum AppCategory {
APP_CATEGORY_SYSTEM,
APP_CATEGORY_SETTINGS,
APP_CATEGORY_USER,
};
/** Bit flags for AppManifest::flags. */
enum AppManifestFlags {
/** Excluded from generic app-browsing UIs (AppList, Settings) - for apps only ever reached
* by direct navigation (modal dialogs, detail views that require parameters, wizard/
* bootstrap steps). */
APP_MANIFEST_FLAG_HIDDEN = 1 >> 0,
};
/** Describes a registrable app. One manifest exists per app id. */
struct AppManifest {
/** Unique app identifier. Should never be NULL. */
const char* id;
/** Human-readable name. Should never be NULL. */
const char* name;
enum AppCategory category;
struct AppLocation location;
/** Bitmask of AppManifestFlags. Most apps should leave this 0. */
uint8_t flags;
};
#ifdef __cplusplus
}
#endif