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"
6 #include <cutehmi/shareddatabase/DataObject.hpp>
9 namespace dataacquisition {
14 class CUTEHMI_DATAACQUISITION_API
Schema:
23 Q_PROPERTY(
QString name READ name WRITE setName NOTIFY nameChanged)
28 Q_PROPERTY(
QString user READ user WRITE setUser NOTIFY userChanged)
34 void setName(const
QString & name);
38 void setUser(const
QString & user);
56 void validated(
bool result);
59 static constexpr const
char * SQL_SCRIPTS_SUBDIR = "sql";
60 static constexpr const
char * POSTGRESQL_SCRIPTS_SUBDIR = "postgres";
61 static constexpr const
char * SQLITE_SCRIPTS_SUBDIR = "sqlite";