mirror-chatterino2/lazyloadedimage.h
2017-01-05 16:07:20 +01:00

22 lines
316 B
C++

#ifndef LAZYLOADEDIMAGE_H
#define LAZYLOADEDIMAGE_H
#include "QString"
#include "QImage"
class LazyLoadedImage
{
public:
LazyLoadedImage(QString url);
LazyLoadedImage(QImage* image);
QImage* image() {
return m_image;
}
private:
QImage* m_image = NULL;
};
#endif // LAZYLOADEDIMAGE_H