Gnash  0.8.11dev
XMLSocket_as.h
Go to the documentation of this file.
1 // XMLSocket_as.h: ActionScript 3 "XMLSocket" class, for Gnash.
2 //
3 // Copyright (C) 2009, 2010, 2011, 2012 Free Software Foundation, Inc.
4 //
5 // This program is free software; you can redistribute it and/or modify
6 // it under the terms of the GNU General Public License as published by
7 // the Free Software Foundation; either version 3 of the License, or
8 // (at your option) any later version.
9 //
10 // This program is distributed in the hope that it will be useful,
11 // but WITHOUT ANY WARRANTY; without even the implied warranty of
12 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 // GNU General Public License for more details.
14 //
15 // You should have received a copy of the GNU General Public License
16 // along with this program; if not, write to the Free Software
17 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
18 //
19 
20 #ifndef GNASH_ASOBJ3_XMLSOCKET_H
21 #define GNASH_ASOBJ3_XMLSOCKET_H
22 
23 namespace gnash {
24 
25 // Forward declarations
26 class as_object;
27 struct ObjectURI;
28 
30 void xmlsocket_class_init(as_object& where, const ObjectURI& uri);
31 
32 void registerXMLSocketNative(as_object& global);
33 
34 } // gnash namespace
35 
36 // GNASH_ASOBJ3_XMLSOCKET_H
37 #endif
38 
39 // local Variables:
40 // mode: C++
41 // indent-tabs-mode: t
42 // End:
43 
gnash::movie_root::removeAdvanceCallback
void removeAdvanceCallback(ActiveRelay *obj)
Definition: movie_root.cpp:1464
gnash::toNumber
double toNumber(const as_value &v, const VM &vm)
Convert an as_value to a double.
Definition: VM.cpp:451
movie_root.h
gnash::as_object
The base class for all ActionScript objects.
Definition: as_object.h:162
gnash::NSV::PROP_ON_XML
@ PROP_ON_XML
Definition: namedStrings.h:182
gnash::NSV::PROP_ON_CLOSE
@ PROP_ON_CLOSE
Definition: namedStrings.h:147
gnash::log_debug
void log_debug(StringType msg, Args... args)
Definition: log.h:301
gnash::key::i
@ i
Definition: GnashKey.h:155
_
#define _(String)
Definition: log.h:44
gnash::VM
The AVM1 virtual machine.
Definition: VM.h:72
gnash::registerXMLSocketNative
void registerXMLSocketNative(as_object &global)
Definition: XMLSocket_as.cpp:285
gnash
Anonymous namespace for callbacks, local functions, event handlers etc.
Definition: dbus_ext.cpp:41
utility.h
NativeFunction.h
Global_as.h
gnash::getGlobal
Global_as & getGlobal(const as_environment &env)
Definition: as_environment.cpp:651
gnash::getVM
VM & getVM(const as_environment &env)
Definition: as_environment.h:222
as_function.h
gnash::log_error
void log_error(StringType msg, Args... args)
Definition: log.h:283
gnash::getMember
as_value getMember(as_object &o, const ObjectURI &uri)
Get a member of an object using AS lookup rules.
Definition: as_object.h:756
gnash::URLAccessManager::allowXMLSocket
bool allowXMLSocket(const std::string &host, short port)
Definition: URLAccessManager.cpp:262
gnash::callMethod
as_value callMethod(fn_call::Args &args, as_object *obj, const ObjectURI &uri)
Call a member function of this object in an AS-compatible way.
Definition: Global_as.h:219
gnash::fn_call::Args
FunctionArgs< as_value > Args
Definition: fn_call.h:121
Socket.h
gnash::as_value::to_function
as_function * to_function() const
Return the value as a function only if it is a function.
Definition: as_value.cpp:499
IF_VERBOSE_ASCODING_ERRORS
#define IF_VERBOSE_ASCODING_ERRORS(x)
Definition: log.h:397
gnash::constructInstance
as_object * constructInstance(as_function &ctor, const as_environment &env, fn_call::Args &args)
Definition: as_function.cpp:47
gnash::VM::registerNative
void registerNative(as_c_function_ptr fun, unsigned int x, unsigned int y)
Definition: VM.cpp:268
gnash::NSV::PROP_ON_CONNECT
@ PROP_ON_CONNECT
Definition: namedStrings.h:148
gnash::xmlsocket_class_init
void xmlsocket_class_init(as_object &where, const ObjectURI &uri)
Initialize the global XMLSocket class.
Definition: XMLSocket_as.cpp:278
URLAccessManager.h
gnash::NSV::CLASS_XML
@ CLASS_XML
Definition: namedStrings.h:257
VM.h
gnash::log_aserror
void log_aserror(StringType msg, Args... args)
Definition: log.h:331
log.h
XMLSocket_as.h
gnash::getRoot
movie_root & getRoot(const as_environment &env)
Definition: as_environment.cpp:645
fn_call.h
gnash::NSV::PROP_ON_DATA
@ PROP_ON_DATA
Definition: namedStrings.h:150
namedStrings.h
gnash::registerBuiltinClass
as_object * registerBuiltinClass(as_object &where, Global_as::ASFunction ctor, Global_as::Properties p, Global_as::Properties c, const ObjectURI &uri)
Register a built-in class.
Definition: Global_as.h:144
test.uri
uri
Definition: test.py:12
GnashSystemFDHeaders.h
gnash::key::o
@ o
Definition: GnashKey.h:161
gnash::ObjectURI
A URI for describing as_objects.
Definition: ObjectURI.h:45
gnash::key::e
@ e
Definition: GnashKey.h:151
gnash::movie_root::addAdvanceCallback
void addAdvanceCallback(ActiveRelay *obj)
Definition: movie_root.cpp:1458