From e2f03241a1ba9d6b536b0b7a6f995e4e8d894408 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 25 May 2016 14:13:51 +0300 Subject: Move images load function from resourcemanager into separate file. --- src/dyetool/dyemain.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/dyetool/dyemain.cpp') diff --git a/src/dyetool/dyemain.cpp b/src/dyetool/dyemain.cpp index 3c97585c2..4a94e76ed 100644 --- a/src/dyetool/dyemain.cpp +++ b/src/dyetool/dyemain.cpp @@ -32,6 +32,8 @@ #include "resources/surfaceimagehelper.h" #endif +#include "resources/loaders/imageloader.h" + #include "resources/resourcemanager/resourcemanager.h" #include "utils/gettext.h" @@ -95,7 +97,7 @@ int main(int argc, char **argv) dst = argv[2]; } - Image *image = resourceManager->getImage(src); + Image *image = ImageLoader::getImage(src); if (!image) { printf("Error loading image\n"); -- cgit v1.2.3-70-g09d2