#include <plugin.h>
◆ Description()
virtual const char * Description |
( |
| ) |
|
|
pure virtual |
◆ Destroy()
◆ IsPluginType()
bool IsPluginType |
( |
const char * |
str | ) |
|
|
inline |
Indicates if the plugin is of the specified type.
- Parameters
-
str | The type of the plugin |
- Returns
- true if plugin is the type specified
◆ PluginDataName()
virtual const char * PluginDataName |
( |
| ) |
|
|
inlinevirtual |
Allows plugin to specify the name of its entry in the PluginData section of the .gls file. This may contain spaces but shall not contain a ':' or a newline. If this is not overriden, PluginData will not be saved or restored.
- Returns
- The unique identifier this plugin will use to store its data.
◆ PluginType()
virtual const char * PluginType |
( |
| ) |
|
|
pure virtual |
◆ ReadPluginData()
virtual void ReadPluginData |
( |
DistiAttributePluginData * |
| ) |
|
|
inlinevirtual |
Allows plugin to read in any persistant data of the form SomeAttribute: SomeValue Data will all be single-line. Data will be terminated by '}' or EOF PluginDataName() must be overriden for this to be called.
◆ ResetPluginData()
virtual void ResetPluginData |
( |
| ) |
|
|
inlinevirtual |
Allows plugin to reset its attributes back to their default value. This allows for new documents to use the default attributes rather than whatever was used last PluginDataName() must be overriden for this to be called.
◆ Version()
virtual const char * Version |
( |
| ) |
|
|
pure virtual |
◆ WritePluginData()
virtual void WritePluginData |
( |
DistiAttributePluginData * |
| ) |
|
|
inlinevirtual |
Allows plugin to write out any persistant data in the form SomeAttribute: SomeValue Data must all be single-line. PluginDataName() must be overriden for this to be called.
The documentation for this class was generated from the following file: