source: trunk/packages/vizservers/nanovis/imgLoaders/ImageLoader.h @ 2798

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
8class ImageLoaderImpl;
9class Image;
10
11class ImageLoader {
12    friend class ImageLoaderFactory;
13
14    ImageLoaderImpl* _loaderImpl;
15public :
16    ImageLoader();
17
18public :
19    Image* load(const char* fileName);
20    Image* load(const char* fileName, const Image::ImageFormat targetFormat);
21
22private :
23    void setLoaderImpl(ImageLoaderImpl* loaderImpl);
24};
25
26inline void ImageLoader::setLoaderImpl(ImageLoaderImpl* loaderImpl)
27{
28    _loaderImpl= loaderImpl;
29}
30
31#endif //
32
Note: See TracBrowser for help on using the repository browser.