clutter-gstreamer 2.0.1-x86-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (40) hide show
  1. data/Rakefile +70 -0
  2. data/lib/clutter-gst.rb +77 -0
  3. data/test/clutter-gstreamer-test-utils.rb +21 -0
  4. data/test/run-test.rb +52 -0
  5. data/vendor/local/bin/libclutter-gst-2.0-0.dll +0 -0
  6. data/vendor/local/include/clutter-gst-2.0/clutter-gst/clutter-gst-enum-types.h +23 -0
  7. data/vendor/local/include/clutter-gst-2.0/clutter-gst/clutter-gst-player.h +186 -0
  8. data/vendor/local/include/clutter-gst-2.0/clutter-gst/clutter-gst-types.h +65 -0
  9. data/vendor/local/include/clutter-gst-2.0/clutter-gst/clutter-gst-util.h +53 -0
  10. data/vendor/local/include/clutter-gst-2.0/clutter-gst/clutter-gst-version.h +98 -0
  11. data/vendor/local/include/clutter-gst-2.0/clutter-gst/clutter-gst-video-sink.h +111 -0
  12. data/vendor/local/include/clutter-gst-2.0/clutter-gst/clutter-gst-video-texture.h +132 -0
  13. data/vendor/local/include/clutter-gst-2.0/clutter-gst/clutter-gst.h +41 -0
  14. data/vendor/local/lib/girepository-1.0/ClutterGst-2.0.typelib +0 -0
  15. data/vendor/local/lib/gstreamer-1.0/libgstclutter.dll +0 -0
  16. data/vendor/local/lib/gstreamer-1.0/libgstclutter.dll.a +0 -0
  17. data/vendor/local/lib/gstreamer-1.0/libgstclutter.la +41 -0
  18. data/vendor/local/lib/libclutter-gst-2.0.dll.a +0 -0
  19. data/vendor/local/lib/libclutter-gst-2.0.la +41 -0
  20. data/vendor/local/lib/pkgconfig/clutter-gst-2.0.pc +12 -0
  21. data/vendor/local/share/gir-1.0/ClutterGst-2.0.gir +1735 -0
  22. data/vendor/local/share/gtk-doc/html/clutter-gst/ClutterGstPlayer.html +949 -0
  23. data/vendor/local/share/gtk-doc/html/clutter-gst/ClutterGstVideoSink.html +177 -0
  24. data/vendor/local/share/gtk-doc/html/clutter-gst/ClutterGstVideoTexture.html +579 -0
  25. data/vendor/local/share/gtk-doc/html/clutter-gst/ch01.html +33 -0
  26. data/vendor/local/share/gtk-doc/html/clutter-gst/ch02.html +48 -0
  27. data/vendor/local/share/gtk-doc/html/clutter-gst/clutter-gst-Utilities.html +281 -0
  28. data/vendor/local/share/gtk-doc/html/clutter-gst/clutter-gst-Versioning-Macros.html +144 -0
  29. data/vendor/local/share/gtk-doc/html/clutter-gst/clutter-gst.devhelp2 +79 -0
  30. data/vendor/local/share/gtk-doc/html/clutter-gst/home.png +0 -0
  31. data/vendor/local/share/gtk-doc/html/clutter-gst/index.html +74 -0
  32. data/vendor/local/share/gtk-doc/html/clutter-gst/index.sgml +97 -0
  33. data/vendor/local/share/gtk-doc/html/clutter-gst/left.png +0 -0
  34. data/vendor/local/share/gtk-doc/html/clutter-gst/license.html +59 -0
  35. data/vendor/local/share/gtk-doc/html/clutter-gst/right.png +0 -0
  36. data/vendor/local/share/gtk-doc/html/clutter-gst/style.css +266 -0
  37. data/vendor/local/share/gtk-doc/html/clutter-gst/up.png +0 -0
  38. data/vendor/local/share/license/clutter-gst/AUTHORS +7 -0
  39. data/vendor/local/share/license/clutter-gst/COPYING +502 -0
  40. metadata +131 -0
