Add unique_ptr interface to legacy EventInfo
As the old EventInfo
is still used in part of the core software such as the event loop, extend its interface to support unique_pointer
, making it explicit that they own the memory passed to them at construction. and change the internal to simplify the implementation. Keep the old raw pointers interface for compatibility.
Edited by Julien Esseiva