1 #ifndef H_EXTENSIONS_CUTEHMI_DATAACQUISITION_0_INCLUDE_CUTEHMI_DATAACQUISITION_SCHEMA_HPP
2 #define H_EXTENSIONS_CUTEHMI_DATAACQUISITION_0_INCLUDE_CUTEHMI_DATAACQUISITION_SCHEMA_HPP
4 #include "internal/common.hpp"
5 #include "DataObject.hpp"
8 namespace dataacquisition {
13 class CUTEHMI_DATAACQUISITION_API
Schema:
22 Q_PROPERTY(
QString name READ name WRITE setName NOTIFY nameChanged)
27 Q_PROPERTY(
QString user READ user WRITE setUser NOTIFY userChanged)
33 void setName(const
QString & name);
37 void setUser(const
QString & user);
55 void validated(
bool result);
58 static constexpr const
char * SQL_SCRIPTS_SUBDIR = "sql";
59 static constexpr const
char * POSTGRESQL_SCRIPTS_SUBDIR = "postgres";
60 static constexpr const
char * SQLITE_SCRIPTS_SUBDIR = "sqlite";