upnp: add class UpnpCallback
Each Upnp*Async() call passes a new cookie pointer, and the cookie
passed to UpnpRegisterClient() appears to be ignored. Using this
interface is a more elegant approach than having one single "handler"
function.
Showing
src/lib/upnp/Callback.hxx
0 → 100644
Please
register
or
sign in
to comment