Gnash  0.8.11dev
Classes | Static Public Member Functions | List of all members
gnash::plugin::ExternalInterface Struct Reference

#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 (GnashPluginScriptObject *scriptobj, const std::string &xml)
 
static std::shared_ptr< invoke_tparseInvoke (GnashPluginScriptObject *scriptobj, const std::string &xml)
 
static std::map< std::string, GnashNPVariantparseProperties (GnashPluginScriptObject *scriptobj, const std::string &xml)
 
static std::vector< GnashNPVariantparseArguments (GnashPluginScriptObject *scriptobj, const std::string &xml)
 
static std::string convertNPVariant (const NPVariant *npv)
 

Member Function Documentation

§ convertNPVariant()

std::string gnash::plugin::ExternalInterface::convertNPVariant ( const NPVariant *  npv)
static

§ makeArray()

std::string gnash::plugin::ExternalInterface::makeArray ( std::vector< std::string > &  args)
static

Referenced by main().

§ makeFalse()

std::string gnash::plugin::ExternalInterface::makeFalse ( )
static

§ makeInvoke()

std::string gnash::plugin::ExternalInterface::makeInvoke ( const std::string &  method,
std::vector< std::string >  args 
)
static

§ makeNull()

std::string gnash::plugin::ExternalInterface::makeNull ( )
static

§ makeNumber() [1/3]

std::string gnash::plugin::ExternalInterface::makeNumber ( double  num)
static

Referenced by main().

§ makeNumber() [2/3]

std::string gnash::plugin::ExternalInterface::makeNumber ( int  num)
static

§ makeNumber() [3/3]

std::string gnash::plugin::ExternalInterface::makeNumber ( unsigned int  num)
static

§ makeObject()

std::string gnash::plugin::ExternalInterface::makeObject ( std::map< std::string, std::string > &  args)
static

Referenced by main().

§ makeProperty() [1/3]

std::string gnash::plugin::ExternalInterface::makeProperty ( const std::string &  str,
const std::string &  data 
)
static

Referenced by main(), and makeProperty().

§ makeProperty() [2/3]

std::string gnash::plugin::ExternalInterface::makeProperty ( const std::string &  str,
double  num 
)
static

References makeProperty().

§ makeProperty() [3/3]

std::string gnash::plugin::ExternalInterface::makeProperty ( const std::string &  str,
int  num 
)
static

References makeProperty().

§ makeString()

std::string gnash::plugin::ExternalInterface::makeString ( const std::string &  str)
static

§ makeTrue()

std::string gnash::plugin::ExternalInterface::makeTrue ( )
static

§ parseArguments()

std::vector< GnashNPVariant > gnash::plugin::ExternalInterface::parseArguments ( GnashPluginScriptObject scriptobj,
const std::string &  xml 
)
static

References data, gnash::image::end(), name, parseXML(), and start.

Referenced by main(), and parseInvoke().

§ parseInvoke()

std::shared_ptr< ExternalInterface::invoke_t > gnash::plugin::ExternalInterface::parseInvoke ( GnashPluginScriptObject scriptobj,
const std::string &  xml 
)
static

§ parseProperties()

std::map< std::string, GnashNPVariant > gnash::plugin::ExternalInterface::parseProperties ( GnashPluginScriptObject scriptobj,
const std::string &  xml 
)
static

References data, gnash::image::end(), parseXML(), and start.

Referenced by main(), and parseXML().

§ parseXML()

GnashNPVariant gnash::plugin::ExternalInterface::parseXML ( GnashPluginScriptObject scriptobj,
const std::string &  xml 
)
static

The documentation for this struct was generated from the following files: