]> git.lyx.org Git - lyx.git/blob - src/graphics/EPS_Renderer.h
prepare for 1.1.6pre2
[lyx.git] / src / graphics / EPS_Renderer.h
1 // -*- C++ -*-
2 /* This file is part of
3  * =================================================
4  * 
5  *          LyX, The Document Processor
6  *          Copyright 1995 Matthias Ettrich.
7  *          Copyright 1995-2000 The LyX Team.
8  *
9  *          This file Copyright 2000 Baruch Even
10  * ================================================= */
11
12 #ifndef EPS_RENDERER_H
13 #define EPS_RENDERER_H
14
15 #ifdef __GNUG__
16 #pragma interface
17 #endif
18
19 #include "graphics/Renderer.h"
20
21 ///
22 class EPS_Renderer : public Renderer {
23 public:
24         /// c-tor.
25         EPS_Renderer();
26
27         /// Load the EPS image and create a pixmap out of it.
28         virtual bool renderImage();
29 private:
30         /// Verify that filename is really an EPS file.
31         virtual bool isImageFormatOK(string const & filename) const;
32 };
33
34 #endif