21 #ifndef GNASH_EXTERNALINTERFACE_H 22 #define GNASH_EXTERNALINTERFACE_H 47 std::vector<as_value>
args;
53 return ei._toXML(obj);
56 static as_value parseXML(
const std::string &xml);
57 static std::vector<as_value> parseArguments(
const std::string &xml);
60 static std::unique_ptr<invoke_t> parseInvoke(
const std::string &str);
62 DSOEXPORT static std::unique_ptr<invoke_t> ExternalEventCheck(
int fd);
66 DSOEXPORT static std::string makeInvoke (
const std::string &method,
67 const std::vector<as_value> &args);
70 return "<string>" + str +
"</string>";
73 DSOEXPORT static size_t writeBrowser(
int fd,
const std::string &xml);
74 DSOEXPORT static std::string readBrowser(
int fd);
82 std::set<as_object*> _visited;
Definition: ExternalInterface.h:42
static std::string toXML(const as_value &obj)
Convert an AS object to an XML string.
Definition: ExternalInterface.h:51
Definition: ExternalInterface.h:44
ActionScript value type.
Definition: as_value.h:94
std::string type
Definition: ExternalInterface.h:46
std::string name
Definition: ExternalInterface.h:45
Anonymous namespace for callbacks, local functions, event handlers etc.
Definition: dbus_ext.cpp:40
The base class for all ActionScript objects.
Definition: as_object.h:161
std::vector< as_value > args
Definition: ExternalInterface.h:47
static std::string makeString(const std::string &str)
Definition: ExternalInterface.h:69
#define DSOEXPORT
Definition: dsodefs.h:55
#define DSOLOCAL
Definition: dsodefs.h:56