1#ifndef H_EXTENSIONS_CUTEHMI_DATAACQUISITION_1_INCLUDE_CUTEHMI_DATAACQUISITION_SCHEMA_HPP
2#define H_EXTENSIONS_CUTEHMI_DATAACQUISITION_1_INCLUDE_CUTEHMI_DATAACQUISITION_SCHEMA_HPP
4#include "internal/common.hpp"
6#include <cutehmi/shareddatabase/DataObject.hpp>
11namespace dataacquisition {
16class CUTEHMI_DATAACQUISITION_API
Schema:
35 Q_PROPERTY(
QString name READ name WRITE setName NOTIFY nameChanged)
40 Q_PROPERTY(
QString user READ user WRITE setUser NOTIFY userChanged)
46 void setName(
const QString & name);
50 void setUser(
const QString & user);
83 static constexpr const char * SQL_SCRIPTS_SUBDIR =
"sql";
84 static constexpr const char * POSTGRESQL_SCRIPTS_SUBDIR =
"postgres";
85 static constexpr const char * SQLITE_SCRIPTS_SUBDIR =
"sqlite";
Database schema.
Definition: Schema.hpp:18
void created(bool success)
void validated(bool positive)
static const char * INITIAL_NAME
Schema name initial value ("cutehmi_dataacquisition").
Definition: Schema.hpp:23
void dropped(bool success)