Gnash  0.8.11dev
Mouse_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_MOUSE_H
21 #define GNASH_ASOBJ_MOUSE_H
22 
23 namespace gnash {
24 
25 class as_object;
26 struct ObjectURI;
27 
28 class Mouse_as
29 {
30 public:
32  static void registerNative(as_object& where);
33 };
34 
35 void mouse_class_init(as_object& where, const ObjectURI& uri);
36 
37 } // gnash namespace
38 
39 
40 #endif
41 
movie_root.h
gnash::mouse_class_init
void mouse_class_init(as_object &where, const ObjectURI &uri)
Definition: Mouse_as.cpp:57
gnash::as_object
The base class for all ActionScript objects.
Definition: as_object.h:162
as_object.h
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::registerBuiltinObject
as_object * registerBuiltinObject(as_object &where, Global_as::Properties p, const ObjectURI &uri)
Register a built-in object.
Definition: Global_as.h:114
gnash::PropFlags::dontEnum
@ dontEnum
Protect from enumeration.
Definition: PropFlags.h:36
gnash::PropFlags::dontDelete
@ dontDelete
Protect from deletion.
Definition: PropFlags.h:39
gnash::key::m
@ m
Definition: GnashKey.h:159
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
AsBroadcaster.h
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
Mouse_as.h
gnash::Mouse_as::registerNative
static void registerNative(as_object &where)
Register native functions with the VM.
Definition: Mouse_as.cpp:46
gnash::Mouse_as
Definition: Mouse_as.h:29
gnash::VM::registerNative
void registerNative(as_c_function_ptr fun, unsigned int x, unsigned int y)
Definition: VM.cpp:268
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
gnash::getRoot
movie_root & getRoot(const as_environment &env)
Definition: as_environment.cpp:645
fn_call.h
namedStrings.h
test.uri
uri
Definition: test.py:12
gnash::HostMessage::SHOW_MOUSE
@ SHOW_MOUSE
Definition: HostInterface.h:98
gnash::key::o
@ o
Definition: GnashKey.h:161
gnash::PropFlags::readOnly
@ readOnly
Protect from assigning a value.
Definition: PropFlags.h:42
gnash::ObjectURI
A URI for describing as_objects.
Definition: ObjectURI.h:45