]> git.lyx.org Git - lyx.git/blobdiff - src/BufferView.h
fix "make dist" target
[lyx.git] / src / BufferView.h
index 611e0b546cefb9ed77adcd2054c51d21119da6bb..2215b08f7aee37df0ebd53dde13580eaafaefe41 100644 (file)
@@ -16,7 +16,7 @@
 #pragma interface
 #endif
 
-#include FORMS_H_LOCATION
+#include "LString.h"
 #include "undo.h"
 #include "commandtags.h"
 #include <boost/utility.hpp>
@@ -30,7 +30,7 @@ class WorkArea;
 class Language;
 
 ///
-class BufferView : public noncopyable {
+class BufferView : boost::noncopyable {
 public:
        ///
        enum UpdateCodes {
@@ -55,8 +55,6 @@ public:
        ///
        LyXScreen * screen() const;
        ///
-       WorkArea * workarea() const;
-       ///
        void buffer(Buffer * b);
        ///
        void resize(int, int, int, int);
@@ -170,18 +168,6 @@ 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();
        ///
@@ -194,8 +180,6 @@ public:
        */
        bool insertInset(Inset * inset, string const & lout = string(),
                         bool no_table = false);
-       /// open and lock an updatable inset
-       bool open_new_inset(UpdatableInset * new_inset, bool behind = false);
        /** Inserts a lyx file at cursor position.
            @return #false# if it fails.
        */
@@ -247,6 +231,8 @@ public:
        ///
        bool ChangeCitationsIfUnique(string const & from, string const & to);
        ///
+       string const getClipboard() const;
+       ///
        void pasteClipboard(bool asPara);
        ///
        void stuffClipboard(string const &) const;