| 
    spBase
    
   | 
 
A class to handle plugin-based processing. More...
#include <sp/spPlugin.h>

Related Symbols | |
(Note that these are not member symbols.)  | |
| spPlugin * | spLoadPlugin (const char *plugin_name) | 
| spBool | spFreePlugin (spPlugin *plugin) | 
| spBool | spEqPluginType (spPlugin *plugin, spPluginType type) | 
| const char * | spGetPluginName (spPlugin *plugin) | 
| const char * | spGetPluginId (spPlugin *plugin) | 
| const char * | spGetPluginDescription (spPlugin *plugin) | 
| const char * | spGetPluginInformation (spPlugin *plugin) | 
| long | spGetPluginVersionId (spPlugin *plugin) | 
| int | spGetPluginPriority (spPlugin *plugin) | 
| spBool | spGetPluginVersion (spPlugin *plugin, int *version, int *revision) | 
A class to handle plugin-based processing.
Actually, spPlugin is not a class, but a typedefed type by typedef struct _spPlugin spPlugin;. 
      
  | 
  related | 
Loads a plugin. If you call this function before calling spFreePlugin() , the identical address of the plugin that has already loaded. In this case, the number of calls of spFreePlugin() must be balanced with that of spLoadPlugin() .
| [in] | plugin_name | The null-terminated name of the plugin excluding the suffix. The directories specified by spSetPluginSearchPath() or the default directories are searched. | 
Unloads the plugin. If you call spLoadPlugin() multiple times, the number of calls of spFreePlugin() must be balanced with that of spLoadPlugin() .
| [in] | plugin | The pointer to spPlugin type obtained by spLoadPlugin() . | 
| SP_TRUE | Success | 
| SP_FALSE | Failure | 
Checks the type of the plugin.
      
  | 
  related | 
Gets the name of the plugin.
      
  | 
  related | 
Gets the ID of the plugin.
      
  | 
  related | 
Gets the short description of the plugin which doesn't include line breaks.
      
  | 
  related | 
Gets the detailed description of the plugin which can include line breaks.
      
  | 
  related | 
Gets the version ID of the plugin which is an integer of long type.
      
  | 
  related | 
Gets the priority of the plugin to determine which plugin is used for a purpose, when several plugins for the purpose are found. SP_PLUGIN_PRIORITY_HIGHEST is the highest and SP_PLUGIN_PRIORITY_LOWEST is the lowest priority.