2023-04-13 02:06:42 +08:00
|
|
|
mod keyboard;
|
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;
|
2023-04-05 14:54:23 +08:00
|
|
|
#[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")))]
|
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")))]
|
2022-07-15 20:39:42 +08:00
|
|
|
mod lan;
|
|
|
|
#[cfg(not(any(target_os = "ios")))]
|
2022-09-15 17:41:10 +08:00
|
|
|
mod rendezvous_mediator;
|
|
|
|
#[cfg(not(any(target_os = "ios")))]
|
2022-05-12 17:35:25 +08:00
|
|
|
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;
|
2023-04-13 02:06:42 +08:00
|
|
|
#[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::*;
|
2022-05-25 20:23:02 +08:00
|
|
|
#[cfg(any(target_os = "android", target_os = "ios", feature = "flutter"))]
|
2022-05-17 19:59:37 +08:00
|
|
|
mod bridge_generated;
|
2022-05-25 20:23:02 +08:00
|
|
|
#[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;
|
2022-09-15 17:41:10 +08:00
|
|
|
#[cfg(not(any(target_os = "android", target_os = "ios", feature = "cli")))]
|
|
|
|
pub mod core_main;
|
2022-05-12 17:35:25 +08:00
|
|
|
#[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-11-04 19:20:51 +08:00
|
|
|
|
2023-04-08 17:46:47 +08:00
|
|
|
#[cfg(not(any(target_os = "android", target_os = "ios")))]
|
2023-04-17 00:54:34 +08:00
|
|
|
#[cfg(any(feature = "flutter"))]
|
2023-04-13 02:06:42 +08:00
|
|
|
pub mod api;
|
2023-04-08 17:46:47 +08:00
|
|
|
#[cfg(not(any(target_os = "android", target_os = "ios")))]
|
2023-04-17 00:54:34 +08:00
|
|
|
#[cfg(any(feature = "flutter"))]
|
2023-04-13 02:06:42 +08:00
|
|
|
pub mod plugins;
|
2023-04-08 17:46:47 +08:00
|
|
|
|
2022-05-12 17:35:25 +08:00
|
|
|
mod tray;
|
|
|
|
|
2022-09-15 17:41:10 +08:00
|
|
|
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
|
|
|
|
2022-10-19 22:48:51 +08:00
|
|
|
mod hbbs_http;
|
|
|
|
|
2022-05-12 17:35:25 +08:00
|
|
|
#[cfg(windows)]
|
|
|
|
pub mod clipboard_file;
|
2022-04-24 23:39:15 +08:00
|
|
|
|
2023-04-17 13:01:38 +08:00
|
|
|
#[cfg(windows)]
|
2023-04-17 09:48:39 +08:00
|
|
|
pub mod privacy_win_mag;
|
2023-04-17 12:05:36 +08:00
|
|
|
|
|
|
|
#[cfg(all(windows, feature = "virtual_display_driver"))]
|
|
|
|
pub mod virtual_display_manager;
|