]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/controllers/ControlPrefs.h
Add a buffer_path arg to InsetGraphicsMailer's params2string, string2params.
[lyx.git] / src / frontends / controllers / ControlPrefs.h
index bbdb54d8b456b47ee3085c2d88e99d9dc3a54492..0d321fb959ed86eb127bb8c1508549f3bb5346a0 100644 (file)
@@ -12,9 +12,6 @@
 #ifndef CONTROLPREFS_H
 #define CONTROLPREFS_H
 
-#ifdef __GNUG__
-#pragma interface
-#endif
 
 #include "ControlDialog_impl.h"
 #include "LString.h"
 #include "LColor.h"
 
 #include <utility>
+
 class Converters;
 class Formats;
+
 class ControlPrefs : public ControlDialogBI {
 public:
        ControlPrefs(LyXView &, Dialogs &);
@@ -34,29 +31,32 @@ public:
        // FIXME: we should probably devolve the individual
        // settings to methods here. But for now, this will
        // do
-       LyXRC & rc() { return rc_; } 
+
+       LyXRC & rc() { return rc_; }
 
        LyXRC const & rc() const { return rc_; }
+
        /// various file pickers
        string const browsebind(string const & file);
        string const browseUI(string const & file);
        string const browsekbmap(string const & file);
        string const browsedict(string const & file);
+
        /// general browse
        string const browse(string const & file, string const & title);
 
+       /// browse directory
+       string const browsedir(string const & path, string const & title);
+
        /// redraw widgets (for xforms color change)
        void redrawGUI();
+
        /// set a color
        void setColor(LColor::color col, string const & hex);
+
        /// update the screen fonts after change
        void updateScreenFonts();
+
        /// set global converters
        void setConverters(Converters const & conv);
 
@@ -66,10 +66,10 @@ public:
 private:
        /// get current lyxrc
        virtual void setParams();
+
        /// apply current lyxrc
        virtual void apply();
+
        /// temporary lyxrc
        LyXRC rc_;
 };