[storage] Possibility to store metadata with records (cursor in scripts)

This commit is contained in:
Laury
2022-04-15 22:30:53 +02:00
parent 38796253cb
commit 77352e34b5
7 changed files with 195 additions and 9 deletions

View File

@@ -50,6 +50,8 @@ public:
void toggleAutoimportationStatus();
const char * content() const;
size_t contentSize() { return value().size - k_statusSize; }
void setCursorOffset(uint16_t position); // -1 if no metadata
uint16_t cursorOffset();
/* Fetched status */
bool fetchedFromConsole() const;