tcMenu
EepromItemStorage.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2018 https://www.thecoderscorner.com (Nutricherry LTD).
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 
16 class MenuItem;
17 
25 void saveMenuStructure(EepromAbstraction* eeprom, uint16_t magicKey = 0xfade);
26 
33 bool loadMenuStructure(EepromAbstraction* eeprom, uint16_t magicKey = 0xfade);
34 
42 bool loadMenuItem(EepromAbstraction* eeprom, MenuItem* theItem, uint16_t magicKey = 0xfade);
43 
50 
51 #endif //_EEPROM_ITEM_STORAGE_H_
Definition: MenuItems.h:324
bool loadMenuItem(EepromAbstraction *eeprom, MenuItem *theItem, uint16_t magicKey=0xfade)
Definition: EepromItemStorage.cpp:159
void saveMenuStructure(EepromAbstraction *eeprom, uint16_t magicKey=0xfade)
Definition: EepromItemStorage.cpp:70
void triggerAllChangedCallbacks()
Definition: EepromItemStorage.cpp:169
bool loadMenuStructure(EepromAbstraction *eeprom, uint16_t magicKey=0xfade)
Definition: EepromItemStorage.cpp:146