mirror of
https://github.com/feschber/lan-mouse.git
synced 2026-04-03 21:31:28 +03:00
cleanup conditional compilation
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
#![cfg(unix)]
|
||||
use crate::client::{Client, ClientHandle};
|
||||
use crate::request::{self, Request};
|
||||
use std::collections::HashMap;
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
#![cfg(unix)]
|
||||
use crate::{
|
||||
client::{Client, ClientHandle, Position},
|
||||
request,
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
#![cfg(windows)]
|
||||
use std::sync::mpsc::Receiver;
|
||||
|
||||
use winapi::{self, um::winuser::{INPUT, LPINPUT, INPUT_MOUSE, MOUSEINPUT, MOUSEEVENTF_MOVE}};
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
#![cfg(windows)]
|
||||
use std::sync::mpsc::SyncSender;
|
||||
|
||||
use crate::{event::Event, client::{ClientHandle, Client}, request::Server};
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
#![cfg(unix)]
|
||||
use std::{sync::mpsc::Receiver, ptr};
|
||||
use x11::{xtest, xlib};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user