]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/controllers/ButtonControllerBase.h
John's character.C patch (bug fix).
[lyx.git] / src / frontends / controllers / ButtonControllerBase.h
index d82098ab2da5d396a6e78c63d54075771563fd7a..5d4b876413e556a43fc21852ab8e4e1e462b2a3e 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 /* This file is part of
  * ====================================================== 
  *
@@ -31,7 +32,7 @@
  * This abstract base class stripped of xforms-specific code by
  * Angus Leeming <a.leeming@ic.ac.uk>
  */
-class ButtonControllerBase : public boost::noncopyable
+class ButtonControllerBase : boost::noncopyable
 {
 public:
        /** Constructor.
@@ -61,6 +62,8 @@ public:
        void hide();
        ///
        virtual void refresh() = 0;
+       ///
+       virtual void refreshReadOnly() = 0;
 
        /// Passthrough function -- returns its input value
        bool readOnly(bool = true);