diff options
| author | jacqueline <me@jacqueline.id.au> | 2023-07-17 16:54:35 +1000 |
|---|---|---|
| committer | jacqueline <me@jacqueline.id.au> | 2023-07-17 16:54:35 +1000 |
| commit | 7197da21f6bcc1aaa5d1905228e0e2ec1caf3fa8 (patch) | |
| tree | f24f81cba08160d45d7e994dc31f48506e823e49 /src/ui/include/ui_events.hpp | |
| parent | b6bc6b9e47605ede9bffe50445d1afe3acf0ab49 (diff) | |
| download | tangara-fw-7197da21f6bcc1aaa5d1905228e0e2ec1caf3fa8.tar.gz | |
Basic playlists for upcoming
Beware under-testing and bugs. Just getting something barebones in so
that I can do rN+1 bringup
Diffstat (limited to 'src/ui/include/ui_events.hpp')
| -rw-r--r-- | src/ui/include/ui_events.hpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/ui/include/ui_events.hpp b/src/ui/include/ui_events.hpp index cc7db349..a0ef1c31 100644 --- a/src/ui/include/ui_events.hpp +++ b/src/ui/include/ui_events.hpp @@ -6,6 +6,7 @@ #pragma once +#include <memory> #include "database.hpp" #include "index.hpp" #include "tinyfsm.hpp" @@ -25,7 +26,9 @@ struct OnSystemError : tinyfsm::Event {}; namespace internal { struct RecordSelected : tinyfsm::Event { - database::IndexRecord record; + std::shared_ptr<database::Result<database::IndexRecord>> initial_page; + std::shared_ptr<database::Result<database::IndexRecord>> page; + std::size_t record; }; struct IndexSelected : tinyfsm::Event { |
