#pragma interface
#endif
-#include "ToolbarDefaults.h"
#include "bufferparams.h"
+#include "support/utility.hpp"
/// This contains the runtime configuration of LyX
-class LyXRC {
+class LyXRC : public noncopyable {
public:
+ ///
LyXRC();
///
void setDefaults();
///
int ReadBindFile(string const & name = "cua");
///
- ToolbarDefaults toolbardefaults;
- ///
string bind_file;
///
+ string ui_file;
+ ///
string printer;
///
string print_command;
string dvi_to_ps_command;
/// program for performing literate programming
string literate_command;
+ ///
string literate_extension;
+ ///
string literate_error_filter;
/// program for compiling
string build_command;
+ ///
string build_error_filter;
/// program for running relyx
string relyx_command;
string backupdir_path;
/// Zoom factor for screen fonts
unsigned int zoom;
+ /// parameter for button_4 and button_5 (scrollwheel)
+ unsigned int wheel_jump;
/// Screen font sizes in points for each font size
float font_sizes[10];
/// Allow the use of scalable fonts? Default is yes.
///
string font_norm;
///
+ enum FontEncoding {
+ ///
+ ISO_10646_1,
+ ///
+ ISO_8859_6_8,
+ ///
+ OTHER_ENCODING
+ };
+ ///
+ FontEncoding font_norm_type;
+ ///
+ void set_font_norm_type();
+ ///
string font_norm_menu;
///
unsigned int autosave;
string docbook_to_pdf_command;
};
+///
extern LyXRC lyxrc;
#endif