LibreVNA/Software/PC_Application/savable.h
2020-12-04 23:49:52 +01:00

13 lines
196 B
C++

#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