feat(constellation): expose msg for bluetooth thread

This commit is contained in:
OJ Kwon 2018-04-04 13:49:43 -07:00
parent 3695fc4efc
commit c141090d61
No known key found for this signature in database
GPG key ID: FFCFEF3460FD1901
4 changed files with 24 additions and 5 deletions

View file

@ -213,3 +213,10 @@ pub enum SWManagerMsg {
/// Provide the constellation with a means of communicating with the Service Worker Manager
OwnSender(IpcSender<ServiceWorkerMsg>),
}
/// Messages outgoing from the Bluetooth Manager thread to constellation
#[derive(Deserialize, Serialize)]
pub enum BluetoothManagerMsg {
/// Requesting to open device select dialog
OpenDeviceSelectDialog(Vec<String>, IpcSender<Option<String>>)
}