mirror of
https://github.com/jankae/LibreVNA.git
synced 2026-04-05 14:35:23 +00:00
Save/load trace and graph setup
This commit is contained in:
parent
b91f431473
commit
9ad8def2ea
33 changed files with 605 additions and 28 deletions
12
Software/PC_Application/savable.h
Normal file
12
Software/PC_Application/savable.h
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
#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
|
||||
Loading…
Add table
Add a link
Reference in a new issue