LibreVNA/Software/PC_Application/savable.h

13 lines
196 B
C
Raw Normal View History

2020-12-05 06:49:52 +08:00
#ifndef SAVABLE_H
#define SAVABLE_H
#include "json.hpp"
class Savable {
public:
virtual nlohmann::json toJSON() = 0;
virtual void fromJSON(nlohmann::json j) = 0;
};
#endif // SAVABLE_H