#include FORMS_H_LOCATION
#include "undo.h"
+#include "support/utility.hpp"
class LyXView;
class LyXText;
class WorkArea;
///
-class BufferView {
+class BufferView : public noncopyable {
public:
///
enum UpdateCodes {
///
void updateScrollbar();
///
+ Inset * checkInsetHit(LyXText *, int & x, int & y, unsigned int button);
+ ///
void redoCurrentBuffer();
///
int resizeCurrentBuffer();
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();
///
bool insertInset(Inset * inset, string const & lout = string(),
bool no_table = false);
/// open and lock an updatable inset
- void open_new_inset(UpdatableInset * new_inset);
+ bool open_new_inset(UpdatableInset * new_inset);
/// Inserts a lyx file at cursor position. Returns false if it fails.
bool insertLyXFile(string const & file);
///