Click here to Skip to main content
15,888,579 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.2K   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_pluginserver.h File 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_pluginserver.h File Reference</h1>The plugin server class.  
<a href="#_details">More...</a>
<p>
<code>#include "<a class="el" href="spl__typedefs_8h-source.html">spl_typedefs.h</a>"</code><br>
<code>#include "<a class="el" href="spl__plugininfo_8h-source.html">spl_plugininfo.h</a>"</code><br>
<code>#include "<a class="el" href="spl__pluginargs_8h-source.html">spl_pluginargs.h</a>"</code><br>
<code>#include &lt;map&gt;</code><br>
<code>#include &lt;string&gt;</code><br>

<p>
Include dependency graph for spl_pluginserver.h:<p><center><img src="spl__pluginserver_8h__incl.png" border="0" usemap="#spl_pluginserver.h_map" alt="Include dependency graph"></center>
<map name="spl_pluginserver.h_map">
<area href="spl__typedefs_8h.html" shape="rect" coords="7,92,97,119" alt="">
<area href="spl__plugininfo_8h.html" shape="rect" coords="193,167,289,193" alt="">
<area href="spl__pluginargs_8h.html" shape="rect" coords="68,167,169,193" alt="">
<area href="spl__platform_8h.html" shape="rect" coords="61,17,149,44" alt="">
<area href="spl__mutex_8h.html" shape="rect" coords="121,92,199,119" alt="">
</map>

<p>
This graph shows which files directly or indirectly include this file:<p><center><img src="spl__pluginserver_8h__dep__incl.png" border="0" usemap="#spl_pluginserver.hdep_map" alt="Included by dependency graph"></center>
<map name="spl_pluginserver.hdep_map">
<area href="spl__pluginserver__linux_8h.html" shape="rect" coords="17,92,161,118" alt="">
<area href="spl__pluginserver__linux_8cpp.html" shape="rect" coords="7,17,164,44" alt="">
<area href="spl__pluginserver__win32_8h.html" shape="rect" coords="192,92,341,118" alt="">
<area href="spl__pluginserver__win32_8cpp.html" shape="rect" coords="188,17,353,44" alt="">
<area href="spl__pluginserver_8cpp.html" shape="rect" coords="365,92,488,118" alt="">
<area href="spl_8h.html" shape="rect" coords="512,92,549,118" alt="">
</map>

<p>
<a href="spl__pluginserver_8h-source.html">Go to the source code of this file.</a><table border=0 cellpadding=0 cellspacing=0>
<tr><td></td></tr>
<tr><td colspan=2><br><h2>Namespaces</h2></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>namespace &nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="namespaceSPL.html">SPL</a></td></tr>

<tr><td colspan=2><br><h2>Defines</h2></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>#define&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="spl__pluginserver_8h.html#a0">SPL_API</a></td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>#define&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="spl__pluginserver_8h.html#a1">SPL_INIT_NAME</a>&nbsp;&nbsp;&nbsp;"splInitialize"</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The initialisation function's name.  <a href="#a1"></a><br><br></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>#define&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="spl__pluginserver_8h.html#a2">SPL_INIT_NAME_CODE</a>&nbsp;&nbsp;&nbsp;splInitialize</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The initialisation function's name for internal macros.  <a href="#a2"></a><br><br></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>#define&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="spl__pluginserver_8h.html#a3">SPL_RUN_NAME</a>&nbsp;&nbsp;&nbsp;"splRun"</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The run function's name.  <a href="#a3"></a><br><br></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>#define&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="spl__pluginserver_8h.html#a4">SPL_RUN_NAME_CODE</a>&nbsp;&nbsp;&nbsp;splRun</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The run function's name for internal macros.  <a href="#a4"></a><br><br></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>#define&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="spl__pluginserver_8h.html#a5">SPL_SHUTDOWN_NAME</a>&nbsp;&nbsp;&nbsp;"splShutdown"</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The shutdown function's name.  <a href="#a5"></a><br><br></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>#define&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="spl__pluginserver_8h.html#a6">SPL_SHUTDOWN_NAME_CODE</a>&nbsp;&nbsp;&nbsp;splShutdown</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The shutdown function's name for internal macros.  <a href="#a6"></a><br><br></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>#define&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="spl__pluginserver_8h.html#a7">SPL_GETINFO_NAME</a>&nbsp;&nbsp;&nbsp;"splGetInfo"</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The information function's name.  <a href="#a7"></a><br><br></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>#define&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="spl__pluginserver_8h.html#a8">SPL_GETINFO_NAME_CODE</a>&nbsp;&nbsp;&nbsp;splGetInfo</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The information function's name for internal macros.  <a href="#a8"></a><br><br></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
The plugin server class. 
<p>
<dl compact><dt><b>Version:</b></dt><dd>1.0 </dd></dl>
<dl compact><dt><b>Author:</b></dt><dd>Andreas Loeffler</dd></dl>
<hr><h2>Define Documentation</h2>
<a class="anchor" name="a0" doxytag="spl_pluginserver.h::SPL_API" ></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"> #define SPL_API
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
    </td>
  </tr>
</table>
<a class="anchor" name="a7" doxytag="spl_pluginserver.h::SPL_GETINFO_NAME" ></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"> #define SPL_GETINFO_NAME&nbsp;&nbsp;&nbsp;"splGetInfo"
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
The information function's name. 
<p>
    </td>
  </tr>
</table>
<a class="anchor" name="a8" doxytag="spl_pluginserver.h::SPL_GETINFO_NAME_CODE" ></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"> #define SPL_GETINFO_NAME_CODE&nbsp;&nbsp;&nbsp;splGetInfo
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
The information function's name for internal macros. 
<p>
    </td>
  </tr>
</table>
<a class="anchor" name="a1" doxytag="spl_pluginserver.h::SPL_INIT_NAME" ></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"> #define SPL_INIT_NAME&nbsp;&nbsp;&nbsp;"splInitialize"
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
The initialisation function's name. 
<p>
    </td>
  </tr>
</table>
<a class="anchor" name="a2" doxytag="spl_pluginserver.h::SPL_INIT_NAME_CODE" ></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"> #define SPL_INIT_NAME_CODE&nbsp;&nbsp;&nbsp;splInitialize
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
The initialisation function's name for internal macros. 
<p>
    </td>
  </tr>
</table>
<a class="anchor" name="a3" doxytag="spl_pluginserver.h::SPL_RUN_NAME" ></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"> #define SPL_RUN_NAME&nbsp;&nbsp;&nbsp;"splRun"
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
The run function's name. 
<p>
    </td>
  </tr>
</table>
<a class="anchor" name="a4" doxytag="spl_pluginserver.h::SPL_RUN_NAME_CODE" ></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"> #define SPL_RUN_NAME_CODE&nbsp;&nbsp;&nbsp;splRun
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
The run function's name for internal macros. 
<p>
    </td>
  </tr>
</table>
<a class="anchor" name="a5" doxytag="spl_pluginserver.h::SPL_SHUTDOWN_NAME" ></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"> #define SPL_SHUTDOWN_NAME&nbsp;&nbsp;&nbsp;"splShutdown"
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
The shutdown function's name. 
<p>
    </td>
  </tr>
</table>
<a class="anchor" name="a6" doxytag="spl_pluginserver.h::SPL_SHUTDOWN_NAME_CODE" ></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"> #define SPL_SHUTDOWN_NAME_CODE&nbsp;&nbsp;&nbsp;splShutdown
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
The shutdown function's name for internal macros. 
<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