Closed romangg closed 8 months ago
In GitLab by @erreur404 on May 8, 2020, 13:20
hello, I want to try to refactor this class and I have one question about the implementation.
the current implementation has one global and multiple version herit from this one,
TextInputManager (Global) <----TextInputManagerV0
TextInputManager::Private <----TextInputManagerV0::Private
For TextInput, it's not a problem because we do not have any version in the constructor.
but now for global, we declare the version directly in heritage. what is the good thing to do to implement multiple versions?
I would say only use the V2 one. Replace the wrapper class with that for now. Then you have a simple TextInputManagerV2 : QObject
and TextInputManagerV2::Private : Wayland::Global
structure as in all the other remodeled classes.
Closed by 43a01b488ec25a75884dbf74ea5ca563c43e45cc.
closed
mentioned in commit 9214ac1deaff61018f6a1588ca71eb858ebdcfdd
This protocol is connected with Seat, but should be rather straight-forward to remodel. There are also the Pointer and Keyboard classes that can act as an example in regard to how they are connected with Seat.