--- a/libupnpp/soaphelp.hxx
+++ b/libupnpp/soaphelp.hxx
@@ -24,9 +24,15 @@
#include <upnp/ixml.h>
/** Store returned values after decoding the arguments in a SOAP Call */
-struct SoapArgs {
+class SoapArgs {
+public:
std::string name;
std::map<std::string, std::string> args;
+
+ // Utility methods
+ bool getBool(const char *nm, bool *value) const;
+ bool getInt(const char *nm, int *value) const;
+ bool getString(const char *nm, std::string *value) const;
};
/** Decode the XML in a Soap call and return the arguments in a SoapArgs