mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-24 19:10:24 +00:00
Make gpui::platform module private
This commit is contained in:
parent
619e2b7e01
commit
b9b511148b
3 changed files with 3 additions and 5 deletions
|
@ -21,8 +21,8 @@ pub use executor::Task;
|
|||
pub mod color;
|
||||
pub mod json;
|
||||
pub mod keymap;
|
||||
pub mod platform;
|
||||
pub use platform::Event;
|
||||
mod platform;
|
||||
pub use platform::{Event, PathPromptOptions};
|
||||
pub use presenter::{
|
||||
AfterLayoutContext, Axis, DebugContext, EventContext, LayoutContext, PaintContext,
|
||||
SizeConstraint, Vector2FExt,
|
||||
|
|
|
@ -17,8 +17,6 @@ pub struct Window {
|
|||
resize_handlers: Vec<Box<dyn FnMut(&mut dyn super::WindowContext)>>,
|
||||
}
|
||||
|
||||
pub struct WindowContext {}
|
||||
|
||||
impl Platform {
|
||||
fn new() -> Self {
|
||||
Self {
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
use fs::OpenOptions;
|
||||
use gpui::platform::PathPromptOptions;
|
||||
use gpui::PathPromptOptions;
|
||||
use log::LevelFilter;
|
||||
use simplelog::SimpleLogger;
|
||||
use std::{fs, path::PathBuf};
|
||||
|
|
Loading…
Reference in a new issue