Click here to Skip to main content
15,892,674 members
Articles / Desktop Programming / MFC

Multi platform plug-in development made easy!

Rate me:
Please Sign up or sign in to vote.
4.04/5 (25 votes)
7 Mar 20065 min read 101.8K   1.9K   63  
How to use and develop plug-ins for multiple platforms.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>SPL Library: SPL Namespace Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.3.6 -->
<div class="qindex"><a class="qindex" href="index.html">Main&nbsp;Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class&nbsp;Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical&nbsp;List</a> | <a class="qindex" href="annotated.html">Class&nbsp;List</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="namespacemembers.html">Namespace&nbsp;Members</a> | <a class="qindex" href="functions.html">Class&nbsp;Members</a> | <a class="qindex" href="globals.html">File&nbsp;Members</a></div>
<h1>SPL Namespace Reference</h1>
<p>
<table border=0 cellpadding=0 cellspacing=0>
<tr><td></td></tr>
<tr><td colspan=2><br><h2>Classes</h2></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>class &nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classSPL_1_1slcMutex.html">slcMutex</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Multiplatform mutex class. </em> <a href="classSPL_1_1slcMutex.html#_details">More...</a><em><br><br></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>class &nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classSPL_1_1slcPluginArgs.html">slcPluginArgs</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The plugin argument class. </em> <a href="classSPL_1_1slcPluginArgs.html#_details">More...</a><em><br><br></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>class &nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classSPL_1_1slcPluginInfo.html">slcPluginInfo</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The plugin information class. </em> <a href="classSPL_1_1slcPluginInfo.html#_details">More...</a><em><br><br></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>class &nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classSPL_1_1slaPluginServer.html">slaPluginServer</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Abstract plugin server class. </em> <a href="classSPL_1_1slaPluginServer.html#_details">More...</a><em><br><br></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>class &nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classSPL_1_1slcPluginServer.html">slcPluginServer</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Plugin server class for linux and other POSIX-based systems. </em> <a href="classSPL_1_1slcPluginServer.html#_details">More...</a><em><br><br></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>class &nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classSPL_1_1slcThreadLock.html">slcThreadLock</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Thread safe utility class. </em> <a href="classSPL_1_1slcThreadLock.html#_details">More...</a><em><br><br></td></tr>
<tr><td colspan=2><br><h2>Typedefs</h2></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>typedef bool(*&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="namespaceSPL.html#a0">SPL_INIT_FUNC</a> )(const <a class="el" href="classSPL_1_1slcPluginArgs.html">slcPluginArgs</a> *)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The plugin's initialisation function.  <a href="#a0"></a><br><br></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>typedef bool(*&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="namespaceSPL.html#a1">SPL_RUN_FUNC</a> )(const <a class="el" href="classSPL_1_1slcPluginArgs.html">slcPluginArgs</a> *)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The plugin's run function.  <a href="#a1"></a><br><br></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>typedef bool(*&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="namespaceSPL.html#a2">SPL_SHUTDOWN_FUNC</a> )(const <a class="el" href="classSPL_1_1slcPluginArgs.html">slcPluginArgs</a> *)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The plugin's shutdown function.  <a href="#a2"></a><br><br></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>typedef <a class="el" href="classSPL_1_1slcPluginInfo.html">slcPluginInfo</a> *(*&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="namespaceSPL.html#a3">SPL_INFO_FUNC</a> )(void)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The plugin's information function.  <a href="#a3"></a><br><br></td></tr>
</table>
<hr><h2>Typedef Documentation</h2>
<a class="anchor" name="a3" doxytag="SPL::SPL_INFO_FUNC" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> typedef <a class="el" href="classSPL_1_1slcPluginInfo.html">slcPluginInfo</a>*( * <a class="el" href="namespaceSPL.html#a3">SPL::SPL_INFO_FUNC</a>)( void )
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
The plugin's information function. 
<p>
    </td>
  </tr>
</table>
<a class="anchor" name="a0" doxytag="SPL::SPL_INIT_FUNC" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> typedef bool( * <a class="el" href="namespaceSPL.html#a0">SPL::SPL_INIT_FUNC</a>)( const <a class="el" href="classSPL_1_1slcPluginArgs.html">slcPluginArgs</a>* )
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
The plugin's initialisation function. 
<p>
    </td>
  </tr>
</table>
<a class="anchor" name="a1" doxytag="SPL::SPL_RUN_FUNC" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> typedef bool( * <a class="el" href="namespaceSPL.html#a1">SPL::SPL_RUN_FUNC</a>)( const <a class="el" href="classSPL_1_1slcPluginArgs.html">slcPluginArgs</a>* )
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
The plugin's run function. 
<p>
    </td>
  </tr>
</table>
<a class="anchor" name="a2" doxytag="SPL::SPL_SHUTDOWN_FUNC" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> typedef bool( * <a class="el" href="namespaceSPL.html#a2">SPL::SPL_SHUTDOWN_FUNC</a>)( const <a class="el" href="classSPL_1_1slcPluginArgs.html">slcPluginArgs</a>* )
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
The plugin's shutdown function. 
<p>
    </td>
  </tr>
</table>
<hr size="1"><address style="align: right;"><small>Generated on Sun May 9 15:01:05 2004 for SPL Library by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 > 
</a>1.3.6 </small></address>
</body>
</html>

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


Written By
Web Developer
Germany Germany
I was born in 1982 near Stuttgart / Germany and began my first steps in programming computers at the age of only nine years on an old Commodore CBM 7072. In 2002 I finished my education as IT specialist for software engineering and did my civillian service afterwards. Currently I'm working as leader of the software division in a bigger company located in south west Germany, mainly on software development and research projects for multimedia terminals and user recognition/verification systems.

Comments and Discussions