20 #ifndef MPD_UPNP_CALLBACK_HXX
21 #define MPD_UPNP_CALLBACK_HXX
23 #include <upnp/upnp.h>
43 virtual int Invoke(Upnp_EventType et,
void *evp) = 0;
A class that is supposed to be used for libupnp asynchronous callbacks.
static UpnpCallback & FromUpnpCookie(void *cookie)
void * GetUpnpCookie()
Pass this value as "cookie" pointer to libupnp asynchronous functions.
virtual int Invoke(Upnp_EventType et, void *evp)=0