ScummVM API documentation
DynamicPlugin Class Referenceabstract
Inheritance diagram for DynamicPlugin:
Plugin

Public Member Functions

 DynamicPlugin (const Common::Path &filename)
 
bool loadPlugin () override
 
void unloadPlugin () override
 
Common::Path getFileName () const override
 
- Public Member Functions inherited from Plugin
virtual bool loadPlugin ()=0
 
virtual void unloadPlugin ()=0
 
PluginType getType () const
 
const char * getName () const
 
template<class T >
T & get () const
 
virtual Common::Path getFileName () const
 

Protected Types

typedef int32(* IntFunc) ()
 
typedef void(* VoidFunc) ()
 
typedef PluginObject *(* GetObjectFunc) ()
 

Protected Member Functions

virtual VoidFunc findSymbol (const char *symbol)=0
 

Protected Attributes

const Common::Path _filename
 
- Protected Attributes inherited from Plugin
PluginObject * _pluginObject
 
PluginType _type
 

Member Function Documentation

◆ loadPlugin()

bool DynamicPlugin::loadPlugin ( )
inlineoverridevirtual

Implements Plugin.

◆ unloadPlugin()

void DynamicPlugin::unloadPlugin ( )
inlineoverridevirtual

Implements Plugin.

◆ getFileName()

Common::Path DynamicPlugin::getFileName ( ) const
inlineoverridevirtual

The getFileName() function gets the name of the plugin file for those plugins that have files (ie. not static). It doesn't require the plugin object to be loaded into memory, unlike getName()

Reimplemented from Plugin.


The documentation for this class was generated from the following file: