]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/WorkArea.h
Simplify the public interface of Buffer::doExport
[lyx.git] / src / frontends / WorkArea.h
index dd9f1083fdb28e9fabf8d451c2d824bd42ff11d6..8e459ca37524f3aa11240b1947f81ca1d4d00591 100644 (file)
@@ -15,7 +15,6 @@
 #define BASE_WORKAREA_H
 
 #include "frontends/KeyModifier.h"
-#include "frontends/LyXView.h"
 
 namespace lyx {
 
@@ -38,13 +37,11 @@ public:
        virtual ~WorkArea() {}
 
        /// redraw the screen, without using existing pixmap
-       virtual void redraw() = 0;
+       virtual void redraw(bool update_metrics) = 0;
 
        /// close this work area.
        /// Slot for Buffer::closing signal.
        virtual void close() = 0;
-       /// This function is called when the buffer readonly status change.
-       virtual void setReadOnly(bool) = 0;
 
        /// Update window titles of all users.
        virtual void updateWindowTitle() = 0;