- tsc-model: tree_rows/order_siblings (flattened channel tree in TeamSpeak's sibling order, collapsible). - tsc-ui: Slint (fluent-dark) window with server list and bookmark editor, channel tree (talking, muted, away, streaming, password markers; click opens channel chat, double-click joins), chat tabs with unread counts, connect/observe/mute/push-to-talk toolbar, narrow single-pane layout for small screens, About page with the Slint attribution. Engine events are marshalled to the UI thread; secrets go to the OS keyring (memory fallback). - Dev switches TSC_DATA_DIR, TSC_AUTOCONNECT and TSC_SCREENSHOT; the README screenshots were taken under Xvfb against the dev servers. - Workspace lint unsafe_code: deny (Slint's generated code needs a local allow). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NJvYyRmTjKcb9i8eyYXK5G
17 lines
513 B
Rust
17 lines
513 B
Rust
//! Domain model shared by the client engine, the gateway and the UI.
|
|
//!
|
|
//! Nothing in here does IO; the types describe what a server offers and what
|
|
//! the user sees.
|
|
|
|
mod chat;
|
|
mod presence;
|
|
mod server;
|
|
mod tree;
|
|
|
|
pub use chat::{ChatMessage, ChatTarget, relay_text, split_message};
|
|
pub use presence::{
|
|
ChannelId, ChannelInfo, ClientId, ClientInfo, Presence, PresenceDelta, PresenceSnapshot,
|
|
};
|
|
pub use server::{Capabilities, ServerFlavor, ServerVersion};
|
|
pub use tree::{TreeRow, order_siblings, tree_rows};
|