feat: add DiscordApp for voice control integration with UDP communication

This commit is contained in:
GW_MC
2026-01-24 13:22:17 +08:00
parent dd1702e3e9
commit 89cc04951f
4 changed files with 772 additions and 1 deletions

View File

@@ -20,6 +20,7 @@
#include "ui/app_registry.h"
#include "ui/apps/demo_app.h"
#include "ui/apps/shutdown_app.h"
#include "ui/apps/discord_app.h"
#include <tick/lv_tick.h>
#include "esp_lvgl_port.h"
#include "lvgl.h"
@@ -125,6 +126,7 @@ void app_main(void) {
// Each descriptor will create and register the app instance
DemoAppDescriptor* demo_descriptor = new DemoAppDescriptor();
ShutdownAppDescriptor* shutdown_descriptor = new ShutdownAppDescriptor();
DiscordAppDescriptor::instance(); // Use singleton pattern for Discord app
ESP_LOGI(TAG, "Apps registered with AppRegistry\n");
// Initialize UI Handler (will render app icons from registry)