Gnash  0.8.11dev
FileReference_as.h
Go to the documentation of this file.
1 // FileReference_as.h: ActionScript "FileReference" class, for Gnash.
2 //
3 // Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012
4 // Free Software Foundation, Inc
5 //
6 // This program is free software; you can redistribute it and/or modify
7 // it under the terms of the GNU General Public License as published by
8 // the Free Software Foundation; either version 3 of the License, or
9 // (at your option) any later version.
10 //
11 // This program is distributed in the hope that it will be useful,
12 // but WITHOUT ANY WARRANTY; without even the implied warranty of
13 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 // GNU General Public License for more details.
15 //
16 // You should have received a copy of the GNU General Public License
17 // along with this program; if not, write to the Free Software
18 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
19 //
20 
21 #ifndef __GNASH_ASOBJ_FILEREFERENCE_H__
22 #define __GNASH_ASOBJ_FILEREFERENCE_H__
23 
24 
25 
26 namespace gnash {
27 
28 class as_object;
29 struct ObjectURI;
30 
32 void filereference_class_init(as_object& where, const ObjectURI& uri);
33 
35 //std::unique_ptr<as_object> init_FileReference_instance();
36 
37 } // end of gnash namespace
38 
39 // __GNASH_ASOBJ_FILEREFERENCE_H__
40 #endif
gnash::filereference_class_init
void filereference_class_init(as_object &where, const ObjectURI &uri)
Initialize the global FileReference class.
Definition: FileReference_as.cpp:59
gnash::as_object
The base class for all ActionScript objects.
Definition: as_object.h:162
as_object.h
LOG_ONCE
#define LOG_ONCE(x)
Definition: log.h:49
_
#define _(String)
Definition: log.h:44
gnash::as_object::init_member
void init_member(const std::string &name, const as_value &val, int flags=DefaultFlags)
Initialize a member value by string.
Definition: as_object.cpp:669
gnash
Anonymous namespace for callbacks, local functions, event handlers etc.
Definition: dbus_ext.cpp:41
NativeFunction.h
Global_as.h
gnash::getGlobal
Global_as & getGlobal(const as_environment &env)
Definition: as_environment.cpp:651
as_function.h
AsBroadcaster.h
gnash::createObject
as_object * createObject(const Global_as &gl)
Definition: Global_as.cpp:303
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::Global_as::createClass
as_object * createClass(Global_as::ASFunction ctor, as_object *prototype)
Create an ActionScript class.
Definition: Global_as.cpp:180
VM.h
gnash::NSV::PROP_AS_SET_PROP_FLAGS
@ PROP_AS_SET_PROP_FLAGS
Definition: namedStrings.h:137
gnash::AsBroadcaster::initialize
static void initialize(as_object &obj)
Initialize the given object as an AsBroadcaster.
Definition: AsBroadcaster.cpp:145
log.h
fn_call.h
gnash::Global_as
The Global object ultimately contains all objects in an ActionScript run.
Definition: Global_as.h:50
test.uri
uri
Definition: test.py:12
FileReference_as.h
gnash::key::o
@ o
Definition: GnashKey.h:161
gnash::log_unimpl
void log_unimpl(StringType msg, Args... args)
Definition: log.h:289
gnash::ObjectURI
A URI for describing as_objects.
Definition: ObjectURI.h:45