]> git.lyx.org Git - lyx.git/blobdiff - src/BufferView.h
pimpl not needed here
[lyx.git] / src / BufferView.h
index b92e908368a9e542ca16cf5c44d07b13e10a7d35..11efee42987ed6c784e400b1d845fcdf60c51cde 100644 (file)
@@ -18,7 +18,7 @@
 #include "Dimension.h"
 #include "update_flags.h"
 
-#include "support/docstring.h"
+#include "support/strfwd.h"
 #include "support/types.h"
 
 #include <boost/noncopyable.hpp>
@@ -190,7 +190,7 @@ public:
        bool checkDepm(Cursor & cur, Cursor & old);
        /// sets cursor.
        /// This is used when handling LFUN_MOUSE_PRESS.
-       bool mouseSetCursor(Cursor & cur);
+       bool mouseSetCursor(Cursor & cur, bool select = false);
 
        /// sets the selection.
        /* When \c backwards == false, set anchor
@@ -290,8 +290,8 @@ private:
 
        void updateOffsetRef();
 
-       struct BufferViewPrivate;
-       BufferViewPrivate & d;
+       struct Private;
+       Private * const d;
 };
 
 /// some space for drawing the 'nested' markers (in pixel)