beremiz
Clone
Summary
Browse
Changes
Graph
SVGHMI: min and max limit for widgets can be set with assigned variables
15 months ago, Edouard Tisserant
36aab384c387
SVGHMI: min and max limit for widgets can be set with assigned variables
This is a valid Widget declaration using new feature:
HMI:Input@/TARGETPRESSURE,0,max_pressure@max_pressure=hmi_local_max_setting
tests/projects/svghmi is updated accordingly.
#ifndef BLOB_HPP
#define BLOB_HPP
#include <string>
#include <filesystem>
#include "md5.hpp"
class Blob
{
public:
Blob(uint8_t *seedData, size_t seedLength);
~Blob();
MD5::digest_t digest();
uint32_t appendChunk(uint8_t *data, size_t length);
uint32_t asFile(std::filesystem::path &filename);
private:
MD5 md5;
std::FILE * m_file;
std::filesystem::path m_filename;
};
#endif // BLOB_HPP