@@ -0,0 +1,33 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2
+ <html>
3
+ <head>
4
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5
+ <title>Clutter Gst Overview</title>
6
+ <meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
7
+ <link rel="home" href="index.html" title="Clutter Gst 2.0.2 Reference Manual">
8
+ <link rel="up" href="index.html" title="Clutter Gst 2.0.2 Reference Manual">
9
+ <link rel="prev" href="index.html" title="Clutter Gst 2.0.2 Reference Manual">
10
+ <link rel="next" href="ch02.html" title="Clutter Actors And Objects">
11
+ <meta name="generator" content="GTK-Doc V1.18 (XML mode)">
12
+ <link rel="stylesheet" href="style.css" type="text/css">
13
+ </head>
14
+ <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
15
+ <table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"><tr valign="middle">
16
+ <td><a accesskey="p" href="index.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
17
+ <td> </td>
18
+ <td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
19
+ <th width="100%" align="center">Clutter Gst 2.0.2
20
+ Reference Manual</th>
21
+ <td><a accesskey="n" href="ch02.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
22
+ </tr></table>
23
+ <div class="chapter">
24
+ <div class="titlepage"><div><div><h2 class="title">
25
+ <a name="idp60832"></a>Clutter Gst Overview</h2></div></div></div>
26
+ <p>Clutter-GStreamer provides a ClutterMedia interface implementation
27
+ using GStreamer for basic video and audio playback.</p>
28
+ </div>
29
+ <div class="footer">
30
+ <hr>
31
+ Generated by GTK-Doc V1.18</div>
32
+ </body>
33
+ </html>
@@ -0,0 +1,48 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2
+ <html>
3
+ <head>
4
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5
+ <title>Clutter Actors And Objects</title>
6
+ <meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
7
+ <link rel="home" href="index.html" title="Clutter Gst 2.0.2 Reference Manual">
8
+ <link rel="up" href="index.html" title="Clutter Gst 2.0.2 Reference Manual">
9
+ <link rel="prev" href="ch01.html" title="Clutter Gst Overview">
10
+ <link rel="next" href="ClutterGstPlayer.html" title="ClutterGstPlayer">
11
+ <meta name="generator" content="GTK-Doc V1.18 (XML mode)">
12
+ <link rel="stylesheet" href="style.css" type="text/css">
13
+ </head>
14
+ <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
15
+ <table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"><tr valign="middle">
16
+ <td><a accesskey="p" href="ch01.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
17
+ <td> </td>
18
+ <td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
19
+ <th width="100%" align="center">Clutter Gst 2.0.2
20
+ Reference Manual</th>
21
+ <td><a accesskey="n" href="ClutterGstPlayer.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
22
+ </tr></table>
23
+ <div class="chapter">
24
+ <div class="titlepage"><div><div><h2 class="title">
25
+ <a name="idp62160"></a>Clutter Actors And Objects</h2></div></div></div>
26
+ <div class="toc"><dl>
27
+ <dt>
28
+ <span class="refentrytitle"><a href="ClutterGstPlayer.html">ClutterGstPlayer</a></span><span class="refpurpose"> — An interface for controlling playback of media data</span>
29
+ </dt>
30
+ <dt>
31
+ <span class="refentrytitle"><a href="ClutterGstVideoTexture.html">ClutterGstVideoTexture</a></span><span class="refpurpose"> — Actor for playback of video files.</span>
32
+ </dt>
33
+ <dt>
34
+ <span class="refentrytitle"><a href="ClutterGstVideoSink.html">ClutterGstVideoSink</a></span><span class="refpurpose"> — GStreamer video sink</span>
35
+ </dt>
36
+ <dt>
37
+ <span class="refentrytitle"><a href="clutter-gst-Utilities.html">Utilities</a></span><span class="refpurpose"> — Utility functions for Clutter-Gst.</span>
38
+ </dt>
39
+ <dt>
40
+ <span class="refentrytitle"><a href="clutter-gst-Versioning-Macros.html">Versioning Macros</a></span><span class="refpurpose"> — Versioning Macros</span>
41
+ </dt>
42
+ </dl></div>
43
+ </div>
44
+ <div class="footer">
45
+ <hr>
46
+ Generated by GTK-Doc V1.18</div>
47
+ </body>
48
+ </html>
@@ -0,0 +1,281 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2
+ <html>
3
+ <head>
4
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5
+ <title>Utilities</title>
6
+ <meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
7
+ <link rel="home" href="index.html" title="Clutter Gst 2.0.2 Reference Manual">
8
+ <link rel="up" href="ch02.html" title="Clutter Actors And Objects">
9
+ <link rel="prev" href="ClutterGstVideoSink.html" title="ClutterGstVideoSink">
10
+ <link rel="next" href="clutter-gst-Versioning-Macros.html" title="Versioning Macros">
11
+ <meta name="generator" content="GTK-Doc V1.18 (XML mode)">
12
+ <link rel="stylesheet" href="style.css" type="text/css">
13
+ </head>
14
+ <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
15
+ <table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
16
+ <tr valign="middle">
17
+ <td><a accesskey="p" href="ClutterGstVideoSink.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
18
+ <td><a accesskey="u" href="ch02.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
19
+ <td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
20
+ <th width="100%" align="center">Clutter Gst 2.0.2
21
+ Reference Manual</th>
22
+ <td><a accesskey="n" href="clutter-gst-Versioning-Macros.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
23
+ </tr>
24
+ <tr><td colspan="5" class="shortcuts">
25
+ <a href="#clutter-gst-Utilities.synopsis" class="shortcut">Top</a>
26
+  | 
27
+ <a href="#clutter-gst-Utilities.description" class="shortcut">Description</a>
28
+ </td></tr>
29
+ </table>
30
+ <div class="refentry">
31
+ <a name="clutter-gst-Utilities"></a><div class="titlepage"></div>
32
+ <div class="refnamediv"><table width="100%"><tr>
33
+ <td valign="top">
34
+ <h2><span class="refentrytitle"><a name="clutter-gst-Utilities.top_of_page"></a>Utilities</span></h2>
35
+ <p>Utilities — Utility functions for Clutter-Gst.</p>
36
+ </td>
37
+ <td valign="top" align="right"></td>
38
+ </tr></table></div>
39
+ <div class="refsynopsisdiv">
40
+ <a name="clutter-gst-Utilities.synopsis"></a><h2>Synopsis</h2>
41
+ <pre class="synopsis"><span class="returnvalue">ClutterInitError</span> <a class="link" href="clutter-gst-Utilities.html#clutter-gst-init" title="clutter_gst_init ()">clutter_gst_init</a> (<em class="parameter"><code><span class="type">int</span> *argc</code></em>,
42
+ <em class="parameter"><code><span class="type">char</span> ***argv</code></em>);
43
+ <span class="returnvalue">ClutterInitError</span> <a class="link" href="clutter-gst-Utilities.html#clutter-gst-init-with-args" title="clutter_gst_init_with_args ()">clutter_gst_init_with_args</a> (<em class="parameter"><code><span class="type">int</span> *argc</code></em>,
44
+ <em class="parameter"><code><span class="type">char</span> ***argv</code></em>,
45
+ <em class="parameter"><code>const <span class="type">char</span> *parameter_string</code></em>,
46
+ <em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Commandline-option-parser.html#GOptionEntry"><span class="type">GOptionEntry</span></a> *entries</code></em>,
47
+ <em class="parameter"><code>const <span class="type">char</span> *translation_domain</code></em>,
48
+ <em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
49
+ </pre>
50
+ </div>
51
+ <div class="refsect1">
52
+ <a name="clutter-gst-Utilities.description"></a><h2>Description</h2>
53
+ <p>
54
+ The <span class="application">Clutter-Gst</span> library should be initialized
55
+ with <a class="link" href="clutter-gst-Utilities.html#clutter-gst-init" title="clutter_gst_init ()"><code class="function">clutter_gst_init()</code></a> before it can be used. You should pass pointers to
56
+ the main argc and argv variables so that GStreamer, Clutter and Clutter-Gst
57
+ gst can process their own command line options, as shown in the following
58
+ example:
59
+ </p>
60
+ <p>
61
+ </p>
62
+ <div class="example">
63
+ <a name="idp8997328"></a><p class="title"><b>Example 1. Initializing the Clutter-Gst library</b></p>
64
+ <div class="example-contents">
65
+ <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
66
+ <tbody>
67
+ <tr>
68
+ <td class="listing_lines" align="right"><pre>1
69
+ 2
70
+ 3
71
+ 4
72
+ 5
73
+ 6
74
+ 7</pre></td>
75
+ <td class="listing_code"><pre class="programlisting"><span class="gtkdoc kwb">int</span>
76
+ <span class="function">main</span> <span class="gtkdoc opt">(</span><span class="gtkdoc kwb">int</span> argc<span class="gtkdoc opt">,</span> <span class="gtkdoc kwb">char</span> <span class="gtkdoc opt">*</span>argv<span class="gtkdoc opt">[])</span>
77
+ <span class="gtkdoc opt">{</span>
78
+ <span class="gtkdoc slc">// initialize the Clutter-Gst library</span>
79
+ <span class="function"><a href="clutter-gst-Utilities.html#clutter-gst-init">clutter_gst_init</a></span> <span class="gtkdoc opt">(&amp;</span>argc<span class="gtkdoc opt">, &amp;</span>argv<span class="gtkdoc opt">);</span>
80
+ <span class="gtkdoc opt">...</span>
81
+ <span class="gtkdoc opt">}</span></pre></td>
82
+ </tr>
83
+ </tbody>
84
+ </table>
85
+ </div>
86
+
87
+ </div>
88
+ <p><br class="example-break">
89
+ </p>
90
+ <p>
91
+ It's allowed to pass two NULL pointers to <a class="link" href="clutter-gst-Utilities.html#clutter-gst-init" title="clutter_gst_init ()"><code class="function">clutter_gst_init()</code></a> in case you
92
+ don't want to pass the command line arguments to GStreamer, Clutter and
93
+ Clutter-Gst.
94
+ </p>
95
+ <p>
96
+ You can also use a <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Commandline-option-parser.html#GOptionEntry"><span class="type">GOptionEntry</span></a> array to initialize your own parameters
97
+ as shown in the next code fragment:
98
+ </p>
99
+ <p>
100
+ </p>
101
+ <div class="example">
102
+ <a name="idp9002672"></a><p class="title"><b>Example 2. Initializing the Clutter-Gst library with additional options</b></p>
103
+ <div class="example-contents">
104
+ <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
105
+ <tbody>
106
+ <tr>
107
+ <td class="listing_lines" align="right"><pre>1
108
+ 2
109
+ 3
110
+ 4
111
+ 5
112
+ 6
113
+ 7
114
+ 8
115
+ 9
116
+ 10
117
+ 11
118
+ 12
119
+ 13
120
+ 14
121
+ 15
122
+ 16
123
+ 17
124
+ 18
125
+ 19
126
+ 20
127
+ 21
128
+ 22
129
+ 23
130
+ 24
131
+ 25
132
+ 26
133
+ 27
134
+ 28
135
+ 29
136
+ 30</pre></td>
137
+ <td class="listing_code"><pre class="programlisting"><span class="gtkdoc kwb">static</span> GOptionEntry options<span class="gtkdoc opt">[] =</span>
138
+ <span class="gtkdoc opt">{</span>
139
+ <span class="gtkdoc opt">{</span> <span class="string">&quot;framerate&quot;</span><span class="gtkdoc opt">,</span> <span class="string">'f'</span><span class="gtkdoc opt">,</span> <span class="number">0</span><span class="gtkdoc opt">,</span> G_OPTION_ARG_INT<span class="gtkdoc opt">, &amp;</span>opt_framerate<span class="gtkdoc opt">,</span>
140
+ <span class="string">&quot;Number of frames per second&quot;</span><span class="gtkdoc opt">,</span> NULL <span class="gtkdoc opt">},</span>
141
+ <span class="gtkdoc opt">{</span> <span class="string">&quot;fourcc&quot;</span><span class="gtkdoc opt">,</span> <span class="string">'o'</span><span class="gtkdoc opt">,</span> <span class="number">0</span><span class="gtkdoc opt">,</span> G_OPTION_ARG_STRING<span class="gtkdoc opt">,</span>
142
+ <span class="gtkdoc opt">&amp;</span>opt_fourcc<span class="gtkdoc opt">,</span> <span class="string">&quot;Fourcc of the wanted YUV format&quot;</span><span class="gtkdoc opt">,</span> NULL <span class="gtkdoc opt">},</span>
143
+ <span class="gtkdoc opt">{</span> NULL <span class="gtkdoc opt">}</span>
144
+ <span class="gtkdoc opt">};</span>
145
+
146
+ <span class="gtkdoc kwb">int</span>
147
+ <span class="function">main</span> <span class="gtkdoc opt">(</span><span class="gtkdoc kwb">int</span> argc<span class="gtkdoc opt">,</span> <span class="gtkdoc kwb">char</span> <span class="gtkdoc opt">*</span>argv<span class="gtkdoc opt">[])</span>
148
+ <span class="gtkdoc opt">{</span>
149
+ GError <span class="gtkdoc opt">*</span>error <span class="gtkdoc opt">=</span> NULL<span class="gtkdoc opt">;</span>
150
+ gboolean result<span class="gtkdoc opt">;</span>
151
+
152
+ <span class="keyword">if</span> <span class="gtkdoc opt">(!</span><span class="function"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Deprecated-Thread-APIs.html#g-thread-supported">g_thread_supported</a></span> <span class="gtkdoc opt">())</span>
153
+ <span class="function"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Deprecated-Thread-APIs.html#g-thread-init">g_thread_init</a></span> <span class="gtkdoc opt">(</span>NULL<span class="gtkdoc opt">);</span>
154
+
155
+ result <span class="gtkdoc opt">=</span> <span class="function"><a href="clutter-gst-Utilities.html#clutter-gst-init-with-args">clutter_gst_init_with_args</a></span> <span class="gtkdoc opt">(&amp;</span>argc<span class="gtkdoc opt">, &amp;</span>argv<span class="gtkdoc opt">,</span>
156
+ <span class="string">&quot; - Test YUV frames uploading&quot;</span><span class="gtkdoc opt">,</span>
157
+ options<span class="gtkdoc opt">,</span> NULL<span class="gtkdoc opt">, &amp;</span>error<span class="gtkdoc opt">);</span>
158
+
159
+ <span class="keyword">if</span> <span class="gtkdoc opt">(</span>error<span class="gtkdoc opt">)</span>
160
+ <span class="gtkdoc opt">{</span>
161
+ <span class="function"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Warnings-and-Assertions.html#g-print">g_print</a></span> <span class="gtkdoc opt">(</span><span class="string">&quot;%s</span><span class="gtkdoc esc">\n</span><span class="string">&quot;</span><span class="gtkdoc opt">,</span> error<span class="gtkdoc opt">-&gt;</span>message<span class="gtkdoc opt">);</span>
162
+ <span class="function"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html#g-error-free">g_error_free</a></span> <span class="gtkdoc opt">(</span>error<span class="gtkdoc opt">);</span>
163
+ <span class="keyword">return</span> EXIT_FAILURE<span class="gtkdoc opt">;</span>
164
+ <span class="gtkdoc opt">}</span>
165
+ <span class="gtkdoc opt">...</span>
166
+ <span class="gtkdoc opt">}</span></pre></td>
167
+ </tr>
168
+ </tbody>
169
+ </table>
170
+ </div>
171
+
172
+ </div>
173
+ <p><br class="example-break">
174
+ </p>
175
+ </div>
176
+ <div class="refsect1">
177
+ <a name="clutter-gst-Utilities.details"></a><h2>Details</h2>
178
+ <div class="refsect2">
179
+ <a name="clutter-gst-init"></a><h3>clutter_gst_init ()</h3>
180
+ <pre class="programlisting"><span class="returnvalue">ClutterInitError</span> clutter_gst_init (<em class="parameter"><code><span class="type">int</span> *argc</code></em>,
181
+ <em class="parameter"><code><span class="type">char</span> ***argv</code></em>);</pre>
182
+ <p>
183
+ Utility function to initialize both Clutter and GStreamer.
184
+ </p>
185
+ <p>
186
+ This function should be called before calling any other GLib functions. If
187
+ this is not an option, your program must initialise the GLib thread system
188
+ using <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Deprecated-Thread-APIs.html#g-thread-init"><code class="function">g_thread_init()</code></a> before any other GLib functions are called.
189
+ </p>
190
+ <div class="variablelist"><table border="0">
191
+ <col align="left" valign="top">
192
+ <tbody>
193
+ <tr>
194
+ <td><p><span class="term"><em class="parameter"><code>argc</code></em> :</span></p></td>
195
+ <td>The number of arguments in <em class="parameter"><code>argv</code></em>. <span class="annotation">[<a href="http://foldoc.org/inout"><span class="acronym">inout</span></a>]</span>
196
+ </td>
197
+ </tr>
198
+ <tr>
199
+ <td><p><span class="term"><em class="parameter"><code>argv</code></em> :</span></p></td>
200
+ <td>A pointer to an array. <span class="annotation">[<a href="http://foldoc.org/array"><span class="acronym">array</span></a> length=argc][<a href="http://foldoc.org/inout"><span class="acronym">inout</span></a>][<a href="http://foldoc.org/allow-none"><span class="acronym">allow-none</span></a>]</span>
201
+ </td>
202
+ </tr>
203
+ <tr>
204
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
205
+ <td>A <span class="type">ClutterInitError</span>.</td>
206
+ </tr>
207
+ </tbody>
208
+ </table></div>
209
+ </div>
210
+ <hr>
211
+ <div class="refsect2">
212
+ <a name="clutter-gst-init-with-args"></a><h3>clutter_gst_init_with_args ()</h3>
213
+ <pre class="programlisting"><span class="returnvalue">ClutterInitError</span> clutter_gst_init_with_args (<em class="parameter"><code><span class="type">int</span> *argc</code></em>,
214
+ <em class="parameter"><code><span class="type">char</span> ***argv</code></em>,
215
+ <em class="parameter"><code>const <span class="type">char</span> *parameter_string</code></em>,
216
+ <em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Commandline-option-parser.html#GOptionEntry"><span class="type">GOptionEntry</span></a> *entries</code></em>,
217
+ <em class="parameter"><code>const <span class="type">char</span> *translation_domain</code></em>,
218
+ <em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
219
+ <p>
220
+ This function does the same work as <a class="link" href="clutter-gst-Utilities.html#clutter-gst-init" title="clutter_gst_init ()"><code class="function">clutter_gst_init()</code></a>. Additionally, it
221
+ allows you to add your own command line options, and it automatically
222
+ generates nicely formatted --help output. Clutter's and GStreamer's
223
+ <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Commandline-option-parser.html#GOptionGroup"><span class="type">GOptionGroup</span></a>s are added to the set of available options.
224
+ </p>
225
+ <p>
226
+ Your program must initialise the GLib thread system using <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Deprecated-Thread-APIs.html#g-thread-init"><code class="function">g_thread_init()</code></a>
227
+ before any other GLib functions are called.
228
+ </p>
229
+ <div class="variablelist"><table border="0">
230
+ <col align="left" valign="top">
231
+ <tbody>
232
+ <tr>
233
+ <td><p><span class="term"><em class="parameter"><code>argc</code></em> :</span></p></td>
234
+ <td>The number of arguments in <em class="parameter"><code>argv</code></em>. <span class="annotation">[<a href="http://foldoc.org/inout"><span class="acronym">inout</span></a>]</span>
235
+ </td>
236
+ </tr>
237
+ <tr>
238
+ <td><p><span class="term"><em class="parameter"><code>argv</code></em> :</span></p></td>
239
+ <td>A pointer to an array. <span class="annotation">[<a href="http://foldoc.org/array"><span class="acronym">array</span></a> length=argc][<a href="http://foldoc.org/inout"><span class="acronym">inout</span></a>][<a href="http://foldoc.org/allow-none"><span class="acronym">allow-none</span></a>]</span>
240
+ </td>
241
+ </tr>
242
+ <tr>
243
+ <td><p><span class="term"><em class="parameter"><code>parameter_string</code></em> :</span></p></td>
244
+ <td>a string which is displayed in
245
+ the first line of <code class="option">--help</code> output, after
246
+ <code class="literal"><em class="replaceable"><code>programname</code></em> [OPTION...]</code>
247
+ </td>
248
+ </tr>
249
+ <tr>
250
+ <td><p><span class="term"><em class="parameter"><code>entries</code></em> :</span></p></td>
251
+ <td>a <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>-terminated array of <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Commandline-option-parser.html#GOptionEntry"><span class="type">GOptionEntry</span></a>s
252
+ describing the options of your program</td>
253
+ </tr>
254
+ <tr>
255
+ <td><p><span class="term"><em class="parameter"><code>translation_domain</code></em> :</span></p></td>
256
+ <td>a translation domain to use for translating
257
+ the <code class="option">--help</code> output for the options in <em class="parameter"><code>entries</code></em>
258
+ with <code class="function">gettext()</code>, or <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
259
+ </td>
260
+ </tr>
261
+ <tr>
262
+ <td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
263
+ <td>a return location for errors</td>
264
+ </tr>
265
+ <tr>
266
+ <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
267
+ <td>
268
+ <code class="literal">CLUTTER_INIT_SUCCESS</code> on success, a negative integer
269
+ on failure.</td>
270
+ </tr>
271
+ </tbody>
272
+ </table></div>
273
+ <p class="since">Since 1.0</p>
274
+ </div>
275
+ </div>
276
+ </div>
277
+ <div class="footer">
278
+ <hr>
279
+ Generated by GTK-Doc V1.18</div>
280
+ </body>
281
+ </html>
@@ -0,0 +1,144 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2
+ <html>
3
+ <head>
4
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5
+ <title>Versioning Macros</title>
6
+ <meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
7
+ <link rel="home" href="index.html" title="Clutter Gst 2.0.2 Reference Manual">
8
+ <link rel="up" href="ch02.html" title="Clutter Actors And Objects">
9
+ <link rel="prev" href="clutter-gst-Utilities.html" title="Utilities">
10
+ <link rel="next" href="license.html" title="Appendix A. License">
11
+ <meta name="generator" content="GTK-Doc V1.18 (XML mode)">
12
+ <link rel="stylesheet" href="style.css" type="text/css">
13
+ </head>
14
+ <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
15
+ <table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
16
+ <tr valign="middle">
17
+ <td><a accesskey="p" href="clutter-gst-Utilities.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
18
+ <td><a accesskey="u" href="ch02.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
19
+ <td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
20
+ <th width="100%" align="center">Clutter Gst 2.0.2
21
+ Reference Manual</th>
22
+ <td><a accesskey="n" href="license.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
23
+ </tr>
24
+ <tr><td colspan="5" class="shortcuts">
25
+ <a href="#clutter-gst-Versioning-Macros.synopsis" class="shortcut">Top</a>
26
+  | 
27
+ <a href="#clutter-gst-Versioning-Macros.description" class="shortcut">Description</a>
28
+ </td></tr>
29
+ </table>
30
+ <div class="refentry">
31
+ <a name="clutter-gst-Versioning-Macros"></a><div class="titlepage"></div>
32
+ <div class="refnamediv"><table width="100%"><tr>
33
+ <td valign="top">
34
+ <h2><span class="refentrytitle"><a name="clutter-gst-Versioning-Macros.top_of_page"></a>Versioning Macros</span></h2>
35
+ <p>Versioning Macros — Versioning Macros</p>
36
+ </td>
37
+ <td valign="top" align="right"></td>
38
+ </tr></table></div>
39
+ <div class="refsynopsisdiv">
40
+ <a name="clutter-gst-Versioning-Macros.synopsis"></a><h2>Synopsis</h2>
41
+ <pre class="synopsis">#define <a class="link" href="clutter-gst-Versioning-Macros.html#CLUTTER-GST-MAJOR-VERSION:CAPS" title="CLUTTER_GST_MAJOR_VERSION">CLUTTER_GST_MAJOR_VERSION</a>
42
+ #define <a class="link" href="clutter-gst-Versioning-Macros.html#CLUTTER-GST-MINOR-VERSION:CAPS" title="CLUTTER_GST_MINOR_VERSION">CLUTTER_GST_MINOR_VERSION</a>
43
+ #define <a class="link" href="clutter-gst-Versioning-Macros.html#CLUTTER-GST-MICRO-VERSION:CAPS" title="CLUTTER_GST_MICRO_VERSION">CLUTTER_GST_MICRO_VERSION</a>
44
+ #define <a class="link" href="clutter-gst-Versioning-Macros.html#CLUTTER-GST-VERSION:CAPS" title="CLUTTER_GST_VERSION">CLUTTER_GST_VERSION</a>
45
+ #define <a class="link" href="clutter-gst-Versioning-Macros.html#CLUTTER-GST-VERSION-S:CAPS" title="CLUTTER_GST_VERSION_S">CLUTTER_GST_VERSION_S</a>
46
+ #define <a class="link" href="clutter-gst-Versioning-Macros.html#CLUTTER-GST-VERSION-HEX:CAPS" title="CLUTTER_GST_VERSION_HEX">CLUTTER_GST_VERSION_HEX</a>
47
+ #define <a class="link" href="clutter-gst-Versioning-Macros.html#CLUTTER-GST-CHECK-VERSION:CAPS" title="CLUTTER_GST_CHECK_VERSION()">CLUTTER_GST_CHECK_VERSION</a> (major,
48
+ minor,
49
+ micro)
50
+ </pre>
51
+ </div>
52
+ <div class="refsect1">
53
+ <a name="clutter-gst-Versioning-Macros.description"></a><h2>Description</h2>
54
+ <p>
55
+ Version checking macros.
56
+ </p>
57
+ </div>
58
+ <div class="refsect1">
59
+ <a name="clutter-gst-Versioning-Macros.details"></a><h2>Details</h2>
60
+ <div class="refsect2">
61
+ <a name="CLUTTER-GST-MAJOR-VERSION:CAPS"></a><h3>CLUTTER_GST_MAJOR_VERSION</h3>
62
+ <pre class="programlisting">#define CLUTTER_GST_MAJOR_VERSION (2)
63
+ </pre>
64
+ <p>
65
+ ClutterGst major version (e.g. "1", if <a class="link" href="clutter-gst-Versioning-Macros.html#CLUTTER-GST-VERSION:CAPS" title="CLUTTER_GST_VERSION"><code class="literal">CLUTTER_GST_VERSION</code></a> is "1.2.3")
66
+ </p>
67
+ </div>
68
+ <hr>
69
+ <div class="refsect2">
70
+ <a name="CLUTTER-GST-MINOR-VERSION:CAPS"></a><h3>CLUTTER_GST_MINOR_VERSION</h3>
71
+ <pre class="programlisting">#define CLUTTER_GST_MINOR_VERSION (0)
72
+ </pre>
73
+ <p>
74
+ ClutterGst minor version (e.g. "2", if <a class="link" href="clutter-gst-Versioning-Macros.html#CLUTTER-GST-VERSION:CAPS" title="CLUTTER_GST_VERSION"><code class="literal">CLUTTER_GST_VERSION</code></a> is "1.2.3")
75
+ </p>
76
+ </div>
77
+ <hr>
78
+ <div class="refsect2">
79
+ <a name="CLUTTER-GST-MICRO-VERSION:CAPS"></a><h3>CLUTTER_GST_MICRO_VERSION</h3>
80
+ <pre class="programlisting">#define CLUTTER_GST_MICRO_VERSION (2)
81
+ </pre>
82
+ <p>
83
+ ClutterGst micro version (e.g. "3", if <a class="link" href="clutter-gst-Versioning-Macros.html#CLUTTER-GST-VERSION:CAPS" title="CLUTTER_GST_VERSION"><code class="literal">CLUTTER_GST_VERSION</code></a> is "1.2.3")
84
+ </p>
85
+ </div>
86
+ <hr>
87
+ <div class="refsect2">
88
+ <a name="CLUTTER-GST-VERSION:CAPS"></a><h3>CLUTTER_GST_VERSION</h3>
89
+ <pre class="programlisting">#define CLUTTER_GST_VERSION (2.0.2)
90
+ </pre>
91
+ <p>
92
+ ClutterGst full version (e.g. "1.2.3")
93
+ </p>
94
+ </div>
95
+ <hr>
96
+ <div class="refsect2">
97
+ <a name="CLUTTER-GST-VERSION-S:CAPS"></a><h3>CLUTTER_GST_VERSION_S</h3>
98
+ <pre class="programlisting">#define CLUTTER_GST_VERSION_S "2.0.2"
99
+ </pre>
100
+ <p>
101
+ ClutterGst full version, encoded as a string.
102
+ </p>
103
+ </div>
104
+ <hr>
105
+ <div class="refsect2">
106
+ <a name="CLUTTER-GST-VERSION-HEX:CAPS"></a><h3>CLUTTER_GST_VERSION_HEX</h3>
107
+ <pre class="programlisting">#define CLUTTER_GST_VERSION_HEX</pre>
108
+ <p>
109
+ ClutterGst full version, encoded as an hexadecimal value.
110
+ </p>
111
+ </div>
112
+ <hr>
113
+ <div class="refsect2">
114
+ <a name="CLUTTER-GST-CHECK-VERSION:CAPS"></a><h3>CLUTTER_GST_CHECK_VERSION()</h3>
115
+ <pre class="programlisting">#define CLUTTER_GST_CHECK_VERSION(major,minor,micro)</pre>
116
+ <p>
117
+ Evaluates to <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the version of ClutterGst is greater than
118
+ the <em class="parameter"><code>major</code></em>, <em class="parameter"><code>minor</code></em> and <em class="parameter"><code>micro</code></em> values.
119
+ </p>
120
+ <div class="variablelist"><table border="0">
121
+ <col align="left" valign="top">
122
+ <tbody>
123
+ <tr>
124
+ <td><p><span class="term"><em class="parameter"><code>major</code></em> :</span></p></td>
125
+ <td>major version, like 1 in 1.2.3</td>
126
+ </tr>
127
+ <tr>
128
+ <td><p><span class="term"><em class="parameter"><code>minor</code></em> :</span></p></td>
129
+ <td>minor version, like 2 in 1.2.3</td>
130
+ </tr>
131
+ <tr>
132
+ <td><p><span class="term"><em class="parameter"><code>micro</code></em> :</span></p></td>
133
+ <td>micro version, like 3 in 1.2.3</td>
134
+ </tr>
135
+ </tbody>
136
+ </table></div>
137
+ </div>
138
+ </div>
139
+ </div>
140
+ <div class="footer">
141
+ <hr>
142
+ Generated by GTK-Doc V1.18</div>
143
+ </body>
144
+ </html>