Gnash  0.8.11dev
ContextMenuItem_as.h
Go to the documentation of this file.
1 // ContextMenuItem_as.h: ActionScript 3 "ContextMenuItem" 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_CONTEXTMENUITEM_H
21 #define GNASH_ASOBJ3_CONTEXTMENUITEM_H
22 
23 
24 
25 namespace gnash {
26 
27 // Forward declarations
28 class as_object;
29 struct ObjectURI;
30 
32 void contextmenuitem_class_init(as_object& where, const ObjectURI& uri);
33 
34 } // gnash namespace
35 
36 // GNASH_ASOBJ3_CONTEXTMENUITEM_H
37 #endif
38 
39 // local Variables:
40 // mode: C++
41 // indent-tabs-mode: t
42 // End:
43 
gnash::as_object
The base class for all ActionScript objects.
Definition: as_object.h:162
gnash::NSV::PROP_ON_SELECT
@ PROP_ON_SELECT
Definition: namedStrings.h:176
gnash
Anonymous namespace for callbacks, local functions, event handlers etc.
Definition: dbus_ext.cpp:41
gnash::PropFlags::dontEnum
@ dontEnum
Protect from enumeration.
Definition: PropFlags.h:36
gnash::PropFlags::dontDelete
@ dontDelete
Protect from deletion.
Definition: PropFlags.h:39
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
ContextMenuItem_as.h
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::fn_call::Args
FunctionArgs< as_value > Args
Definition: fn_call.h:121
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
gnash::NSV::PROP_ENABLED
@ PROP_ENABLED
Definition: namedStrings.h:74
gnash::constructInstance
as_object * constructInstance(as_function &ctor, const as_environment &env, fn_call::Args &args)
Definition: as_function.cpp:47
gnash::PropFlags::onlySWF7Up
@ onlySWF7Up
Only visible by VM initialized for version 7 or higher.
Definition: PropFlags.h:51
log.h
fn_call.h
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
gnash::getURI
ObjectURI getURI(const VM &vm, const std::string &str, bool lowerCaseHint=false)
Definition: VM.h:290
gnash::key::o
@ o
Definition: GnashKey.h:161
gnash::ObjectURI
A URI for describing as_objects.
Definition: ObjectURI.h:45
gnash::contextmenuitem_class_init
void contextmenuitem_class_init(as_object &where, const ObjectURI &uri)
Initialize the global ContextMenuItem class.
Definition: ContextMenuItem_as.cpp:40