#include "DocumentClassPtr.h"
-#include "support/docstring.h"
+#include "support/strfwd.h"
+
+#include "insets/Inset.h"
#include "frontends/Clipboard.h"
namespace lyx {
-class DocumentClass;
class ErrorList;
class InsetText;
class Cursor;
+class CursorData;
+class CursorSlice;
class ParagraphList;
namespace cap {
* system clipboard. Set this to false to only delete the
* selection.
*/
-void cutSelection(Cursor & cur, bool doclear = true, bool realcut = true);
+void cutSelection(Cursor & cur, bool realcut = true);
/// Like cutSelection, but only put to temporary cut buffer
-void cutSelectionToTemp(Cursor & cur, bool doclear = true, bool realcut = true);
+void cutSelectionToTemp(Cursor & cur, bool realcut = true);
/// Push the current selection to the cut buffer and the system clipboard.
void copySelection(Cursor const & cur);
/// Like copySelection, but only put to temporary cut buffer
-void copySelectionToTemp(Cursor & cur);
+void copySelectionToTemp(Cursor const & cur);
///
void copyInset(Cursor const & cur, Inset * inset, docstring const & plaintext);
/**