#include <plugin.h>
This class holds all the information Mudbox needs about a plugin.
Normally you do not create instances of this class directly. Instead, in your plug-in class you use the MB_PLUGIN macro like this:
The initializer function must be a static method that takes no arguments and returns void. If there is no initializer plugin for the class, this parameter can be NULL.
Public Types | |
| typedef void | initializer(void) |
Public Member Functions | |
| Plugin (void) | |
| Null constructor. More... | |
| Plugin (const QString &sName, const QString &sDescription, const QString &sAuthor, const QString &sURL, const QString &sCompileTime, initializer *fFunc=0) | |
| Constructor. Use MB_PLUGIN macro instead. More... | |
Static Public Member Functions | |
| static void | SetVersion (const QString &sName, const QString &sVersion) |
| This method sets the version number based on a plug-in name. More... | |
Public Attributes | |
| QString | m_sName |
| The name of the plug-in. More... | |
| QString | m_sDescription |
| A brief description of what it does. More... | |
| QString | m_sAuthor |
| The name of the plug-in's author. More... | |
| QString | m_sURL |
| A URL that contains information related to the plug-in (if any) More... | |
| QString | m_sCompileTime |
| The date and time that the plugin was loaded (generated automatically) More... | |
| QString | m_sPluginFolder |
| The path of the folder that the plug-in was loaded from (set at load time) More... | |
| initializer * | m_pInitializer |
| A pointer to the initializer funtion of the plug-in. More... | |
| QString | m_sVersion |
| The version of the plug-in. More... | |
| Plugin | ( | const QString & | sName, |
| const QString & | sDescription, | ||
| const QString & | sAuthor, | ||
| const QString & | sURL, | ||
| const QString & | sCompileTime, | ||
| initializer * | fFunc = 0 |
||
| ) |
Constructor. Use MB_PLUGIN macro instead.
This method sets the version number based on a plug-in name.
| QString m_sURL |
| QString m_sCompileTime |
| QString m_sPluginFolder |
| initializer* m_pInitializer |