19 #ifndef GNASH_PLUGIN_EXTERNAL_H 20 #define GNASH_PLUGIN_EXTERNAL_H 32 #include "npruntime.h" 45 std::vector<GnashNPVariant>
args;
49 static std::string
makeInvoke (
const std::string &method, std::vector<std::string> args);
54 static std::string
makeString (
const std::string &str);
55 static std::string
makeProperty (
const std::string &str,
const std::string &
data);
56 static std::string
makeProperty (
const std::string &str,
double num);
57 static std::string
makeProperty (
const std::string &str,
int num);
60 static std::string
makeNumber (
unsigned int num);
61 static std::string
makeArray (std::vector<std::string> &args);
62 static std::string
makeObject (std::map<std::string, std::string> &args);
75 #endif // GNASH_PLUGIN_EXTERNAL_H std::vector< GnashNPVariant > args
Definition: external.h:45
static std::string makeNull()
Definition: external.cpp:66
static std::vector< GnashNPVariant > parseArguments(GnashPluginScriptObject *scriptobj, const std::string &xml)
Definition: external.cpp:430
std::string type
Definition: external.h:44
static std::string makeString(const std::string &str)
Definition: external.cpp:96
SimpleBuffer data
Definition: LocalConnection_as.cpp:151
Anonymous namespace for callbacks, local functions, event handlers etc.
Definition: dbus_ext.cpp:40
static std::string makeNumber(double num)
Definition: external.cpp:133
Definition: pluginScriptObject.h:57
static std::string makeInvoke(const std::string &method, std::vector< std::string > args)
Definition: external.cpp:43
static std::string makeArray(std::vector< std::string > &args)
Definition: external.cpp:163
static std::string makeProperty(const std::string &str, const std::string &data)
Definition: external.cpp:123
Definition: external.h:40
static std::map< std::string, GnashNPVariant > parseProperties(GnashPluginScriptObject *scriptobj, const std::string &xml)
Definition: external.cpp:402
std::string name
Definition: external.h:43
static std::string makeTrue()
Definition: external.cpp:76
static std::string makeFalse()
Definition: external.cpp:86
static std::shared_ptr< invoke_t > parseInvoke(GnashPluginScriptObject *scriptobj, const std::string &xml)
Definition: external.cpp:203
static std::string convertNPVariant(const NPVariant *npv)
Definition: external.cpp:369
Definition: external.h:42
static GnashNPVariant parseXML(GnashPluginScriptObject *scriptobj, const std::string &xml)
Definition: external.cpp:266
static std::string makeObject(std::map< std::string, std::string > &args)
Definition: external.cpp:181
This class holds ownership of (a copy of) an NPVariant.
Definition: GnashNPVariant.h:115