1#ifndef H_EXTENSIONS_CUTEHMI_SHAREDDATABASE_1_INCLUDE_CUTEHMI_SHAREDDATABASE_INTERNAL_DATABASECONNECTIONHANDLER_HPP
2#define H_EXTENSIONS_CUTEHMI_SHAREDDATABASE_1_INCLUDE_CUTEHMI_SHAREDDATABASE_INTERNAL_DATABASECONNECTIONHANDLER_HPP
5#include "DatabaseConfig.hpp"
7#include <cutehmi/InplaceError.hpp>
11#include <QSqlDatabase>
15namespace shareddatabase {
26 static constexpr int INITIAL_MONITOR_INTERVAL = 1000;
28 static constexpr int INITIAL_MAINTENANCE_INTERVAL = 1000 * 60 * 60 * 12;
61 monitorInterval(INITIAL_MONITOR_INTERVAL),
Definition: DatabaseConfig.hpp:13
Definition: DatabaseConnectionHandler.hpp:20
void connected(QString connectionName)
void disconnected(QString connectionName)
void errored(cutehmi::InplaceError error)