diff options
| author | Max Audron <audron@cocaine.farm> | 2021-07-21 18:34:48 +0200 |
|---|---|---|
| committer | Max Audron <audron@cocaine.farm> | 2021-07-21 18:34:48 +0200 |
| commit | 279a859d3041a8e411d4b58ce3c33b6c35aebe39 (patch) | |
| tree | d5da83a0a3c21221165aed310b18c7ada5a21fed /src/message/signalproxy/objects/mod.rs | |
| parent | migrate BufferSyncer to use Network derive and add to central Types (diff) | |
add BufferViewManager and BufferViewConfig
Diffstat (limited to 'src/message/signalproxy/objects/mod.rs')
| -rw-r--r-- | src/message/signalproxy/objects/mod.rs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/message/signalproxy/objects/mod.rs b/src/message/signalproxy/objects/mod.rs index bc07dca..24c244d 100644 --- a/src/message/signalproxy/objects/mod.rs +++ b/src/message/signalproxy/objects/mod.rs @@ -1,5 +1,6 @@ mod aliasmanager; mod buffersyncer; +mod bufferview; mod coreinfo; mod highlightrulemanager; mod identity; @@ -12,6 +13,7 @@ use std::convert::TryInto; pub use aliasmanager::*; pub use buffersyncer::*; +pub use bufferview::*; pub use coreinfo::*; pub use highlightrulemanager::*; pub use identity::*; @@ -29,6 +31,8 @@ use crate::primitive::VariantList; pub enum Types { AliasManager(AliasManager), BufferSyncer(BufferSyncer), + BufferViewConfig(BufferViewConfig), + BufferViewManager(BufferViewManager), Network(network::Network), NetworkInfo(NetworkInfo), NetworkConfig(NetworkConfig), @@ -42,6 +46,8 @@ impl Types { match self { Types::AliasManager(val) => val.to_network(), Types::BufferSyncer(val) => val.to_network(), + Types::BufferViewConfig(val) => val.to_network(), + Types::BufferViewManager(val) => val.to_network(), Types::Network(val) => val.to_network(), Types::NetworkInfo(val) => val.to_network(), Types::NetworkConfig(val) => val.to_network(), @@ -61,6 +67,8 @@ impl Types { "NetworkConfig" => Types::NetworkConfig(NetworkConfig::from_network(input)), "AliasManager" => Types::AliasManager(AliasManager::from_network(input)), "BufferSyncer" => Types::BufferSyncer(BufferSyncer::from_network(input)), + "BufferViewConfig" => Types::BufferViewConfig(BufferViewConfig::from_network(input)), + "BufferViewManager" => Types::BufferViewManager(BufferViewManager::from_network(input)), "CoreData" => Types::CoreData(CoreData::from_network( &mut input.remove(0).try_into().unwrap(), )), |
