* Full author contact details are available in file CREDITS.
*/
-#ifndef BASE_SELECTION_H
-#define BASE_SELECTION_H
+#ifndef SELECTION_H
+#define SELECTION_H
-#include "support/docstring.h"
+#include "support/strfwd.h"
namespace lyx {
namespace frontend {
* Fill the X selection.
* The format is plain text.
* Does nothing on systems that don't have a selection.
- * Since the X selection protocol is asyncronous this should never be
+ * Since the X selection protocol is asynchronous this should never be
* called from the kernel.
* If another application requests the current selection a
* SelectionRequest XEvent will be triggered. The response of the
virtual void put(docstring const &) = 0;
/**
* Is the X selection empty?
- * This reports only the state of the internal selection on systems
- * that don't have a real selection.
+ * This does always return true on systems that don't have a real
+ * selection.
*/
virtual bool empty() const = 0;
};
} // namespace frontend
-/// Implementation is in Application.C
+/// Implementation is in Application.cpp
extern frontend::Selection & theSelection();
} // namespace lyx
-#endif // BASE_SELECTION_H
+#endif // SELECTION_H