commit
This commit is contained in:
parent
b5a7ab3c6b
commit
ebb0552a13
9 changed files with 186 additions and 36 deletions
|
@ -6,10 +6,10 @@ use either::Either;
|
|||
use serde::de::DeserializeOwned;
|
||||
use thiserror::Error;
|
||||
|
||||
use deckster_shared::handler_communication::HandlerInitializationResultMessage;
|
||||
pub use deckster_shared::handler_communication::{HandlerEvent, HandlerInitializationError, InitialHandlerMessage};
|
||||
pub use deckster_shared::path::*;
|
||||
pub use deckster_shared::state::{KeyStyleByStateMap, KnobStyleByStateMap};
|
||||
pub use deckster_shared as shared;
|
||||
use deckster_shared::handler_communication::{
|
||||
HandlerCommand, HandlerEvent, HandlerInitializationError, HandlerInitializationResultMessage, InitialHandlerMessage,
|
||||
};
|
||||
|
||||
#[derive(Debug, Error)]
|
||||
pub enum RunError {
|
||||
|
@ -86,3 +86,7 @@ pub fn run<
|
|||
|
||||
Ok(())
|
||||
}
|
||||
|
||||
pub fn send_command(command: HandlerCommand) {
|
||||
println!("{}", serde_json::to_string(&command).unwrap());
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue