Closed romangg closed 5 months ago
In GitLab by @erreur404 on Apr 29, 2020, 21:45
Hello, @romangg , i want to access to the d_ptr of the surface class, do you have a tip to do that without set d_ptr public ?
Right now declare the accessing class as a friend of Surface. See here.
That's not ideal, but I have yet to think about a better solution, see #35. Maybe when we have another abstraction layer on top for different front-ends (Qt signals, libsigc++,...) we can declare the then internal classes with public interfaces in general.
In GitLab by @erreur404 on Apr 29, 2020, 21:58
MMmmmm oki is see thank you ;)
Closed by 51130fe4715bc4b5317ca9897af4b583c6b898e6.
closed
mentioned in commit 9214ac1deaff61018f6a1588ca71eb858ebdcfdd
It is a contained class, but depends on buffer. Still should be a straight forward affair.