Gnash  0.8.11dev
LoadVars_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 
20 #ifndef GNASH_ASOBJ_LOADVARS_H
21 #define GNASH_ASOBJ_LOADVARS_H
22 
23 namespace gnash {
24 
25 class as_object;
26 struct ObjectURI;
27 
29 void loadvars_class_init(as_object& global, const ObjectURI& uri);
30 
31 } // end of gnash namespace
32 
33 #endif
34 
gnash::NSV::PROP_ON_LOAD
@ PROP_ON_LOAD
Definition: namedStrings.h:160
gnash::attachLoadableInterface
void attachLoadableInterface(as_object &o, int flags)
Attach some common AS code for Loadable objects.
Definition: LoadableObject.cpp:55
gnash::as_object
The base class for all ActionScript objects.
Definition: as_object.h:162
as_object.h
gnash
Anonymous namespace for callbacks, local functions, event handlers etc.
Definition: dbus_ext.cpp:41
PropertyList.h
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
as_function.h
gnash::enumerateProperties
SortedPropertyList enumerateProperties(as_object &obj)
Enumerate all non-hidden properties to the passed container.
Definition: as_object.cpp:1069
gnash::SortedPropertyList
std::vector< std::pair< ObjectURI, as_value > > SortedPropertyList
This is used to hold an intermediate copy of an as_object's properties.
Definition: as_object.h:887
gnash::as_object::DefaultFlags
static const int DefaultFlags
The most common flags for built-in properties.
Definition: as_object.h:192
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::as_value::to_string
DSOTEXPORT std::string to_string(int version=7) const
Get a std::string representation for this value.
Definition: as_value.cpp:205
LoadVars_as.h
IF_VERBOSE_ASCODING_ERRORS
#define IF_VERBOSE_ASCODING_ERRORS(x)
Definition: log.h:397
gnash::emptyFunction
as_value emptyFunction(const fn_call &)
Definition: Global_as.h:256
VM.h
log.h
fn_call.h
gnash::PropFlags::onlySWF6Up
@ onlySWF6Up
Only visible by VM initialized for version 6 or higher.
Definition: PropFlags.h:45
gnash::NSV::PROP_LOADED
@ PROP_LOADED
Definition: namedStrings.h:84
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
test.uri
uri
Definition: test.py:12
gnash::getStringTable
string_table & getStringTable(const as_environment &env)
Definition: as_environment.cpp:639
gnash::getURI
ObjectURI getURI(const VM &vm, const std::string &str, bool lowerCaseHint=false)
Definition: VM.h:290
gnash::NSV::PROP_ESCAPE
@ PROP_ESCAPE
Definition: namedStrings.h:75
gnash::key::o
@ o
Definition: GnashKey.h:161
gnash::ObjectURI
A URI for describing as_objects.
Definition: ObjectURI.h:45
LoadableObject.h
gnash::loadvars_class_init
void loadvars_class_init(as_object &where, const ObjectURI &uri)
Initialize the global LoadVars class.
Definition: LoadVars_as.cpp:53