#include <external.h>
Classes | |
struct | invoke_t |
Static Public Member Functions | |
static std::string | makeInvoke (const std::string &method, std::vector< std::string > args) |
static std::string | makeNull () |
static std::string | makeTrue () |
static std::string | makeFalse () |
static std::string | makeString (const std::string &str) |
static std::string | makeProperty (const std::string &str, const std::string &data) |
static std::string | makeProperty (const std::string &str, double num) |
static std::string | makeProperty (const std::string &str, int num) |
static std::string | makeNumber (double num) |
static std::string | makeNumber (int num) |
static std::string | makeNumber (unsigned int num) |
static std::string | makeArray (std::vector< std::string > &args) |
static std::string | makeObject (std::map< std::string, std::string > &args) |
static GnashNPVariant | parseXML (const std::string &xml) |
static boost::shared_ptr < invoke_t > | parseInvoke (const std::string &xml) |
static std::map< std::string, GnashNPVariant > | parseProperties (const std::string &xml) |
static std::vector < GnashNPVariant > | parseArguments (const std::string &xml) |
static std::string | convertNPVariant (const NPVariant *npv) |
std::string gnash::plugin::ExternalInterface::convertNPVariant | ( | const NPVariant * | npv | ) | [static] |
References gnash::NPStringToString().
Referenced by main(), and gnash::GnashPluginScriptObject::SetVariable().
std::string gnash::plugin::ExternalInterface::makeArray | ( | std::vector< std::string > & | args | ) | [static] |
Referenced by main().
std::string gnash::plugin::ExternalInterface::makeFalse | ( | ) | [static] |
std::string gnash::plugin::ExternalInterface::makeInvoke | ( | const std::string & | method, | |
std::vector< std::string > | args | |||
) | [static] |
std::string gnash::plugin::ExternalInterface::makeNull | ( | ) | [static] |
std::string gnash::plugin::ExternalInterface::makeNumber | ( | double | num | ) | [static] |
Referenced by main().
std::string gnash::plugin::ExternalInterface::makeNumber | ( | int | num | ) | [static] |
std::string gnash::plugin::ExternalInterface::makeNumber | ( | unsigned int | num | ) | [static] |
std::string gnash::plugin::ExternalInterface::makeObject | ( | std::map< std::string, std::string > & | args | ) | [static] |
Referenced by main().
std::string gnash::plugin::ExternalInterface::makeProperty | ( | const std::string & | str, | |
int | num | |||
) | [static] |
References makeProperty().
std::string gnash::plugin::ExternalInterface::makeProperty | ( | const std::string & | str, | |
const std::string & | data | |||
) | [static] |
Referenced by main(), and makeProperty().
std::string gnash::plugin::ExternalInterface::makeProperty | ( | const std::string & | str, | |
double | num | |||
) | [static] |
References makeProperty().
std::string gnash::plugin::ExternalInterface::makeString | ( | const std::string & | str | ) | [static] |
std::string gnash::plugin::ExternalInterface::makeTrue | ( | ) | [static] |
std::vector< GnashNPVariant > gnash::plugin::ExternalInterface::parseArguments | ( | const std::string & | xml | ) | [static] |
References data, name, parseXML(), and start.
Referenced by main(), and parseInvoke().
boost::shared_ptr< ExternalInterface::invoke_t > gnash::plugin::ExternalInterface::parseInvoke | ( | const std::string & | xml | ) | [static] |
References parseArguments(), and start.
Referenced by main().
std::map< std::string, GnashNPVariant > gnash::plugin::ExternalInterface::parseProperties | ( | const std::string & | xml | ) | [static] |
References data, parseXML(), and start.
Referenced by main(), and parseXML().
GnashNPVariant gnash::plugin::ExternalInterface::parseXML | ( | const std::string & | xml | ) | [static] |
References data, length, NPN_GetStringIdentifier(), NPN_MemAlloc(), NPN_ReleaseVariantValue(), NPN_SetProperty(), parseProperties(), and start.
Referenced by gnash::GnashPluginScriptObject::GetVariable(), main(), parseArguments(), and parseProperties().