#pragma once #include "event2/event_struct.h" namespace Envoy { namespace Event { /** * Base class for libevent event implementations. The event struct is embedded inside of this class * and derived classes are expected to assign it inside of the constructor. */ class ImplBase { protected: ~ImplBase(); event raw_event_; }; } // namespace Event } // namespace Envoy