Preparing terminal communication

This commit is contained in:
2026-07-22 19:23:51 +02:00
parent a641de074f
commit 790082674e
5 changed files with 103 additions and 1 deletions
+7
View File
@@ -1,5 +1,12 @@
#[cfg(target_os = "macos")]
use std::path::PathBuf;
pub mod terminal;
pub fn server_path() -> PathBuf {
PathBuf::from("/tmp/pulse-engine.sock")
}
pub trait PulseWire {
fn to_com(&self) -> Vec<u8>;
fn from_com(_com: &mut Vec<u8>) -> Self;