X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Flyxrc.h;h=ede04f705552e83bab5df1e93f89372d91dbd4ea;hb=9e5bd1d609877e602cb697bc695d410e2ab48e0d;hp=c9c757b9029f6dbb3dffc9db246f255c73cfefad;hpb=def72111a5ac739cf8c5377a67adeee64c37e1ab;p=lyx.git diff --git a/src/lyxrc.h b/src/lyxrc.h index c9c757b902..ede04f7055 100644 --- a/src/lyxrc.h +++ b/src/lyxrc.h @@ -5,7 +5,7 @@ * LyX, The Document Processor * * Copyright 1995 Matthias Ettrich - * Copyright 1995-1999 The LyX Team. + * Copyright 1995-2000 The LyX Team. * * ====================================================== */ @@ -16,28 +16,31 @@ #pragma interface #endif -#include "toolbar.h" +#include + +#include "ToolbarDefaults.h" #include "bufferparams.h" /// This contains the runtime configuration of LyX class LyXRC { public: - /// LyXRC(); /// + void setDefaults(); + /// int read (string const & filename); /// void write(string const & filename) const; /// void print() const; /// - void output(ostream & os) const; + void output(std::ostream & os) const; /// Is a bind file already (or currently) read? bool hasBindFile; /// int ReadBindFile(string const & name = "cua"); /// - Toolbar toolbar; + ToolbarDefaults toolbardefaults; /// string printer; /// @@ -116,8 +119,6 @@ public: /// command to run an html converter incl. options string html_command; /// - string sgml_extra_options; - /// string document_path; /// string template_path; @@ -135,6 +136,8 @@ public: unsigned int num_lastfiles; /// shall a backup file be created bool make_backup; + /// A directory for storing backup files + string backupdir_path; /// Zoom factor for screen fonts unsigned int zoom; /// Screen font sizes in points for each font size @@ -158,6 +161,8 @@ public: /// string font_norm; /// + string font_norm_menu; + /// unsigned int autosave; /// string fax_command; @@ -202,12 +207,44 @@ public: /// string date_insert_format; /// + string language_package; + /// + bool language_auto_begin; + /// + bool language_auto_end; + /// + string language_command_begin; + /// + string language_command_end; + /// bool rtl_support; /// + bool auto_number; + /// bool show_banner; + /// Do we have to use a GUI? + bool use_gui; + /// + string linuxdoc_to_lyx_command; + /// + string linuxdoc_to_html_command; + /// + string linuxdoc_to_latex_command; + /// + string docbook_to_dvi_command; + /// + string docbook_to_html_command; + /// + string docbook_to_pdf_command; + /// + typedef std::map Bindings; + /// + Bindings bindings; private: /// void defaultKeyBindings(); }; +extern LyXRC lyxrc; + #endif