public:
virtual ~Selection() {}
+ /**
+ * Returns true if the underlying system supports mouse selection
+ * (basically X11 and Wayland).
+ */
+ virtual bool supported() const = 0;
/**
* Tell the window system whether we set or cleared our selection.
* This is a noop on systems that don't have a selection.