forward declare HeadlessDisplay in headless_view.hpp