Switch to unified view

a/libupnpp/soaphelp.hxx b/libupnpp/soaphelp.hxx
...
...
22
#include <map>
22
#include <map>
23
23
24
#include <upnp/ixml.h>
24
#include <upnp/ixml.h>
25
25
26
/** Store returned values after decoding the arguments in a SOAP Call */
26
/** Store returned values after decoding the arguments in a SOAP Call */
27
struct SoapArgs {
27
class SoapArgs {
28
public:
28
    std::string name;
29
    std::string name;
29
    std::map<std::string, std::string> args;
30
    std::map<std::string, std::string> args;
31
32
    // Utility methods
33
    bool getBool(const char *nm, bool *value) const;
34
    bool getInt(const char *nm, int *value) const;
35
    bool getString(const char *nm, std::string *value) const;
30
};
36
};
31
37
32
/** Decode the XML in a Soap call and return the arguments in a SoapArgs 
38
/** Decode the XML in a Soap call and return the arguments in a SoapArgs 
33
 * structure.
39
 * structure.
34
 *
40
 *