src/database/db_product.h

Mon, 06 Jun 2022 14:12:35 +0200

author
Michiel Broek <mbroek@mbse.eu>
date
Mon, 06 Jun 2022 14:12:35 +0200
changeset 258
70bb9c3ee60f
parent 248
1a7a5dffba58
permissions
-rw-r--r--

In the recipe editor hops you can now change the alpha percentage and hop form of any hop. We don't need locked values in recipe design.

#ifndef	_DB_PRODUCT_H
#define _DB_PRODUCT_H

#include <QDebug>
#include <QMessageBox>
#include <QUuid>
#include <QJsonArray>
#include <QJsonDocument>
#include <QJsonObject>
#include <QTranslator>
#include <QSqlQuery>
#include <QSqlError>
#include <QSqlRecord>
#include <QObject>
#include <math.h>


/**
 * @namespace db_product
 *
 * @brief Global database product functions..
 */
namespace DB_product {

    bool load(Product *prod, QDialog *dialog, int recno);
    bool save(Product *prod, QDialog *dialog);
    bool dele(QDialog *dialog, int recno);
}

#endif

mercurial