/* * Configurable.h * * Created on: Oct 25, 2012 * Author: dklein */ #ifndef CONFIGURABLE_H_ #define CONFIGURABLE_H_ #include namespace Highway { class Configurable { public: enum { Last = 1 }; Configurable(); virtual void SetProperty(int key, std::string value, int slot = 0); virtual std::string GetProperty(int key, std::string default_ = "", int slot = 0); virtual void SetProperty(int key, int value, int slot = 0); virtual int GetProperty(int key, int default_ = 0, int slot = 0); virtual ~Configurable(); }; } /* namespace Highway */ #endif /* CONFIGURABLE_H_ */