summaryrefslogtreecommitdiffstats
path: root/lib/src/reactor/device.rs
diff options
context:
space:
mode:
Diffstat (limited to 'lib/src/reactor/device.rs')
-rw-r--r--lib/src/reactor/device.rs19
1 files changed, 19 insertions, 0 deletions
diff --git a/lib/src/reactor/device.rs b/lib/src/reactor/device.rs
new file mode 100644
index 0000000..1014ca1
--- /dev/null
+++ b/lib/src/reactor/device.rs
@@ -0,0 +1,19 @@
+//! Module for multi-device support functionality,
+//! which uses the gossip module for the lower-level handling
+
+use std::sync::Arc;
+
+use anyhow::Result;
+use tokio::sync::RwLock;
+
+use crate::profile::Profile;
+use crate::reactor::gossip::GossipReactor;
+
+#[derive(Debug)]
+pub struct DeviceReactor(GossipReactor);
+
+impl DeviceReactor {
+ pub(super) fn new(profile: Arc<RwLock<Profile>>) -> Self {
+ unimplemented!()
+ }
+}