src/database/database.h

Mon, 09 Jan 2023 17:03:19 +0100

author
Michiel Broek <mbroek@mbse.eu>
date
Mon, 09 Jan 2023 17:03:19 +0100
changeset 452
c4c5d02131be
parent 6
f8474f2c5db9
permissions
-rw-r--r--

Limit mash steptime to 240 minutes. Limit mash steps to 82 degrees celsius. In estimate_fg limit total mash time to 240 minutes and increased the water/grain ration from 5.5 to 6 l/kg.

#ifndef _DATABASE_H
#define _DATABASE_H
     
#include <QSqlDatabase>
#include <QDebug>
#include <QSettings>


class DataBase : public QObject
{
    Q_OBJECT

public:
    explicit DataBase(QObject *parent = 0);
    ~DataBase();
    bool openDataBase(bool develop);
    void closeDataBase();

private:
    QSqlDatabase    db;
};


static DataBase *db;


#endif

mercurial