Fix compile error

This commit is contained in:
Asura
2022-09-04 16:50:25 +08:00
parent 7a35119d33
commit 79aec0a63f
4 changed files with 22 additions and 13 deletions

View File

@@ -5,6 +5,13 @@ use crate::client::{
#[cfg(not(any(target_os = "android", target_os = "ios")))]
use crate::common::{check_clipboard, update_clipboard, ClipboardContext, CLIPBOARD_INTERVAL};
#[cfg(windows)]
use clipboard::{
cliprdr::CliprdrClientContext, create_cliprdr_context as create_clipboard_file_context,
get_rx_clip_client, server_clip_file,
};
#[cfg(windows)]
use crate::clipboard_file::*;
use crate::ui_session_interface::{InvokeUi, Session};
use crate::{client::Data, client::Interface};

View File

@@ -26,6 +26,8 @@ use std::sync::{Arc, Mutex, RwLock};
pub static IS_IN: AtomicBool = AtomicBool::new(false);
static KEYBOARD_HOOKED: AtomicBool = AtomicBool::new(false);
#[cfg(windows)]
static mut IS_ALT_GR: bool = false;
#[cfg(not(any(target_os = "android", target_os = "ios")))]
lazy_static::lazy_static! {