Commit 02c24a50 authored by Dorota Czaplejewicz's avatar Dorota Czaplejewicz
Browse files

submission: Remove wildcard reexport

parent 26dbcdeb
...@@ -18,11 +18,7 @@ ...@@ -18,11 +18,7 @@
* */ * */
use ::imservice::IMService; use ::imservice::IMService;
//use ::vkeyboard::VirtualKeyboard; 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::*;
/// Gathers stuff defined in C or called by C /// Gathers stuff defined in C or called by C
pub mod c { pub mod c {
...@@ -93,6 +89,9 @@ pub mod c { ...@@ -93,6 +89,9 @@ pub mod c {
} }
} }
#[derive(Clone, Copy)]
pub struct Timestamp(pub u32);
pub struct Submission { pub struct Submission {
// used by C callbacks internally, TODO: make use with virtual keyboard // used by C callbacks internally, TODO: make use with virtual keyboard
#[allow(dead_code)] #[allow(dead_code)]
......
...@@ -2,6 +2,7 @@ ...@@ -2,6 +2,7 @@
use ::keyboard::{ KeyCode, PressType }; use ::keyboard::{ KeyCode, PressType };
use ::layout::c::LevelKeyboard; use ::layout::c::LevelKeyboard;
use ::submission::Timestamp;
/// Gathers stuff defined in C or called by C /// Gathers stuff defined in C or called by C
pub mod c { pub mod c {
...@@ -28,9 +29,6 @@ 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 /// Layout-independent backend. TODO: Have one instance per program or seat
pub struct VirtualKeyboard(pub c::ZwpVirtualKeyboardV1); pub struct VirtualKeyboard(pub c::ZwpVirtualKeyboardV1);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment