2018-10-25 00:19:38 +00:00
|
|
|
#ifndef DUST3D_IMAGE_FOREVER_H
|
|
|
|
#define DUST3D_IMAGE_FOREVER_H
|
2018-10-09 02:19:12 +00:00
|
|
|
#include <QImage>
|
|
|
|
#include <QUuid>
|
2018-11-11 13:08:13 +00:00
|
|
|
#include <QByteArray>
|
2018-10-09 02:19:12 +00:00
|
|
|
|
|
|
|
class ImageForever
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
static const QImage *get(const QUuid &id);
|
2018-11-11 13:08:13 +00:00
|
|
|
static const QByteArray *getPngByteArray(const QUuid &id);
|
2018-10-09 02:19:12 +00:00
|
|
|
static QUuid add(const QImage *image, QUuid toId=QUuid());
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|