![]() |
![]() |
![]() |
Swfdec Reference Manual | ![]() |
---|---|---|---|---|
SwfdecSystem; SwfdecSystem* swfdec_system_new (void);
This object is used to provide information about the system Swfdec currently runs on.
Almost all of this information can be categorized into three types: Information about the current playback engine like manufacturer or version, information about the current operating system and capabilities of the output capabilities of the System like screen size.
The information provided by this object is used by the Actionscript
System.capabilities.Query()
function that is usually only run once during
initialization of the Flash player. If you want to set custom properties and
have them affect a running SwfdecPlayer, you should change them before the
player gets initialized.
Note that the System.capabilites object in Flash provides more functionality than provided by this object. That information can be and is determined automatically by Swfdec.
typedef struct _SwfdecSystem SwfdecSystem;
This is the object used for holding information about the current system. See the introduction for details.
SwfdecSystem* swfdec_system_new (void);
Creates a new SwfdecSystem object using default settings. These settings are mirroring the most common settings used by a Flash player. Currently this is equivalent to a Flash player running on Windows XP.
Returns : | a new SwfdecSystem object |