Gnash  0.8.11dev
fileio.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_FILEIO_PLUGIN_H
20 #define GNASH_FILEIO_PLUGIN_H
21 
22 #ifdef HAVE_CONFIG_H
23 #include "gnashconfig.h"
24 #endif
25 
26 
27 namespace gnash {
28 
29 struct ObjectURI;
30 class as_object;
31 
32 extern "C" {
33 
34 void fileio_class_init(as_object& global, const ObjectURI& uri);
35 
36 }
37 
38 } // end of gnash namespace
39 
40 // __FILEIO_PLUGIN_H__
41 #endif
42 
43 // Local Variables:
44 // mode: C++
45 // indent-tabs-mode: nil
46 // End:
gnash::fileio_fgets
as_value fileio_fgets(const fn_call &fn)
Definition: fileio.cpp:423
gnash::toNumber
double toNumber(const as_value &v, const VM &vm)
Convert an as_value to a double.
Definition: VM.cpp:451
gnash::key::L
@ L
Definition: GnashKey.h:124
gnash::arrayKey
ObjectURI arrayKey(VM &vm, size_t i)
Convert an integral value into an ObjectURI.
Definition: Array_as.cpp:995
gnash::toBool
bool toBool(const as_value &v, const VM &vm)
Convert an as_value to boolean type.
Definition: VM.cpp:445
gnash::as_object
The base class for all ActionScript objects.
Definition: as_object.h:162
as_object.h
dbglogfile
#define dbglogfile
Definition: gtkext.cpp:48
gnash::key::i
@ i
Definition: GnashKey.h:155
gnash::LogFile
Definition: log.h:64
gnash::fileio_getchar
as_value fileio_getchar(const fn_call &fn)
Definition: fileio.cpp:447
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::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::fileio_fwrite
as_value fileio_fwrite(const fn_call &fn)
Definition: fileio.cpp:458
gnash::key::n
@ n
Definition: GnashKey.h:160
gnash::fileio_scandir
as_value fileio_scandir(const fn_call &fn)
Definition: fileio.cpp:566
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
gnash::fileio_asyncmode
as_value fileio_asyncmode(const fn_call &fn)
Definition: fileio.cpp:536
as_function.h
gnash::fileio_fflush
as_value fileio_fflush(const fn_call &fn)
Definition: fileio.cpp:507
fileio.h
gnash::createObject
as_object * createObject(const Global_as &gl)
Definition: Global_as.cpp:303
gnash::fileio_fclose
as_value fileio_fclose(const fn_call &fn)
Definition: fileio.cpp:379
gnash::fn_call
Parameters/environment for builtin or user-defined functions callable from ActionScript.
Definition: fn_call.h:118
gnash::fileio_gets
as_value fileio_gets(const fn_call &fn)
Definition: fileio.cpp:434
gnash::fn_call::dump_args
void dump_args(std::ostream &os) const
Dump arguments to given output stream.
Definition: fn_call.h:214
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::fileio_puts
as_value fileio_puts(const fn_call &fn)
Definition: fileio.cpp:489
IF_VERBOSE_ASCODING_ERRORS
#define IF_VERBOSE_ASCODING_ERRORS(x)
Definition: log.h:397
gnash::fileio_feof
as_value fileio_feof(const fn_call &fn)
Definition: fileio.cpp:546
gnash::fileio_fopen
as_value fileio_fopen(const fn_call &fn)
Definition: fileio.cpp:358
gnash::fileio_putchar
as_value fileio_putchar(const fn_call &fn)
Definition: fileio.cpp:497
gnash::fn_call::nargs
Args::size_type nargs
Number of arguments to this ActionScript function call.
Definition: fn_call.h:178
GnashSystemIOHeaders.h
gnash::fileio_unlink
as_value fileio_unlink(const fn_call &fn)
Definition: fileio.cpp:556
gnash::as_value
ActionScript value type.
Definition: as_value.h:95
gnash::Global_as::createArray
as_object * createArray()
Construct an Array.
Definition: Global_as.cpp:207
gnash::fn_call::arg
const Args::value_type & arg(unsigned int n) const
Access a particular argument.
Definition: fn_call.h:194
gnash::fileio_fputs
as_value fileio_fputs(const fn_call &fn)
Definition: fileio.cpp:478
gnash::fileio_fgetc
as_value fileio_fgetc(const fn_call &fn)
Definition: fileio.cpp:406
gnash::log_aserror
void log_aserror(StringType msg, Args... args)
Definition: log.h:331
log.h
fn_call.h
gnashconfig.h
gnash::fileio_fseek
as_value fileio_fseek(const fn_call &fn)
Definition: fileio.cpp:516
gnash::Global_as
The Global object ultimately contains all objects in an ActionScript run.
Definition: Global_as.h:50
gnash::as_object::set_member
virtual bool set_member(const ObjectURI &uri, const as_value &val, bool ifFound=false)
Set a member value.
Definition: as_object.cpp:583
test.uri
uri
Definition: test.py:12
gnash::key::c
@ c
Definition: GnashKey.h:149
gnash::fileio_fread
as_value fileio_fread(const fn_call &fn)
Definition: fileio.cpp:389
gnash::fileio_ftell
as_value fileio_ftell(const fn_call &fn)
Definition: fileio.cpp:526
Array_as.h
gnash::fileio_class_init
void fileio_class_init(as_object &where, const ObjectURI &)
Definition: fileio.cpp:601
dirent
#define dirent
Definition: extension.cpp:49
BUFSIZE
#define BUFSIZE
Definition: sound_handler_ahi.cpp:47
gnash::ObjectURI
A URI for describing as_objects.
Definition: ObjectURI.h:45
x
std::int32_t x
Definition: BitmapData_as.cpp:434
gnash::key::b
@ b
Definition: GnashKey.h:148
gnash::fileio_fputc
as_value fileio_fputc(const fn_call &fn)
Definition: fileio.cpp:468