Gnash  0.8.11dev
dejagnu.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_DEJAGNU_PLUGIN_H
20 #define GNASH_DEJAGNU_PLUGIN_H
21 
22 #ifdef HAVE_CONFIG_H
23 #include "gnashconfig.h"
24 #endif
25 
26 #include "as_object.h"
27 
28 namespace gnash
29 {
30 
31 
32 extern "C" {
33  void dejagnu_class_init(as_object &obj);
35 }
36 
37 std::unique_ptr<as_object> init_dejagnu_instance();
38 
39 } // end of gnash namespace
40 
41 // __DEJAGNU_PLUGIN_H__
42 #endif
43 
44 // Local Variables:
45 // mode: C++
46 // indent-tabs-mode: t
47 // End:
gnash::init_dejagnu_instance
std::unique_ptr< as_object > init_dejagnu_instance()
Return an instance.
gnash::as_object
The base class for all ActionScript objects.
Definition: as_object.h:162
as_object.h
gnash::log_debug
void log_debug(StringType msg, Args... args)
Definition: log.h:301
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
Global_as.h
gnash::getGlobal
Global_as & getGlobal(const as_environment &env)
Definition: as_environment.cpp:651
as_function.h
gnash::createObject
as_object * createObject(const Global_as &gl)
Definition: Global_as.cpp:303
gnash::fn_call
Parameters/environment for builtin or user-defined functions callable from ActionScript.
Definition: fn_call.h:118
gnash::Global_as::createClass
as_object * createClass(Global_as::ASFunction ctor, as_object *prototype)
Create an ActionScript class.
Definition: Global_as.cpp:180
gnash::dejagnu_fail
as_value dejagnu_fail(const fn_call &fn)
Definition: dejagnu.cpp:120
gnash::fn_call::nargs
Args::size_type nargs
Number of arguments to this ActionScript function call.
Definition: fn_call.h:178
gnash::as_value
ActionScript value type.
Definition: as_value.h:95
gnash::dejagnu_totals
as_value dejagnu_totals(const fn_call &fn)
Definition: dejagnu.cpp:134
gnash::fn_call::arg
const Args::value_type & arg(unsigned int n) const
Access a particular argument.
Definition: fn_call.h:194
log.h
fn_call.h
gnash::dejagnu_class_init
void dejagnu_class_init(as_object &obj)
Definition: dejagnu.cpp:145
gnashconfig.h
gnash::Global_as
The Global object ultimately contains all objects in an ActionScript run.
Definition: Global_as.h:50
gnash::dejagnu_pass
as_value dejagnu_pass(const fn_call &fn)
Definition: dejagnu.cpp:106
dejagnu.h