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
PluginType getType () const
 
const char * getName () const
 
template<class T >
T & get () 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

◆ 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: