// -*- C++ -*-
/**
* \file ControlCharacter.h
- * Copyright 2001 The LyX Team.
- * See the file COPYING.
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
*
- * \author Angus Leeming, a.leeming@.ac.uk
+ * \author Angus Leeming
+ *
+ * Full author contact details are available in file CREDITS
*/
#ifndef CONTROLCHARACTER_H
#define CONTROLCHARACTER_H
-#ifdef __GNUG__
-#pragma interface
-#endif
-#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);
string getLanguage() const;
///
bool getToggleAll() const;
-
private:
- /// Get changed parameters and Dispatch them to the kernel.
- virtual void apply();
- /// set the params before show or update.
- virtual void setParams();
-
///
boost::scoped_ptr<LyXFont> font_;
///