Header files should be self-contained and should not have
to adhere to special conditions or include order to include the header.
Also add a header guard
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
The libupnp .pc file uses -I${includedir}/upnp which means that the
way the headers were included would not result in them actually being
found in all cases due to the extraneous "upnp".
Move out UpnpInstanceWrapper into its own file
since it no longer has any dependencies on existing
modules and allow other modules to get references to it.
Move as well as the various helper functions that are
directly required by the UpnpInstanceWrapper class
and inline them for a small performance gain.
Signed-off-by: Hugo Beauzée-Luyssen <hugo@beauzee.fr>