mirror of
https://github.com/SatDump/SatDump
synced 2026-08-13 17:47:30 -04:00
26 lines
No EOL
442 B
C++
26 lines
No EOL
442 B
C++
#pragma once
|
|
|
|
#include "nlohmann/json.hpp"
|
|
|
|
namespace satdump
|
|
{
|
|
namespace ndsp
|
|
{
|
|
class LuaVariableManager
|
|
{
|
|
public:
|
|
nlohmann::json variables;
|
|
|
|
public:
|
|
nlohmann::json getVariable(std::string var_str);
|
|
|
|
public:
|
|
LuaVariableManager()
|
|
{
|
|
variables["samplerate"] = 6e6;
|
|
}
|
|
|
|
void drawVariables();
|
|
};
|
|
}
|
|
} |