2020-01-29 00:23:02 +00:00
|
|
|
//! Custom event type for desktop ruffle
|
|
|
|
|
|
|
|
/// User-defined events.
|
|
|
|
pub enum RuffleEvent {
|
|
|
|
/// Indicates that one or more tasks are ready to poll on our executor.
|
|
|
|
TaskPoll,
|
2022-05-14 05:49:07 +00:00
|
|
|
|
|
|
|
/// Indicates that an asynchronous SWF metadata load has been completed.
|
|
|
|
OnMetadata(ruffle_core::swf::HeaderExt),
|
2020-01-29 00:23:02 +00:00
|
|
|
}
|