18#ifndef _DEVICE_H_X_INCLUDED_
19#define _DEVICE_H_X_INCLUDED_
27#include "libupnpp/device/service.hxx"
28#include "libupnpp/soaphelp.hxx"
29#include "libupnpp/upnperrcodes.hxx"
30#include "libupnpp/upnppexports.hxx"
81 void setProductVersion(
const char *product,
const char *version);
84 static bool ipv4(std::string *host,
unsigned short *port);
108 virtual bool readLibFile(
const std::string& name, std::string& contents) = 0;
123 bool addVFile(
const std::string& name,
const std::string& contents,
124 const std::string& mime, std::string& path);
132 const std::string& actName, soapfun);
135 const std::string& getDeviceId()
const;
206 const std::vector<std::string>& names,
207 const std::vector<std::string>& values);
225 void forgetService(
const std::string& serviceId);
Store incoming Soap data: device action input parameters, or response to CP.
Definition soaphelp.hxx:36
Store the values to be encoded in outgoing SOAP data: device response or CP args.
Definition soaphelp.hxx:88
Definition devdevice.cxx:122
Definition devdevice.cxx:57
Base Device class.
Definition device.hxx:54
virtual bool readLibFile(const std::string &name, std::string &contents)=0
Librarian utility.
UpnpDevice(UpnpDevice *rootdev, const std::string &deviceId)
Construct an embedded device.
UpnpDevice(const std::string &deviceId)
Construct a device object.
Upnp service base class.
Definition service.hxx:36
Virtual directory handler to satisfy libupnp miniserver GETs.
Definition devdevice.cxx:55