X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ffrontends%2FSelection.h;h=ac902ffc1eaafcaef57e201ddf59fd9ff5d8ab73;hb=50060053e36b3e9dfe03bc33ed3abac1eacc54b0;hp=53f587ddbe3bb700d90c115853cec3b68bf6c420;hpb=36ada6f2676865110a826924818412b634db93b9;p=lyx.git diff --git a/src/frontends/Selection.h b/src/frontends/Selection.h index 53f587ddbe..ac902ffc1e 100644 --- a/src/frontends/Selection.h +++ b/src/frontends/Selection.h @@ -11,10 +11,10 @@ * 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 { @@ -59,18 +59,18 @@ public: 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