graphical stuff
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
use crate::gui_app::P2PClientApp;
|
||||
use client_network::{NetworkCommand, NetworkEvent, start_p2p_executor};
|
||||
use client_network::{NetworkCommand, NetworkEvent, P2PSharedData, start_p2p_executor};
|
||||
|
||||
mod gui_app;
|
||||
|
||||
@@ -11,7 +11,10 @@ async fn main() -> eframe::Result<()> {
|
||||
|
||||
// 2. Start the P2P Network Executor in a separate Tokio task
|
||||
// The executor runs in the background of our main async runtime.
|
||||
let _network_handle = start_p2p_executor(network_cmd_rx, network_event_tx);
|
||||
|
||||
let shared_data: Option<P2PSharedData> = None;
|
||||
|
||||
let _network_handle = start_p2p_executor(network_cmd_rx, network_event_tx, shared_data);
|
||||
|
||||
// 3. Configure and Run the Eframe/Egui GUI
|
||||
let options = eframe::NativeOptions {
|
||||
|
||||
Reference in New Issue
Block a user