summaryrefslogtreecommitdiff
path: root/src/guichan/image.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-09-24 13:26:20 +0300
committerAndrei Karas <akaras@inbox.ru>2012-09-24 13:31:01 +0300
commitbd231fc40ca54f7dd2e091c5ab414f4cebb3b05e (patch)
treef5bd340d41e7d0d7dda89c2c614ad1e5ff44fbc1 /src/guichan/image.cpp
parent64ed19bc03e994b54abc39532c72ed6e374948b9 (diff)
downloadmv-bd231fc40ca54f7dd2e091c5ab414f4cebb3b05e.tar.gz
mv-bd231fc40ca54f7dd2e091c5ab414f4cebb3b05e.tar.bz2
mv-bd231fc40ca54f7dd2e091c5ab414f4cebb3b05e.tar.xz
mv-bd231fc40ca54f7dd2e091c5ab414f4cebb3b05e.zip
Remove unused guichan classes.
Diffstat (limited to 'src/guichan/image.cpp')
-rw-r--r--src/guichan/image.cpp26
1 files changed, 0 insertions, 26 deletions
diff --git a/src/guichan/image.cpp b/src/guichan/image.cpp
index 1a560217f..09129e61f 100644
--- a/src/guichan/image.cpp
+++ b/src/guichan/image.cpp
@@ -49,15 +49,11 @@
#include "guichan/image.hpp"
#include "guichan/exception.hpp"
-#include "guichan/imageloader.hpp"
#include "debug.h"
namespace gcn
{
-
- ImageLoader* Image::mImageLoader = nullptr;
-
Image::Image()
{
}
@@ -65,26 +61,4 @@ namespace gcn
Image::~Image()
{
}
-
- void Image::setImageLoader(ImageLoader* imageLoader)
- {
- mImageLoader = imageLoader;
- }
-
- ImageLoader* Image::getImageLoader()
- {
- return mImageLoader;
- }
-
- Image* Image::load(const std::string& filename,
- bool convertToDisplayFormat)
- {
- if (!mImageLoader)
- {
- throw GCN_EXCEPTION("Trying to load an image but "
- "no image loader is set.");
- }
-
- return mImageLoader->load(filename, convertToDisplayFormat);
- }
}