Files
vicliu d320b6511d Unify PlatformIO and ESP-IDF around a shared UI/runtime shellRefactor/repo structure (#11)
* Unify PlatformIO and ESP-IDF around a shared UI/runtime shell
2026-03-12 01:17:46 +08:00

30 lines
434 B
C++

#pragma once
namespace sys
{
struct Event;
}
namespace chat::ui
{
enum class ChatUiState
{
ChannelList,
Conversation,
Compose,
};
class IChatUiRuntime
{
public:
virtual ~IChatUiRuntime() = default;
virtual void update() = 0;
virtual void onChatEvent(sys::Event* event) = 0;
virtual ChatUiState getState() const = 0;
virtual bool isTeamConversationActive() const = 0;
};
} // namespace chat::ui