remove weird unicode chars
[clinton/Smoothieware.git] / src / libs / ConfigSource.h
index aad0c49..1d4cbe5 100644 (file)
@@ -10,6 +10,7 @@
 
 using namespace std;
 #include <vector>
+#include <string>
 #include "ConfigValue.h"
 #include "ConfigCache.h"
 
@@ -20,8 +21,12 @@ class ConfigSource {
         ConfigSource(){}
 
         // Read each value, and append it as a ConfigValue to the config_cache we were passed
-        virtual void transfer_values_to_cache( ConfigCache* ){}
+        virtual void transfer_values_to_cache( ConfigCache* ) = 0;
+        virtual bool is_named( uint16_t check_sum ) = 0;
+        virtual void write( string setting, string value ) = 0;
+        virtual string read( uint16_t check_sums[3] ) = 0;
 
+        uint16_t name_checksum;
 };