45
<refsect1 role="properties">
42
<refsect1 id="SwfdecSystem.properties" role="properties">
46
43
<title role="properties.title">Properties</title>
49
"<link linkend="SwfdecSystem--color-mode">color-mode</link>" <link linkend="gchararray">gchararray</link> : Read / Write / Construct
45
"<link linkend="SwfdecSystem--color-mode">color-mode</link>" <link linkend="gchar">gchar</link>* : Read / Write / Construct
50
46
"<link linkend="SwfdecSystem--debugger">debugger</link>" <link linkend="gboolean">gboolean</link> : Read / Write / Construct
51
47
"<link linkend="SwfdecSystem--dpi">dpi</link>" <link linkend="guint">guint</link> : Read / Write / Construct
52
"<link linkend="SwfdecSystem--language">language</link>" <link linkend="gchararray">gchararray</link> : Read / Write / Construct
53
"<link linkend="SwfdecSystem--manufacturer">manufacturer</link>" <link linkend="gchararray">gchararray</link> : Read / Write / Construct
54
"<link linkend="SwfdecSystem--os">os</link>" <link linkend="gchararray">gchararray</link> : Read / Write / Construct
55
"<link linkend="SwfdecSystem--os-type">os-type</link>" <link linkend="gchararray">gchararray</link> : Read / Write / Construct
48
"<link linkend="SwfdecSystem--language">language</link>" <link linkend="gchar">gchar</link>* : Read / Write / Construct
49
"<link linkend="SwfdecSystem--manufacturer">manufacturer</link>" <link linkend="gchar">gchar</link>* : Read / Write / Construct
50
"<link linkend="SwfdecSystem--os">os</link>" <link linkend="gchar">gchar</link>* : Read / Write / Construct
51
"<link linkend="SwfdecSystem--os-type">os-type</link>" <link linkend="gchar">gchar</link>* : Read / Write / Construct
56
52
"<link linkend="SwfdecSystem--pixel-aspect-ratio">pixel-aspect-ratio</link>" <link linkend="gdouble">gdouble</link> : Read / Write / Construct
57
"<link linkend="SwfdecSystem--player-type">player-type</link>" <link linkend="gchararray">gchararray</link> : Read / Write / Construct
53
"<link linkend="SwfdecSystem--player-type">player-type</link>" <link linkend="gchar">gchar</link>* : Read / Write / Construct
58
54
"<link linkend="SwfdecSystem--screen-height">screen-height</link>" <link linkend="guint">guint</link> : Read / Write / Construct
59
55
"<link linkend="SwfdecSystem--screen-width">screen-width</link>" <link linkend="guint">guint</link> : Read / Write / Construct
60
"<link linkend="SwfdecSystem--server-manufacturer">server-manufacturer</link>" <link linkend="gchararray">gchararray</link> : Read / Write / Construct
56
"<link linkend="SwfdecSystem--server-manufacturer">server-manufacturer</link>" <link linkend="gchar">gchar</link>* : Read / Write / Construct
61
57
"<link linkend="SwfdecSystem--utc-offset">utc-offset</link>" <link linkend="gint">gint</link> : Read / Write / Construct
62
"<link linkend="SwfdecSystem--version">version</link>" <link linkend="gchararray">gchararray</link> : Read / Write / Construct
58
"<link linkend="SwfdecSystem--version">version</link>" <link linkend="gchar">gchar</link>* : Read / Write / Construct
68
<refsect1 role="desc">
64
<refsect1 id="SwfdecSystem.description" role="desc">
69
65
<title role="desc.title">Description</title>
71
67
This object is used to provide information about the system Swfdec currently
96
<refsect1 role="details">
92
<refsect1 id="SwfdecSystem.details" role="details">
97
93
<title role="details.title">Details</title>
99
<title><anchor id="SwfdecSystem-struct" role="struct"/>SwfdecSystem</title>
100
<indexterm><primary>SwfdecSystem</primary></indexterm><programlisting>typedef struct _SwfdecSystem SwfdecSystem;</programlisting>
94
<refsect2 id="SwfdecSystem-struct" role="struct">
95
<title>SwfdecSystem</title>
96
<indexterm zone="SwfdecSystem-struct"><primary>SwfdecSystem</primary></indexterm><programlisting>typedef struct _SwfdecSystem SwfdecSystem;</programlisting>
102
98
This is the object used for holding information about the current system. See
103
99
the introduction for details.</para>
106
102
</para></refsect2>
108
<title><anchor id="swfdec-system-new" role="function"/>swfdec_system_new ()</title>
109
<indexterm><primary>swfdec_system_new</primary></indexterm><programlisting><link linkend="SwfdecSystem">SwfdecSystem</link>* swfdec_system_new (void);</programlisting>
103
<refsect2 id="swfdec-system-new" role="function">
104
<title>swfdec_system_new ()</title>
105
<indexterm zone="swfdec-system-new"><primary>swfdec_system_new</primary></indexterm><programlisting><link linkend="SwfdecSystem">SwfdecSystem</link>* swfdec_system_new (void);</programlisting>
111
107
Creates a new <link linkend="SwfdecSystem"><type>SwfdecSystem</type></link> object using default settings. These settings are
112
108
mirroring the most common settings used by a Flash player. Currently this is
119
115
</variablelist></refsect2>
122
<refsect1 role="property_details">
118
<refsect1 id="SwfdecSystem.property-details" role="property_details">
123
119
<title role="property_details.title">Property Details</title>
124
<refsect2><title><anchor id="SwfdecSystem--color-mode"/>The <literal>"color-mode"</literal> property</title>
125
<indexterm><primary>SwfdecSystem:color-mode</primary></indexterm><programlisting> "color-mode" <link linkend="gchararray">gchararray</link> : Read / Write / Construct</programlisting>
120
<refsect2 id="SwfdecSystem--color-mode"><title>The <literal>"color-mode"</literal> property</title>
121
<indexterm zone="SwfdecSystem--color-mode"><primary>SwfdecSystem:color-mode</primary></indexterm><programlisting> "color-mode" <link linkend="gchar">gchar</link>* : Read / Write / Construct</programlisting>
126
122
<para>"color", "gray" or "bw".</para><para>Default value: "color"</para>
128
<refsect2><title><anchor id="SwfdecSystem--debugger"/>The <literal>"debugger"</literal> property</title>
129
<indexterm><primary>SwfdecSystem:debugger</primary></indexterm><programlisting> "debugger" <link linkend="gboolean">gboolean</link> : Read / Write / Construct</programlisting>
124
<refsect2 id="SwfdecSystem--debugger"><title>The <literal>"debugger"</literal> property</title>
125
<indexterm zone="SwfdecSystem--debugger"><primary>SwfdecSystem:debugger</primary></indexterm><programlisting> "debugger" <link linkend="gboolean">gboolean</link> : Read / Write / Construct</programlisting>
130
126
<para>TRUE if this player is supposed to be a debugger.</para><para>Default value: FALSE</para>
132
<refsect2><title><anchor id="SwfdecSystem--dpi"/>The <literal>"dpi"</literal> property</title>
133
<indexterm><primary>SwfdecSystem:dpi</primary></indexterm><programlisting> "dpi" <link linkend="guint">guint</link> : Read / Write / Construct</programlisting>
128
<refsect2 id="SwfdecSystem--dpi"><title>The <literal>"dpi"</literal> property</title>
129
<indexterm zone="SwfdecSystem--dpi"><primary>SwfdecSystem:dpi</primary></indexterm><programlisting> "dpi" <link linkend="guint">guint</link> : Read / Write / Construct</programlisting>
134
130
<para>DPI setting of screen.</para><para>Default value: 96</para>
136
<refsect2><title><anchor id="SwfdecSystem--language"/>The <literal>"language"</literal> property</title>
137
<indexterm><primary>SwfdecSystem:language</primary></indexterm><programlisting> "language" <link linkend="gchararray">gchararray</link> : Read / Write / Construct</programlisting>
132
<refsect2 id="SwfdecSystem--language"><title>The <literal>"language"</literal> property</title>
133
<indexterm zone="SwfdecSystem--language"><primary>SwfdecSystem:language</primary></indexterm><programlisting> "language" <link linkend="gchar">gchar</link>* : Read / Write / Construct</programlisting>
138
134
<para>ISO 639-1 language code.</para><para>Default value: "en"</para>
140
<refsect2><title><anchor id="SwfdecSystem--manufacturer"/>The <literal>"manufacturer"</literal> property</title>
141
<indexterm><primary>SwfdecSystem:manufacturer</primary></indexterm><programlisting> "manufacturer" <link linkend="gchararray">gchararray</link> : Read / Write / Construct</programlisting>
136
<refsect2 id="SwfdecSystem--manufacturer"><title>The <literal>"manufacturer"</literal> property</title>
137
<indexterm zone="SwfdecSystem--manufacturer"><primary>SwfdecSystem:manufacturer</primary></indexterm><programlisting> "manufacturer" <link linkend="gchar">gchar</link>* : Read / Write / Construct</programlisting>
142
138
<para>string describing the manufacturer of this system.</para><para>Default value: "Macromedia Windows"</para>
144
<refsect2><title><anchor id="SwfdecSystem--os"/>The <literal>"os"</literal> property</title>
145
<indexterm><primary>SwfdecSystem:os</primary></indexterm><programlisting> "os" <link linkend="gchararray">gchararray</link> : Read / Write / Construct</programlisting>
140
<refsect2 id="SwfdecSystem--os"><title>The <literal>"os"</literal> property</title>
141
<indexterm zone="SwfdecSystem--os"><primary>SwfdecSystem:os</primary></indexterm><programlisting> "os" <link linkend="gchar">gchar</link>* : Read / Write / Construct</programlisting>
146
142
<para>description of the operating system.</para><para>Default value: "Windows XP"</para>
148
<refsect2><title><anchor id="SwfdecSystem--os-type"/>The <literal>"os-type"</literal> property</title>
149
<indexterm><primary>SwfdecSystem:os-type</primary></indexterm><programlisting> "os-type" <link linkend="gchararray">gchararray</link> : Read / Write / Construct</programlisting>
144
<refsect2 id="SwfdecSystem--os-type"><title>The <literal>"os-type"</literal> property</title>
145
<indexterm zone="SwfdecSystem--os-type"><primary>SwfdecSystem:os-type</primary></indexterm><programlisting> "os-type" <link linkend="gchar">gchar</link>* : Read / Write / Construct</programlisting>
150
146
<para>the operating system type: WIN, LIN or MAC.</para><para>Default value: "WIN"</para>
152
<refsect2><title><anchor id="SwfdecSystem--pixel-aspect-ratio"/>The <literal>"pixel-aspect-ratio"</literal> property</title>
153
<indexterm><primary>SwfdecSystem:pixel-aspect-ratio</primary></indexterm><programlisting> "pixel-aspect-ratio" <link linkend="gdouble">gdouble</link> : Read / Write / Construct</programlisting>
148
<refsect2 id="SwfdecSystem--pixel-aspect-ratio"><title>The <literal>"pixel-aspect-ratio"</literal> property</title>
149
<indexterm zone="SwfdecSystem--pixel-aspect-ratio"><primary>SwfdecSystem:pixel-aspect-ratio</primary></indexterm><programlisting> "pixel-aspect-ratio" <link linkend="gdouble">gdouble</link> : Read / Write / Construct</programlisting>
154
150
<para>the screen's pixel aspect ratio.</para><para>Allowed values: >= G_MINDOUBLE</para>
155
151
<para>Default value: 1</para>
157
<refsect2><title><anchor id="SwfdecSystem--player-type"/>The <literal>"player-type"</literal> property</title>
158
<indexterm><primary>SwfdecSystem:player-type</primary></indexterm><programlisting> "player-type" <link linkend="gchararray">gchararray</link> : Read / Write / Construct</programlisting>
153
<refsect2 id="SwfdecSystem--player-type"><title>The <literal>"player-type"</literal> property</title>
154
<indexterm zone="SwfdecSystem--player-type"><primary>SwfdecSystem:player-type</primary></indexterm><programlisting> "player-type" <link linkend="gchar">gchar</link>* : Read / Write / Construct</programlisting>
159
155
<para>"StandAlone", "External", "PlugIn" or "ActiveX".</para><para>Default value: "StandAlone"</para>
161
<refsect2><title><anchor id="SwfdecSystem--screen-height"/>The <literal>"screen-height"</literal> property</title>
162
<indexterm><primary>SwfdecSystem:screen-height</primary></indexterm><programlisting> "screen-height" <link linkend="guint">guint</link> : Read / Write / Construct</programlisting>
157
<refsect2 id="SwfdecSystem--screen-height"><title>The <literal>"screen-height"</literal> property</title>
158
<indexterm zone="SwfdecSystem--screen-height"><primary>SwfdecSystem:screen-height</primary></indexterm><programlisting> "screen-height" <link linkend="guint">guint</link> : Read / Write / Construct</programlisting>
163
159
<para>height of the screen in pixels.</para><para>Default value: 768</para>
165
<refsect2><title><anchor id="SwfdecSystem--screen-width"/>The <literal>"screen-width"</literal> property</title>
166
<indexterm><primary>SwfdecSystem:screen-width</primary></indexterm><programlisting> "screen-width" <link linkend="guint">guint</link> : Read / Write / Construct</programlisting>
161
<refsect2 id="SwfdecSystem--screen-width"><title>The <literal>"screen-width"</literal> property</title>
162
<indexterm zone="SwfdecSystem--screen-width"><primary>SwfdecSystem:screen-width</primary></indexterm><programlisting> "screen-width" <link linkend="guint">guint</link> : Read / Write / Construct</programlisting>
167
163
<para>width of the screen in pixels.</para><para>Default value: 1024</para>
169
<refsect2><title><anchor id="SwfdecSystem--server-manufacturer"/>The <literal>"server-manufacturer"</literal> property</title>
170
<indexterm><primary>SwfdecSystem:server-manufacturer</primary></indexterm><programlisting> "server-manufacturer" <link linkend="gchararray">gchararray</link> : Read / Write / Construct</programlisting>
165
<refsect2 id="SwfdecSystem--server-manufacturer"><title>The <literal>"server-manufacturer"</literal> property</title>
166
<indexterm zone="SwfdecSystem--server-manufacturer"><primary>SwfdecSystem:server-manufacturer</primary></indexterm><programlisting> "server-manufacturer" <link linkend="gchar">gchar</link>* : Read / Write / Construct</programlisting>
171
167
<para>manufacturer of this system as used in serverString.</para><para>Default value: "Adobe Windows"</para>
173
<refsect2><title><anchor id="SwfdecSystem--utc-offset"/>The <literal>"utc-offset"</literal> property</title>
174
<indexterm><primary>SwfdecSystem:utc-offset</primary></indexterm><programlisting> "utc-offset" <link linkend="gint">gint</link> : Read / Write / Construct</programlisting>
169
<refsect2 id="SwfdecSystem--utc-offset"><title>The <literal>"utc-offset"</literal> property</title>
170
<indexterm zone="SwfdecSystem--utc-offset"><primary>SwfdecSystem:utc-offset</primary></indexterm><programlisting> "utc-offset" <link linkend="gint">gint</link> : Read / Write / Construct</programlisting>
175
171
<para>Difference between UTC and local timezone in minutes.</para><para>Allowed values: [-720,720]</para>
176
172
<para>Default value: 0</para>
178
<refsect2><title><anchor id="SwfdecSystem--version"/>The <literal>"version"</literal> property</title>
179
<indexterm><primary>SwfdecSystem:version</primary></indexterm><programlisting> "version" <link linkend="gchararray">gchararray</link> : Read / Write / Construct</programlisting>
174
<refsect2 id="SwfdecSystem--version"><title>The <literal>"version"</literal> property</title>
175
<indexterm zone="SwfdecSystem--version"><primary>SwfdecSystem:version</primary></indexterm><programlisting> "version" <link linkend="gchar">gchar</link>* : Read / Write / Construct</programlisting>
180
176
<para>version string.</para><para>Default value: "WIN 9,0,100,0"</para>