Copy construction of `MapAppAPIWrapper`
When copying a MapAppAPIWrapper
, we work on the same instance of MapApp
since we copy the pointer.
Instead a new MapApp should be created using the copy constructor, which we have to expose in pi2-view.h
.
Copy assignment and move construction and assignment should be implemented in a consistent manner.
At the same time we should rename MapAppAPIWrapper
to MapAppWrapper
since we do not wrap the API itself but the MapApp
struct of the API.
Also documentation of the wrapper is missing it should be coherent with the documentation of pi2-view.h
.