This commit is contained in:
asur4s committed 2022-09-07 03:52:31 -04:00
commit 8da4fbabf5
43 files changed
+2862 -3272

No files matched your search

+1
View File
@@ -1666,6 +1666,7 @@ pub async fn handle_login_from_ui(
/// Interface for client to send data and commands.
#[async_trait]
pub trait Interface: Send + Clone + 'static + Sized {
/// Send message data to remote peer.
fn send(&self, data: Data);
fn msgbox(&self, msgtype: &str, title: &str, text: &str);
fn handle_login_error(&mut self, err: &str) -> bool;