tcMenu
Loading...
Searching...
No Matches
EepromItemStorage.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2018 https://www.thecoderscorner.com (Dave Cherry).
3 * This product is licensed under an Apache license, see the LICENSE file in the top-level directory.
4 */
5
6#ifndef _EEPROM_ITEM_STORAGE_H_
7#define _EEPROM_ITEM_STORAGE_H_
8
14#include "EepromAbstraction.h"
15
16class MenuItem;
17
25void saveMenuStructure(EepromAbstraction* eeprom, uint16_t magicKey = 0xfade);
26
33bool loadMenuStructure(EepromAbstraction* eeprom, uint16_t magicKey = 0xfade);
34
42bool loadMenuItem(EepromAbstraction* eeprom, MenuItem* theItem, uint16_t magicKey = 0xfade);
43
50void saveMenuItem(EepromAbstraction* eeprom, MenuItem* theItem);
51
58
64
65#endif //_EEPROM_ITEM_STORAGE_H_
void saveMenuStructure(EepromAbstraction *eeprom, uint16_t magicKey=0xfade)
Definition EepromItemStorage.cpp:82
bool loadMenuStructure(EepromAbstraction *eeprom, uint16_t magicKey=0xfade)
Definition EepromItemStorage.cpp:166
bool loadMenuItem(EepromAbstraction *eeprom, MenuItem *theItem, uint16_t magicKey=0xfade)
Definition EepromItemStorage.cpp:180
void setSizeBasedEEPROMStorageEnabled(bool ena)
Definition EepromItemStorage.cpp:198
void triggerAllChangedCallbacks()
Definition EepromItemStorage.cpp:190
void saveMenuItem(EepromAbstraction *eeprom, MenuItem *theItem)
Definition EepromItemStorage.cpp:30
Definition MenuItems.h:329