You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
287 B
18 lines
287 B
2 years ago
|
#pragma once
|
||
|
|
||
|
#include "tinyfsm.hpp"
|
||
|
|
||
|
namespace ui {
|
||
|
|
||
|
// TODO(jacqueline): is this needed? is this good?
|
||
|
/*
|
||
|
* Event emitted by the main task on heartbeat.
|
||
|
*/
|
||
|
struct OnStorageChange : tinyfsm::Event {
|
||
|
bool is_mounted;
|
||
|
};
|
||
|
|
||
|
struct OnSystemError : tinyfsm::Event {};
|
||
|
|
||
|
} // namespace ui
|