#define LYXRC_H
#include "paper.h"
-#include "graphics/GraphicsTypes.h"
-#include <iosfwd>
+#include "support/strfwd.h"
+
#include <string>
class Lexer;
/// This contains the runtime configuration of LyX
-class LyXRC //: public noncopyable
-// after 1.1.6 I will use a LyXRCStruct here and then this can be made
-// noncopyable again. For now I want to minimise changes. ARRae 20001010
+class LyXRC
{
public:
enum LyXRCTags {
RC_USE_ESC_CHARS,
RC_USE_INP_ENC,
RC_USE_PERS_DICT,
+ RC_USE_PIXMAP_CACHE,
RC_USE_SPELL_LIB,
RC_VIEWDVI_PAPEROPTION,
RC_VIEWER,
bool isp_use_alt_lang;
/// Use personal dictionary?
bool isp_use_pers_dict;
+ /// Use pixmap cache?
+ bool use_pixmap_cache;
/// Use escape chars?
bool isp_use_esc_chars;
/// Alternate language for ispell
///
int label_init_length;
///
- graphics::DisplayType display_graphics;
+ ///graphics::DisplayType
+ int display_graphics;
///
bool show_banner;
///
LyXRC::PreviewStatus val_;
public:
LyXRC_PreviewStatus(LyXRC::PreviewStatus val) : val_(val) {}
- operator LyXRC::PreviewStatus() const{ return val_; }
+ operator LyXRC::PreviewStatus() const { return val_; }
};