Gnash
0.8.10
|
#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 gnash::GotoFrame(), gnash::LoadMovie(), gnash::Pan(), gnash::SetZoomRect(), gnash::Zoom(), gnash::remoteCallback(), gnash::GnashPluginScriptObject::SetVariable(), and main().
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] |
Referenced by gnash::GotoFrame(), gnash::IsPlaying(), gnash::LoadMovie(), gnash::Pan(), gnash::PercentLoaded(), gnash::Play(), gnash::Rewind(), gnash::SetZoomRect(), gnash::StopPlay(), gnash::Zoom(), gnash::TotalFrames(), gnash::remoteCallback(), gnash::GnashPluginScriptObject::SetVariable(), gnash::GnashPluginScriptObject::GetVariable(), and main().
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, |
const std::string & | data | ||
) | [static] |
Referenced by makeProperty(), and main().
std::string gnash::plugin::ExternalInterface::makeProperty | ( | const std::string & | str, |
double | num | ||
) | [static] |
References makeProperty().
std::string gnash::plugin::ExternalInterface::makeProperty | ( | const std::string & | str, |
int | 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 start, gnash::image::end(), data, and parseXML().
Referenced by parseInvoke(), and main().
boost::shared_ptr< ExternalInterface::invoke_t > gnash::plugin::ExternalInterface::parseInvoke | ( | const std::string & | xml | ) | [static] |
References gnash::invoke(), start, gnash::image::end(), and parseArguments().
Referenced by main().
std::map< std::string, GnashNPVariant > gnash::plugin::ExternalInterface::parseProperties | ( | const std::string & | xml | ) | [static] |
References start, gnash::image::end(), data, and parseXML().
Referenced by parseXML(), and main().
GnashNPVariant gnash::plugin::ExternalInterface::parseXML | ( | const std::string & | xml | ) | [static] |
References start, gnash::image::end(), length, data, NPN_MemAlloc(), parseProperties(), NPN_GetStringIdentifier(), NPN_SetProperty(), and NPN_ReleaseVariantValue().
Referenced by gnash::IsPlaying(), gnash::PercentLoaded(), gnash::TotalFrames(), gnash::remoteCallback(), parseProperties(), parseArguments(), gnash::GnashPluginScriptObject::GetVariable(), and main().