Files
trx-rs/src/trx-client/trx-frontend/trx-frontend-qt/src/lib.rs
T
sjg 5f91287369 refactor: nest trx-frontend under trx-client, trx-backend under trx-server
Move the frontend and backend crate trees to live physically under their
respective binary crate directories, grouping related code together
without merging crate boundaries. Also flatten sub-crate nesting by
moving them out of src/ subdirectories into direct children.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-06 22:47:58 +01:00

18 lines
507 B
Rust

// SPDX-FileCopyrightText: 2025 Stanislaw Grams <stanislawgrams@gmail.com>
//
// SPDX-License-Identifier: BSD-2-Clause
#[cfg(all(target_os = "linux", feature = "qt"))]
pub mod server;
#[cfg(all(target_os = "linux", feature = "qt"))]
pub fn register_frontend() {
use trx_frontend::FrontendSpawner;
trx_frontend::register_frontend("qt", server::QtFrontend::spawn_frontend);
}
#[cfg(not(all(target_os = "linux", feature = "qt")))]
pub fn register_frontend() {
// No-op on non-Linux platforms.
}