1
2
3
4
5
6
7
8
9
10
11
12
13
14
use crate::types;

message_base! {
    struct ProximityAlert {
        /// The proximity alert
        alert: types::ProximityAlert,
    } -> EventLoop::proximity_alert

    fn new(alert: types::ProximityAlert,) -> Self {
        Self {
            alert: alert,
        }
    }
}