Last change
on this file since 2798 was
2798,
checked in by ldelgass, 13 years ago
|
Add emacs mode magic line in preparation for indentation cleanup
|
-
Property svn:eol-style set to
native
|
File size:
621 bytes
|
Line | |
---|
1 | /* -*- mode: c++; c-basic-offset: 4; indent-tabs-mode: nil -*- */ |
---|
2 | #ifndef __IMAGE_LOADER_H__ |
---|
3 | #define __IMAGE_LOADER_H__ |
---|
4 | |
---|
5 | #include <map> |
---|
6 | #include <Image.h> |
---|
7 | |
---|
8 | class ImageLoaderImpl; |
---|
9 | class Image; |
---|
10 | |
---|
11 | class ImageLoader { |
---|
12 | friend class ImageLoaderFactory; |
---|
13 | |
---|
14 | ImageLoaderImpl* _loaderImpl; |
---|
15 | public : |
---|
16 | ImageLoader(); |
---|
17 | |
---|
18 | public : |
---|
19 | Image* load(const char* fileName); |
---|
20 | Image* load(const char* fileName, const Image::ImageFormat targetFormat); |
---|
21 | |
---|
22 | private : |
---|
23 | void setLoaderImpl(ImageLoaderImpl* loaderImpl); |
---|
24 | }; |
---|
25 | |
---|
26 | inline void ImageLoader::setLoaderImpl(ImageLoaderImpl* loaderImpl) |
---|
27 | { |
---|
28 | _loaderImpl= loaderImpl; |
---|
29 | } |
---|
30 | |
---|
31 | #endif // |
---|
32 | |
---|
Note: See
TracBrowser
for help on using the repository browser.