mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-04-20 03:23:20 +03:00
@@ -8,6 +8,8 @@ use std::{
|
|||||||
use bytes::Bytes;
|
use bytes::Bytes;
|
||||||
|
|
||||||
pub use connection::*;
|
pub use connection::*;
|
||||||
|
#[cfg(not(any(target_os = "android", target_os = "ios")))]
|
||||||
|
use hbb_common::config::Config2;
|
||||||
use hbb_common::tcp::{self, new_listener};
|
use hbb_common::tcp::{self, new_listener};
|
||||||
use hbb_common::{
|
use hbb_common::{
|
||||||
allow_err,
|
allow_err,
|
||||||
@@ -23,8 +25,6 @@ use hbb_common::{
|
|||||||
timeout, tokio, ResultType, Stream,
|
timeout, tokio, ResultType, Stream,
|
||||||
};
|
};
|
||||||
#[cfg(not(any(target_os = "android", target_os = "ios")))]
|
#[cfg(not(any(target_os = "android", target_os = "ios")))]
|
||||||
use hbb_common::{anyhow::anyhow, config::Config2};
|
|
||||||
#[cfg(not(any(target_os = "android", target_os = "ios")))]
|
|
||||||
use service::ServiceTmpl;
|
use service::ServiceTmpl;
|
||||||
use service::{GenericService, Service, Subscriber};
|
use service::{GenericService, Service, Subscriber};
|
||||||
|
|
||||||
|
|||||||
@@ -17,6 +17,7 @@ use std::{
|
|||||||
thread,
|
thread,
|
||||||
time::{self, Duration, Instant},
|
time::{self, Duration, Instant},
|
||||||
};
|
};
|
||||||
|
#[cfg(windows)]
|
||||||
use winapi::um::winuser::WHEEL_DELTA;
|
use winapi::um::winuser::WHEEL_DELTA;
|
||||||
|
|
||||||
const INVALID_CURSOR_POS: i32 = i32::MIN;
|
const INVALID_CURSOR_POS: i32 = i32::MIN;
|
||||||
|
|||||||
Reference in New Issue
Block a user