diff options
Diffstat (limited to 'plugin/icedteanp/IcedTeaPluginUtils.h')
-rw-r--r-- | plugin/icedteanp/IcedTeaPluginUtils.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/plugin/icedteanp/IcedTeaPluginUtils.h b/plugin/icedteanp/IcedTeaPluginUtils.h index 634b675..29cc3ae 100644 --- a/plugin/icedteanp/IcedTeaPluginUtils.h +++ b/plugin/icedteanp/IcedTeaPluginUtils.h @@ -211,6 +211,9 @@ class IcedTeaPluginUtilities /* This must be freed with browserfunctions.releasevariantvalue */ static NPVariant NPVariantStringCopy(const std::string& result); + /* Returns an std::string represented by the given identifier. */ + static std::string NPIdentifierAsString(NPIdentifier id); + /* Frees the given vector and the strings that its contents point to */ static void freeStringPtrVector(std::vector<std::string*>* v); |