rustdesk/src/lib.rs

69 lines
1.8 KiB
Rust
Raw Normal View History

mod keyboard;
2022-05-12 17:35:25 +08:00
#[cfg(not(any(target_os = "ios")))]
/// cbindgen:ignore
2022-05-12 17:35:25 +08:00
pub mod platform;
#[cfg(not(any(target_os = "android", target_os = "ios")))]
2022-05-12 17:35:25 +08:00
pub use platform::{get_cursor, get_cursor_data, get_cursor_pos, start_os_service};
#[cfg(not(any(target_os = "ios")))]
/// cbindgen:ignore
2022-05-12 17:35:25 +08:00
mod server;
#[cfg(not(any(target_os = "ios")))]
pub use self::server::*;
mod client;
#[cfg(not(any(target_os = "ios")))]
mod lan;
#[cfg(not(any(target_os = "ios")))]
mod rendezvous_mediator;
#[cfg(not(any(target_os = "ios")))]
2022-05-12 17:35:25 +08:00
pub use self::rendezvous_mediator::*;
/// cbindgen:ignore
2022-05-12 17:35:25 +08:00
pub mod common;
#[cfg(not(any(target_os = "ios")))]
2022-05-12 17:35:25 +08:00
pub mod ipc;
#[cfg(not(any(
target_os = "android",
target_os = "ios",
feature = "cli",
feature = "flutter"
)))]
2022-05-12 17:35:25 +08:00
pub mod ui;
mod version;
pub use version::*;
#[cfg(any(target_os = "android", target_os = "ios", feature = "flutter"))]
mod bridge_generated;
#[cfg(any(target_os = "android", target_os = "ios", feature = "flutter"))]
pub mod flutter;
#[cfg(any(target_os = "android", target_os = "ios", feature = "flutter"))]
pub mod flutter_ffi;
2022-05-12 17:35:25 +08:00
use common::*;
#[cfg(feature = "cli")]
pub mod cli;
#[cfg(not(any(target_os = "android", target_os = "ios", feature = "cli")))]
pub mod core_main;
mod lang;
2022-05-12 17:35:25 +08:00
mod license;
#[cfg(not(any(target_os = "android", target_os = "ios")))]
mod port_forward;
2024-01-19 15:35:58 +08:00
mod auth_2fa;
2022-11-04 19:20:51 +08:00
#[cfg(all(feature = "flutter", feature = "plugin_framework"))]
#[cfg(not(any(target_os = "android", target_os = "ios")))]
pub mod plugin;
2023-06-07 23:57:20 +08:00
#[cfg(not(any(target_os = "android", target_os = "ios")))]
2022-05-12 17:35:25 +08:00
mod tray;
mod ui_cm_interface;
2022-05-26 18:11:00 +08:00
mod ui_interface;
2022-08-31 16:31:31 +08:00
mod ui_session_interface;
2022-05-26 18:11:00 +08:00
mod hbbs_http;
#[cfg(any(target_os = "windows", target_os = "linux", target_os = "macos"))]
2022-05-12 17:35:25 +08:00
pub mod clipboard_file;
pub mod privacy_mode;
#[cfg(all(windows, feature = "virtual_display_driver"))]
pub mod virtual_display_manager;