12 lines
278 B
C++
12 lines
278 B
C++
#pragma once
|
|
#include <memory>
|
|
#include <QString>
|
|
|
|
class IImageLoader;
|
|
|
|
class ImageLoaderFactory {
|
|
public:
|
|
// Returns a new loader for the given file format, or nullptr for formats without images.
|
|
static std::unique_ptr<IImageLoader> create(const QString &filePath);
|
|
};
|