Track active window id in test platform
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
This commit is contained in:
parent
d9bb37c649
commit
0d5eea8169
4 changed files with 30 additions and 13 deletions
|
@ -63,7 +63,7 @@ pub trait Platform: Send + Sync {
|
|||
) -> Box<dyn Window>;
|
||||
fn main_window_id(&self) -> Option<usize>;
|
||||
|
||||
fn add_status_item(&self) -> Box<dyn Window>;
|
||||
fn add_status_item(&self, id: usize) -> Box<dyn Window>;
|
||||
|
||||
fn write_to_clipboard(&self, item: ClipboardItem);
|
||||
fn read_from_clipboard(&self) -> Option<ClipboardItem>;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue