Dilbert
Firmware for the Dilbert interactive badge.
 All Classes Files Functions Variables Enumerations Macros Pages
Public Member Functions | List of all members
IConfigStorage Class Referenceabstract

Interface for configuration storage. More...

#include <IConfigStorage.h>

Inheritance diagram for IConfigStorage:
Inheritance graph
[legend]

Public Member Functions

virtual bool save (SystemConfigData *data)=0
 Saves a system configuration. More...
 
virtual bool load (SystemConfigData *data)=0
 Loads a system configuration. More...
 

Detailed Description

Interface for configuration storage.

Author
Dan Nixon

Member Function Documentation

virtual bool IConfigStorage::load ( SystemConfigData data)
pure virtual

Loads a system configuration.

Parameters
dataPointer to a system data to store loaded values in
Returns
True for successful loading

Implemented in SPIFFSConfigService.

virtual bool IConfigStorage::save ( SystemConfigData data)
pure virtual

Saves a system configuration.

Parameters
dataPointer to a system data to save
Returns
True for successful saving

Implemented in SPIFFSConfigService.


The documentation for this class was generated from the following file: