change event usage

This commit is contained in:
Sebastian Klähn
2022-09-18 12:56:26 +02:00
committed by Septias
parent e9f77ff753
commit fd486ec36c
5 changed files with 40 additions and 20 deletions

View File

@@ -283,6 +283,7 @@ pub enum JSONRPCEventType {
},
WebxdcBusyUpdating,
WebxdcUpToDate,
WebxdcUpdateStateChanged,
}
impl From<EventType> for JSONRPCEventType {
@@ -383,8 +384,9 @@ impl From<EventType> for JSONRPCEventType {
EventType::WebxdcInstanceDeleted { msg_id } => WebxdcInstanceDeleted {
msg_id: msg_id.to_u32(),
},
EventType::WebxdcBusyUpdating { .. } => WebxdcBusyUpdating,
EventType::WebxdcUpToDate { .. } => WebxdcUpToDate,
EventType::WebxdcStatusUpdate { .. } => WebxdcStatusUpdate,
EventType::WebxdcInstanceDeleted { .. } => WebxdcInstanceDeleted,
EventType::WebxdcUpdateStateChanged { .. } => WebxdcUpdateStateChanged,
}
}
}