mirror of
https://github.com/outbackdingo/firezone.git
synced 2026-01-27 10:18:54 +00:00
Splits up platform-specific modules into `linux.rs` and `windows.rs` submodules, or `imp` modules within the parent module, so that we can compile all the platform-independent code (e.g. Tauri calls, `run_controller`) for Linux. This will show the Tauri GUI on Linux:  --------- Signed-off-by: Reactor Scram <ReactorScram@users.noreply.github.com>
19 lines
451 B
Rust
19 lines
451 B
Rust
use super::{ControllerRequest, CtlrTx, Error};
|
|
|
|
/// Show a notification in the bottom right of the screen
|
|
pub(crate) fn show_notification(_title: &str, _body: &str) -> Result<(), Error> {
|
|
// TODO
|
|
Ok(())
|
|
}
|
|
|
|
/// Show a notification that signals `Controller` when clicked
|
|
pub(crate) fn show_clickable_notification(
|
|
_title: &str,
|
|
_body: &str,
|
|
_tx: CtlrTx,
|
|
_req: ControllerRequest,
|
|
) -> Result<(), Error> {
|
|
// TODO
|
|
Ok(())
|
|
}
|