winft / wrapland

Qt/C++ library wrapping libwayland
GNU Lesser General Public License v2.1
6 stars 2 forks source link

Make datasource Abstact #68

Closed romangg closed 5 months ago

romangg commented 4 years ago

In GitLab by @erreur404 on May 31, 2020, 17:39

Actually we have 2 data source (data source and primary selection, and all of her implementation with a lot of duplicated code.

with the instruction of wlr-data-control-unstable-v1.xml

we will need 3 data source implementation,

it can be good to create an abstact datasource for handle the code duplicate and make all easy to read, use and add news protocol.

see : https://invent.kde.org/plasma/kwayland-server/-/merge_requests/4/diffs?commit_id=e08b201b4f6de09398271379b158fc671e7b2880