начал писать систему формирования виджетов

This commit is contained in:
Dmitry Borisenko
2022-01-15 23:29:52 +01:00
parent 7f5b78b695
commit f01fea9bac
39 changed files with 272 additions and 2 deletions

8
include/CreateWidget.h Normal file
View File

@@ -0,0 +1,8 @@
#pragma once
#include "Global.h"
extern void createWidget(String& parameters);
extern bool loadWidget(const String& filename, String& buf);
extern const String getWidgetFile(const String& name);

View File

@@ -1,6 +1,7 @@
#pragma once
#include "Global.h"
#include "Classes/IoTSensor.h"
#include "CreateWidget.h"
extern std::vector<IoTSensor*> iotSensors; // вектор ссылок базового класса IoTSensor - список всех запущенных сенсоров

View File

@@ -6,4 +6,5 @@ extern File seekFile(const String& filename, size_t position = 0);
extern const String writeFile(const String& filename, const String& str);
extern const String readFile(const String& filename, size_t max_size);
extern const String filepath(const String& filename);
extern bool cutFile(const String& src, const String& dst);
extern bool cutFile(const String& src, const String& dst);
extern const String addFileLn(const String& filename, const String& str);