2022-05-12 17:35:25 +08:00
|
|
|
#[cfg(not(any(target_os = "ios")))]
|
2022-05-17 19:59:37 +08:00
|
|
|
/// cbindgen:ignore
|
2022-05-12 17:35:25 +08:00
|
|
|
pub mod platform;
|
|
|
|
#[cfg(not(any(target_os = "android", target_os = "ios")))]
|
|
|
|
pub use platform::{get_cursor, get_cursor_data, get_cursor_pos, start_os_service};
|
|
|
|
#[cfg(not(any(target_os = "ios")))]
|
2022-05-17 19:59:37 +08:00
|
|
|
/// 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 rendezvous_mediator;
|
|
|
|
#[cfg(not(any(target_os = "ios")))]
|
|
|
|
pub use self::rendezvous_mediator::*;
|
2022-05-17 19:59:37 +08:00
|
|
|
/// cbindgen:ignore
|
2022-05-12 17:35:25 +08:00
|
|
|
pub mod common;
|
2022-05-17 19:59:37 +08:00
|
|
|
#[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")))]
|
|
|
|
pub mod ui;
|
|
|
|
mod version;
|
|
|
|
pub use version::*;
|
2022-05-25 00:28:59 +08:00
|
|
|
// #[cfg(any(target_os = "android", target_os = "ios"))]
|
2022-05-17 19:59:37 +08:00
|
|
|
mod bridge_generated;
|
2022-05-25 00:28:59 +08:00
|
|
|
// #[cfg(any(target_os = "android", target_os = "ios"))]
|
2022-05-12 17:35:25 +08:00
|
|
|
pub mod mobile;
|
2022-05-25 00:28:59 +08:00
|
|
|
// #[cfg(any(target_os = "android", target_os = "ios"))]
|
2022-05-12 17:35:25 +08:00
|
|
|
pub mod mobile_ffi;
|
|
|
|
use common::*;
|
|
|
|
#[cfg(feature = "cli")]
|
|
|
|
pub mod cli;
|
|
|
|
#[cfg(all(windows, feature = "hbbs"))]
|
|
|
|
mod hbbs;
|
2022-05-17 19:59:37 +08:00
|
|
|
mod lang;
|
2022-05-12 17:35:25 +08:00
|
|
|
#[cfg(windows)]
|
|
|
|
mod license;
|
2022-05-17 19:59:37 +08:00
|
|
|
#[cfg(not(any(target_os = "android", target_os = "ios")))]
|
|
|
|
mod port_forward;
|
2022-05-12 17:35:25 +08:00
|
|
|
#[cfg(windows)]
|
|
|
|
mod tray;
|
|
|
|
|
|
|
|
#[cfg(windows)]
|
|
|
|
pub mod clipboard_file;
|