A singleton object that handles registering as a plugin with Radiant.
More...
#include <PluginModule.h>
List of all members.
Static Public Member Functions |
|
static const char * | QERPluginInit (void *hApp, void *pMainWidget) |
| Initialize plugin.
|
static const char * | QERPluginGetName () |
| Get the plugin's name.
|
static const char * | QERPluginGetCommandList () |
| Get the command list for the plugin menu, as a semicolon-separated string of tokens representing each command.
|
static const char * | QERPluginGetCommandTitleList () |
| Get the command label list for the plugin menu, as a semicolon-separated string of labels to appear in the menu.
|
static void | QERPluginDispatch (const char *command, float *vMin, float *vMax, bool bSingleBrush) |
| Invoke a plugin command.
|
Static Private Attributes |
static _QERPluginTable | _pluginAPI |
| Plugin function table.
|
Detailed Description
A singleton object that handles registering as a plugin with Radiant.
Constructor & Destructor Documentation
PluginModule::PluginModule |
( |
| ) |
|
Default constructor.
Initialize the function table.
Member Function Documentation
void PluginModule::QERPluginDispatch |
( |
const char * |
command, |
|
|
float * |
vMin, |
|
|
float * |
vMax, |
|
|
bool |
bSingleBrush |
|
) |
| |
|
static |
Invoke a plugin command.
- Parameters:
-
command | The command token. |
vMin | 3-element float vector definining min corner of selection. |
vMax | 3-element float vector definining max corner of selection. |
bSingleBrush | Dummy arg; ignored. |
const char * PluginModule::QERPluginGetCommandList |
( |
| ) |
|
|
static |
Get the command list for the plugin menu, as a semicolon-separated string of tokens representing each command.
- Returns:
- The command list string.
const char * PluginModule::QERPluginGetCommandTitleList |
( |
| ) |
|
|
static |
Get the command label list for the plugin menu, as a semicolon-separated string of labels to appear in the menu.
- Returns:
- The command label list string.
const char * PluginModule::QERPluginGetName |
( |
| ) |
|
|
static |
Get the plugin's name.
- Returns:
- The plugin name.
const char * PluginModule::QERPluginInit |
( |
void * |
hApp, |
|
|
void * |
pMainWidget |
|
) |
| |
|
static |
Initialize plugin.
- Parameters:
-
hApp | Dummy arg; ignored. |
pMainWidget | Main window widget. |
- Returns:
- The plugin name.
The documentation for this class was generated from the following files: