<html lang="en"> <head> <title>plugin - Open Cubic Player</title> <meta http-equiv="Content-Type" content="text/html"> <meta name="description" content="Open Cubic Player"> <meta name="generator" content="makeinfo 4.13"> <link title="Top" rel="start" href="index.html#Top"> <link rel="prev" href="faq.html#faq" title="faq"> <link rel="next" href="mdz.html#mdz" title="mdz"> <link href="http://www.gnu.org/software/texinfo/" rel="generator-home" title="Texinfo Homepage"> <!-- This documentiation falls under the GPL license. Copyright (C) 2005 Stian Skjelstad. Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved.--> <meta http-equiv="Content-Style-Type" content="text/css"> <style type="text/css"><!-- pre.display { font-family:inherit } pre.format { font-family:inherit } pre.smalldisplay { font-family:inherit; font-size:smaller } pre.smallformat { font-family:inherit; font-size:smaller } pre.smallexample { font-size:smaller } pre.smalllisp { font-size:smaller } span.sc { font-variant:small-caps } span.roman { font-family:serif; font-weight:normal; } span.sansserif { font-family:sans-serif; font-weight:normal; } --></style> </head> <body> <div class="node"> <a name="plugin"></a> <p> Next: <a rel="next" accesskey="n" href="mdz.html#mdz">mdz</a>, Previous: <a rel="previous" accesskey="p" href="faq.html#faq">faq</a>, Up: <a rel="up" accesskey="u" href="index.html#Top">Top</a> <hr> </div> <h2 class="chapter">8 Writing plugins</h2> <!-- Picture TODO is a schematic of the modules OCP is built --> <!-- from. It shows which parts of the player interact with each other. --> <!-- TODO picture here --> <p>The capabilities of OCP can be extended by plugins. The type of plugin is not limited, so new graphics modes, file types and even enhanced players may be added by the user. As development for OCP is done using GNU C/C++, it is recommended to use this compiler for developing plugins aswell. We have not tested the plugin interface with other compilers.<a rel="footnote" href="#fn-1" name="fnd-1"><sup>1</sup></a> <p>As of UNIX version, we refer to the source-code and GNU tool-chain documentations when it comes to compiling and linking and to look at other plugins as templates for making new ones. <div class="footnote"> <hr> <h4>Footnotes</h4><p class="footnote"><small>[<a name="fn-1" href="#fnd-1">1</a>]</small> This might change in the future.</p> <hr></div> </body></html>