ScummVM API documentation
PluginProvider Class Referenceabstract

#include <plugins.h>

Public Member Functions

virtual PluginList getPlugins ()=0
 
virtual bool isFilePluginProvider ()
 

Detailed Description

Abstract base class for Plugin factories. Subclasses of this are responsible for creating plugin objects, e.g. by loading loadable modules from storage media; by creating "fake" plugins from static code; or whatever other means.

Member Function Documentation

◆ getPlugins()

virtual PluginList PluginProvider::getPlugins ( )
pure virtual

Return a list of Plugin objects. The caller is responsible for actually loading/unloading them (by invoking the appropriate Plugin methods). Furthermore, the caller is responsible for deleting these objects eventually.

Returns
a list of Plugin instances

◆ isFilePluginProvider()

virtual bool PluginProvider::isFilePluginProvider ( )
inlinevirtual
Returns
whether or not object is a FilePluginProvider.

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