submission: Remove wildcard reexport

This commit is contained in:
Dorota Czaplejewicz
2020-01-14 11:38:44 +00:00
parent 26dbcdeb62
commit 02c24a50d2
2 changed files with 5 additions and 8 deletions

View File

@ -18,11 +18,7 @@
* */
use ::imservice::IMService;
//use ::vkeyboard::VirtualKeyboard;
/// Temporary reexport to keep stuff based directly on virtual-keyboard working
/// until a unified handler appears and prompts a rework.
pub use vkeyboard::*;
use ::vkeyboard::VirtualKeyboard;
/// Gathers stuff defined in C or called by C
pub mod c {
@ -93,6 +89,9 @@ pub mod c {
}
}
#[derive(Clone, Copy)]
pub struct Timestamp(pub u32);
pub struct Submission {
// used by C callbacks internally, TODO: make use with virtual keyboard
#[allow(dead_code)]

View File

@ -2,6 +2,7 @@
use ::keyboard::{ KeyCode, PressType };
use ::layout::c::LevelKeyboard;
use ::submission::Timestamp;
/// Gathers stuff defined in C or called by C
pub mod c {
@ -28,9 +29,6 @@ pub mod c {
}
}
#[derive(Clone, Copy)]
pub struct Timestamp(pub u32);
/// Layout-independent backend. TODO: Have one instance per program or seat
pub struct VirtualKeyboard(pub c::ZwpVirtualKeyboardV1);