2 /* This file is part of
3 * =================================================
5 * LyX, The Document Processor
6 * Copyright 1995 Matthias Ettrich.
7 * Copyright 1995-2000 The LyX Team.
9 * ================================================= */
11 #ifndef IMAGELOADER_XPM_H
12 #define IMAGELOADER_XPM_H
18 #include "graphics/ImageLoader.h"
20 /** ImageLoaderXPM is an implementation of ImageLoader that can load XPM images by
23 * @Author Baruch Even, <baruch.even@writeme.com>
25 class ImageLoaderXPM : public ImageLoader {
30 virtual ~ImageLoaderXPM() {};
32 /// Return the list of loadable formats.
33 virtual FormatList const loadableFormats() const;
36 /// Verify that the file is one that we can handle.
37 virtual bool isImageFormatOK(string const & filename) const;
39 /// Do the actual image loading.
40 virtual ImageLoader::Result runImageLoader(string const & filename);