Core Base Classes for the Light Endpoints
Dependents: mbed_mqtt_endpoint_ublox_ethernet mbed_mqtt_endpoint_ublox_cellular mbed_nsp_endpoint_ublox_cellular mbed_nsp_endpoint_ublox_ethernet ... more
Diff: Preferences.h
- Revision:
- 118:c8a80adfe90d
- Parent:
- 116:428281cb5066
- Child:
- 120:edf33bd41e4f
--- a/Preferences.h Wed Mar 19 17:41:33 2014 +0000 +++ b/Preferences.h Wed Mar 19 21:36:48 2014 +0000 @@ -20,14 +20,15 @@ #define _PREFERENCES_H_ #include "mbed.h" -#include "ConfigFile.h" #include "ErrorHandler.h" class Preferences { private: ErrorHandler *m_error_handler; - ConfigFile *m_config_file; - + char m_names[MAX_NUM_PREFERENCES][PREFERENCE_NAME_LEN+1]; + char m_values[MAX_NUM_PREFERENCES][PREFERENCE_VALUE_LEN+1]; + int m_num_preferences; + public: Preferences(ErrorHandler *error_handler); ~Preferences();