Gnash  0.8.11dev
LocalConnection_as.h
Go to the documentation of this file.
1 //
2 // Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012
3 // 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 #ifndef GNASH_ASOBJ_LOCALCONNECTION_H
20 #define GNASH_ASOBJ_LOCALCONNECTION_H
21 
22 namespace gnash {
23 
24 class as_object;
25 struct ObjectURI;
26 
27 void registerLocalConnectionNative(as_object& global);
28 
29 void localconnection_class_init(as_object& where, const ObjectURI& uri);
30 
31 } // end of gnash namespace
32 
33 #endif
34 
35 // local Variables:
36 // mode: C++
37 // indent-tabs-mode: nil
38 // End:
movie_root.h
name
std::string name
Definition: LocalConnection_as.cpp:149
gnash::toInt
std::int32_t toInt(const as_value &v, const VM &vm)
AS2-compatible conversion to 32bit integer.
Definition: VM.cpp:463
gnash::key::d
@ d
Definition: GnashKey.h:150
gnash::as_object
The base class for all ActionScript objects.
Definition: as_object.h:162
AMFConverter.h
gnash::key::T
@ T
Definition: GnashKey.h:132
gnash::arraySize
size_t arraySize(T(&)[N])
Get the size of an array without passing a pointer by mistake.
Definition: GnashAlgorithm.h:58
gnash::log_debug
void log_debug(StringType msg, Args... args)
Definition: log.h:301
gnash::key::i
@ i
Definition: GnashKey.h:155
gnash::SharedMem::iterator
std::uint8_t * iterator
Definition: SharedMem.h:49
_
#define _(String)
Definition: log.h:44
gnash::ActiveRelay::owner
as_object & owner() const
Return the as_object that this Relay is attached to.
Definition: Relay.h:108
gnash::VM
The AVM1 virtual machine.
Definition: VM.h:72
gnash
Anonymous namespace for callbacks, local functions, event handlers etc.
Definition: dbus_ext.cpp:41
gnash::attached
bool attached(const SharedMem &mem)
Check if the SharedMem has been attached.
Definition: SharedMem.h:137
gnash::key::m
@ m
Definition: GnashKey.h:159
gnash::key::s
@ s
Definition: GnashKey.h:165
as_value.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
ts
std::uint32_t ts
Definition: LocalConnection_as.cpp:150
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
ClockTime.h
gnash::key::a
@ a
Definition: GnashKey.h:147
gnash::getRunResources
const RunResources & getRunResources(const as_object &o)
Get the RunResources from an as_object.
Definition: as_object.cpp:1142
gnash::writeLong
void writeLong(std::uint8_t *&ptr, std::uint32_t i)
Definition: LocalConnection_as.cpp:157
StringPredicates.h
gnash::invoke
DSOEXPORT as_value invoke(const as_value &method, const as_environment &env, as_object *this_ptr, fn_call::Args &args, as_object *super=nullptr, const movie_definition *callerDef=nullptr)
Call an as_value on an as_object.
Definition: Global_as.h:166
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
GnashAlgorithm.h
IF_VERBOSE_ASCODING_ERRORS
#define IF_VERBOSE_ASCODING_ERRORS(x)
Definition: log.h:397
gnash::VM::registerNative
void registerNative(as_c_function_ptr fun, unsigned int x, unsigned int y)
Definition: VM.cpp:268
URL.h
test.w
w
Definition: test.py:8
GnashSystemIOHeaders.h
gnash::key::_1
@ _1
Definition: GnashKey.h:95
VM.h
gnash::log_aserror
void log_aserror(StringType msg, Args... args)
Definition: log.h:331
log.h
gnash::getRoot
movie_root & getRoot(const as_environment &env)
Definition: as_environment.cpp:645
fn_call.h
url
std::string url
Definition: gnash.cpp:59
gnash::key::f
@ f
Definition: GnashKey.h:152
gnash::image::end
pixel_iterator< T > end(GnashImage &im)
Definition: ImageIterators.h:198
gnash::RcInitFile::getDefaultInstance
static RcInitFile & getDefaultInstance()
Return the default instance of RC file.
Definition: rc.cpp:61
namedStrings.h
gnash::getSWFVersion
int getSWFVersion(const as_environment &env)
Definition: as_environment.cpp:657
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
RunResources.h
test.uri
uri
Definition: test.py:12
gnash::log_security
void log_security(StringType msg, Args... args)
Definition: log.h:319
gnash::getURI
ObjectURI getURI(const VM &vm, const std::string &str, bool lowerCaseHint=false)
Definition: VM.h:290
gnash::StreamProvider::baseURL
const URL & baseURL() const
The base URL that should be used to resolve all relative URLs.
Definition: StreamProvider.h:117
gnash::equal
bool equal(string_table &st, string_table::key a, string_table::key b, bool caseless)
Check whether two keys are equivalent.
Definition: string_table.cpp:174
gnash::registerLocalConnectionNative
void registerLocalConnectionNative(as_object &global)
Definition: LocalConnection_as.cpp:489
StreamProvider.h
gnash::key::o
@ o
Definition: GnashKey.h:161
gnash::key::N
@ N
Definition: GnashKey.h:126
gnash::ObjectURI
A URI for describing as_objects.
Definition: ObjectURI.h:45
gnash::readLong
std::uint32_t readLong(const std::uint8_t *buf)
Definition: LocalConnection_as.cpp:170
gnash::key::b
@ b
Definition: GnashKey.h:148
data
SimpleBuffer data
Definition: LocalConnection_as.cpp:151
LocalConnection_as.h
gnash::RcInitFile
Definition: rc.h:44
gnash::RunResources::streamProvider
const StreamProvider & streamProvider() const
Get a StreamProvider instance.
Definition: RunResources.h:76
SharedMem.h
gnash::fromByteString
std::string fromByteString(T(&buf)[N])
Definition: LocalConnection_as.cpp:180
gnash::localconnection_class_init
void localconnection_class_init(as_object &where, const ObjectURI &uri)
Definition: LocalConnection_as.cpp:482