Convert ImageLoaderBackend to interface and backends to implementations
[geeqie.git] / src / image-load-collection.h
index 3886774..281cc91 100644 (file)
 #ifndef IMAGE_LOAD_COLLECTION_H
 #define IMAGE_LOAD_COLLECTION_H
 
+#include <memory>
+
 struct ImageLoaderBackend;
 
-void image_loader_backend_set_collection(ImageLoaderBackend *funcs);
+std::unique_ptr<ImageLoaderBackend> get_image_loader_backend_collection();
 
 #endif
 /* vim: set shiftwidth=8 softtabstop=0 cindent cinoptions={1s: */