Gnash  0.8.11dev
lirc_ext.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_LIRC_PLUGIN_H
20 #define GNASH_LIRC_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 extern "C" {
32  void lirc_class_init(as_object &obj);
33 }
34 
35 } // end of gnash namespace
36 
37 #endif
38 
39 // Local Variables:
40 // mode: C++
41 // indent-tabs-mode: t
42 // End:
gnash::as_object
The base class for all ActionScript objects.
Definition: as_object.h:162
as_object.h
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
gnash::lirc_class_init
void lirc_class_init(as_object &obj)
Definition: lirc_ext.cpp:121
GNASH_REPORT_FUNCTION
#define GNASH_REPORT_FUNCTION
Definition: log.h:452
Global_as.h
gnash::getGlobal
Global_as & getGlobal(const as_environment &env)
Definition: as_environment.cpp:651
gnash::lirc_ext_init
as_value lirc_ext_init(const fn_call &fn)
Definition: lirc_ext.cpp:87
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::Relay
This is the base class for type-specific object data.
Definition: Relay.h:50
gnash::Global_as::createClass
as_object * createClass(Global_as::ASFunction ctor, as_object *prototype)
Create an ActionScript class.
Definition: Global_as.cpp:180
gnash::lirc_ext_getbutton
as_value lirc_ext_getbutton(const fn_call &fn)
Definition: lirc_ext.cpp:113
gnash::key::code
code
Definition: GnashKey.h:44
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
lirc_ext.h
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
gnashconfig.h
gnash::Global_as
The Global object ultimately contains all objects in an ActionScript run.
Definition: Global_as.h:50
gnash::lirc_ext_getkey
as_value lirc_ext_getkey(const fn_call &fn)
Definition: lirc_ext.cpp:100
gnash::config
struct lirc_config * config
Definition: lirc_ext.cpp:43