[C++] Event-oriented API to make a unique interface for window management on all platforms (Windows, Xorg...)