/** bsimage.h - Hold an image and some info for bsAniPic
 *
 * bsAniPic - http://www.buckosoft.com/bsAniPic/
 *
 * Copyright(c) BuckoSoft, 2017.
 * Released under GNU GPL v3 https://www.gnu.org/licenses/gpl-3.0.en.html
 */

#ifndef BSIMAGE_H
#define BSIMAGE_H

#include <QObject>
#include <QMutex>

class BsImage : public QObject
{
    Q_OBJECT
public:
    explicit BsImage(QObject *parent = 0);
    virtual ~BsImage();

    int     frame;          // extracted from the filename
    QString filename;
    QImage* image;
    QString text;
    /** each image read gets tagged as the latest generation, so we can delete old ones. */
    int     generation;
    //QMutex  mutex;

signals:

public slots:
};

#endif // BSIMAGE_H
