rust/lib-hedgewars-engine/src/ipc.rs
author unC0Rr
Tue, 20 Nov 2018 16:56:24 +0100
changeset 14260 a239e4243cf9
child 14265 f0c0d2d217c3
permissions -rw-r--r--
Start outlining ipc subsystem
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
14260
a239e4243cf9 Start outlining ipc subsystem
unC0Rr
parents:
diff changeset
     1
use hedgewars_engine_messages::{messages::*, parser};
a239e4243cf9 Start outlining ipc subsystem
unC0Rr
parents:
diff changeset
     2
use netbuf::*;
a239e4243cf9 Start outlining ipc subsystem
unC0Rr
parents:
diff changeset
     3
a239e4243cf9 Start outlining ipc subsystem
unC0Rr
parents:
diff changeset
     4
pub struct IPC {
a239e4243cf9 Start outlining ipc subsystem
unC0Rr
parents:
diff changeset
     5
    in_buffer: Buf,
a239e4243cf9 Start outlining ipc subsystem
unC0Rr
parents:
diff changeset
     6
    out_buffer: Buf,
a239e4243cf9 Start outlining ipc subsystem
unC0Rr
parents:
diff changeset
     7
}
a239e4243cf9 Start outlining ipc subsystem
unC0Rr
parents:
diff changeset
     8
a239e4243cf9 Start outlining ipc subsystem
unC0Rr
parents:
diff changeset
     9
impl IPC {
a239e4243cf9 Start outlining ipc subsystem
unC0Rr
parents:
diff changeset
    10
    pub fn new() -> Self {
a239e4243cf9 Start outlining ipc subsystem
unC0Rr
parents:
diff changeset
    11
a239e4243cf9 Start outlining ipc subsystem
unC0Rr
parents:
diff changeset
    12
    }
a239e4243cf9 Start outlining ipc subsystem
unC0Rr
parents:
diff changeset
    13
}