ENH: Start includding the scripting support

This commit is contained in:
Andy Cedilnik 2003-10-29 08:58:54 -05:00
parent b79c2f5a4c
commit 69dd3218ba
3 changed files with 18 additions and 0 deletions

View File

@ -90,6 +90,14 @@ public:
return false; return false;
} }
/**
* This determines if the command is invoked when in script mode.
*/
virtual bool IsScriptable()
{
return false;
}
/** /**
* This determines if the method is deprecated or not. * This determines if the method is deprecated or not.
*/ */

View File

@ -50,6 +50,11 @@ public:
*/ */
virtual bool IsInherited() {return true;} virtual bool IsInherited() {return true;}
/**
* This determines if the command is invoked when in script mode.
*/
virtual bool IsScriptable() { return true; }
/** /**
* The name of the command as specified in CMakeList.txt. * The name of the command as specified in CMakeList.txt.
*/ */

View File

@ -45,6 +45,11 @@ public:
*/ */
virtual const char* GetName() { return "MESSAGE";} virtual const char* GetName() { return "MESSAGE";}
/**
* This determines if the command is invoked when in script mode.
*/
virtual bool IsScriptable() { return true; }
/** /**
* Succinct documentation. * Succinct documentation.
*/ */