/*
  database.h
  Author: Pixel Flash Server
    database.h contains the class definition for the database class used by the cuCare server to store data persistently
*/

#ifndef DATABASE_H
#define DATABASE_H
#include <QtSql>
#include <QDebug>

class Database
{
public:
    Database();
    ~Database();

    QSqlQuery query(QString query_string);
    void close();
    bool opened();

private:
    QSqlDatabase db;
};
#endif // DATABASE_H
