]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/controllers/ControlCharacter.h
Add a buffer_path arg to InsetGraphicsMailer's params2string, string2params.
[lyx.git] / src / frontends / controllers / ControlCharacter.h
index 454ff33680e06a1d39e7cb6e470863eea6548de7..598d2e1e06e3a6a75f63ea79ede69df67108fc29 100644 (file)
 #define CONTROLCHARACTER_H
 
 
-#include "ControlDialog_impl.h"
+#include "Dialog.h"
 #include "character.h"
 
-#include <boost/scoped_ptr.hpp>
 
-/** A controller for Character dialogs.
- */
-class ControlCharacter : public ControlDialogBD {
+class ControlCharacter : public Dialog::Controller {
 public:
        ///
-       ControlCharacter(LyXView &, Dialogs &);
+       ControlCharacter(Dialog &);
+       ///
+       virtual bool initialiseParams(string const & data);
+       ///
+       virtual void clearParams();
+       ///
+       virtual void dispatchParams();
+       ///
+       virtual bool isBufferDependent() const { return true; }
 
        ///
        void setFamily(LyXFont::FONT_FAMILY);
@@ -58,13 +63,7 @@ public:
        string getLanguage() const;
        ///
        bool getToggleAll() const;
-
-       /// Get changed parameters and Dispatch them to the kernel.
-       virtual void apply();
 private:
-       /// set the params before show or update.
-       virtual void setParams();
-
        ///
        boost::scoped_ptr<LyXFont> font_;
        ///