]> git.lyx.org Git - lyx.git/blobdiff - src/BufferView.h
Angus insetindex patch + protect patch from Dekel
[lyx.git] / src / BufferView.h
index a55ce7f567dbc757e48349d2f17715c7771867e6..dd923183f0c4c80cf9ce2c62a417b76715d3b751 100644 (file)
@@ -18,6 +18,7 @@
 
 #include FORMS_H_LOCATION
 #include "undo.h"
+#include "support/utility.hpp"
 
 class LyXView;
 class LyXText;
@@ -27,7 +28,7 @@ class LyXScreen;
 class WorkArea;
 
 ///
-class BufferView {
+class BufferView : public noncopyable {
 public:
        ///
        enum UpdateCodes {
@@ -153,14 +154,18 @@ public:
        void menuUndo();
        ///
        void menuRedo();
+#ifndef NEW_INSETS
        ///
        void toggleFloat();
        ///
        void openStuff();
+#endif
        ///
        void insertNote();
+#ifndef NEW_INSETS
        ///
        void allFloats(char flag, char figmar);
+#endif
        /// removes all autodeletable insets
        bool removeAutoInsets();
        ///