Adapter class for DOM events via C++

Signed-off-by: IUnknown68 <arne@salsitasoft.com>