mirror of
https://github.com/IoTManagerProject/IoTManager.git
synced 2026-03-27 06:32:19 +03:00
начал писать систему формирования виджетов
This commit is contained in:
8
include/CreateWidget.h
Normal file
8
include/CreateWidget.h
Normal 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);
|
||||
@@ -1,6 +1,7 @@
|
||||
#pragma once
|
||||
#include "Global.h"
|
||||
#include "Classes/IoTSensor.h"
|
||||
#include "CreateWidget.h"
|
||||
|
||||
extern std::vector<IoTSensor*> iotSensors; // вектор ссылок базового класса IoTSensor - список всех запущенных сенсоров
|
||||
|
||||
|
||||
@@ -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);
|
||||
Reference in New Issue
Block a user