Last change
on this file since 2798 was
2798,
checked in by ldelgass, 12 years ago
|
Add emacs mode magic line in preparation for indentation cleanup
|
-
Property svn:eol-style set to
native
|
File size:
633 bytes
|
Line | |
---|
1 | /* -*- mode: c++; c-basic-offset: 4; indent-tabs-mode: nil -*- */ |
---|
2 | #ifndef __IMAGE_LOADER_FACTORY_H__ |
---|
3 | #define __IMAGE_LOADER_FACTORY_H__ |
---|
4 | |
---|
5 | #include <map> |
---|
6 | #include <string> |
---|
7 | |
---|
8 | class ImageLoaderImpl; |
---|
9 | class Image; |
---|
10 | class ImageLoader; |
---|
11 | |
---|
12 | class ImageLoaderFactory { |
---|
13 | std::map< std::string, ImageLoaderImpl*> _loaderImpls; |
---|
14 | |
---|
15 | static ImageLoaderFactory* _instance; |
---|
16 | protected : |
---|
17 | ImageLoaderFactory(); |
---|
18 | ~ImageLoaderFactory(); |
---|
19 | |
---|
20 | public : |
---|
21 | static ImageLoaderFactory* getInstance(); |
---|
22 | |
---|
23 | public : |
---|
24 | void addLoaderImpl(const std::string& ext, ImageLoaderImpl* loaderImpl); |
---|
25 | ImageLoader* createLoader(const std::string& ext); |
---|
26 | }; |
---|
27 | |
---|
28 | #endif // |
---|
Note: See
TracBrowser
for help on using the repository browser.