Go to the source code of this file.
Classes | |
class | WizOp |
The Camelot Text file format supports templating. Each argument to a template is processed by a WizOp. The WizOp's extracted from the registry, which this class represents, are then Available Properties in the Wizard Properties dialog. More... | |
class | WizOps |
This collection of WizOps is used by the Wizard Properties dialog. More... | |
Functions | |
WizOps & | GetWizOps () |
|
Definition at line 287 of file tmpltarg.cpp. 00288 { 00289 // This static dummy object is used for returning in the ERROR2 case 00290 // The original used to return a ptr to a local variable, which is a tad dangerous. 00291 // This solution is not ideal, because there's a permanent instance of an object 00292 // that will probably never be used. 00293 static WizOps DummyOps; 00294 00295 WizOps* const pWizOps = GetApplication()->GetWizOps(); 00296 ERROR2IF(pWizOps == NULL, DummyOps, "No WizOps"); 00297 00298 return *pWizOps; 00299 }
|