--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/database/db_product.h Wed Jun 01 19:30:38 2022 +0200 @@ -0,0 +1,30 @@ +#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