Go to the documentation of this file.
20 #ifndef GNASH_ASOBJ3_SYSTEM_H
21 #define GNASH_ASOBJ3_SYSTEM_H
The base class for all ActionScript objects.
Definition: as_object.h:162
size_t arraySize(T(&)[N])
Get the size of an array without passing a pointer by mistake.
Definition: GnashAlgorithm.h:58
#define LOG_ONCE(x)
Definition: log.h:49
#define _(String)
Definition: log.h:44
The AVM1 virtual machine.
Definition: VM.h:72
Anonymous namespace for callbacks, local functions, event handlers etc.
Definition: dbus_ext.cpp:41
as_object * registerBuiltinObject(as_object &where, Global_as::Properties p, const ObjectURI &uri)
Register a built-in object.
Definition: Global_as.h:114
@ dontEnum
Protect from enumeration.
Definition: PropFlags.h:36
@ dontDelete
Protect from deletion.
Definition: PropFlags.h:39
@ m
Definition: GnashKey.h:159
@ s
Definition: GnashKey.h:165
@ SCREEN_COLOR
Definition: HostInterface.h:160
Global_as & getGlobal(const as_environment &env)
Definition: as_environment.cpp:651
VM & getVM(const as_environment &env)
Definition: as_environment.h:222
@ SET_CLIPBOARD
Definition: HostInterface.h:130
static void encode(std::string &str)
Encode a string to URL-encoded format converting all dodgy characters to AB hex sequences.
Definition: URL.cpp:391
void system_class_init(as_object &where, const ObjectURI &uri)
Initialize the global System class.
Definition: System_as.cpp:61
void registerNative(as_c_function_ptr fun, unsigned int x, unsigned int y)
Definition: VM.cpp:268
@ PLAYER_TYPE
Definition: HostInterface.h:154
@ PIXEL_ASPECT_RATIO
Definition: HostInterface.h:148
movie_root & getRoot(const as_environment &env)
Definition: as_environment.cpp:645
@ onlySWF6Up
Only visible by VM initialized for version 6 or higher.
Definition: PropFlags.h:45
@ SCREEN_RESOLUTION
Definition: HostInterface.h:136
static RcInitFile & getDefaultInstance()
Return the default instance of RC file.
Definition: rc.cpp:61
uri
Definition: test.py:12
ObjectURI getURI(const VM &vm, const std::string &str, bool lowerCaseHint=false)
Definition: VM.h:290
void registerSystemNative(as_object &where)
Definition: System_as.cpp:68
@ o
Definition: GnashKey.h:161
@ readOnly
Protect from assigning a value.
Definition: PropFlags.h:42
void log_unimpl(StringType msg, Args... args)
Definition: log.h:289
A URI for describing as_objects.
Definition: ObjectURI.h:45
std::int32_t x
Definition: BitmapData_as.cpp:434
std::string getSystemLanguage() const
Definition: VM.cpp:124
@ SCREEN_DPI
Definition: HostInterface.h:142