Writing a Player interface

From The Player Project

Jump to: navigation, search
(Building the interface)
m (Example Plugin Interface)
 
Line 20: Line 20:
<pre>
<pre>
-
/usr/local/share/player/examples/plugins/exampleplugin/
+
/usr/local/share/player/examples/plugins/exampleinterface/
</pre>
</pre>
Line 115: Line 115:
char doStuff;
char doStuff;
} player_eginterf_cmd_t;
} player_eginterf_cmd_t;
-
Generally, the structures will be named in some way that corresponds with the message types they go with. The names of the structures are usually in the form of "player_interfacename_structname"
 
</pre>
</pre>
 +
 +
Generally, the structures will be named in some way that corresponds with the message types they go with. The names of the structures are usually in the form of "player_interfacename_structname"
 +
===Building the interface===
===Building the interface===

Latest revision as of 11:26, 14 February 2011

Personal tools