@@ -90,6 +90,14 @@ public:
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.
*/
@@ -50,6 +50,11 @@ public:
virtual bool IsInherited() {return true;}
+ virtual bool IsScriptable() { return true; }
* The name of the command as specified in CMakeList.txt.
@@ -45,6 +45,11 @@ public:
virtual const char* GetName() { return "MESSAGE";}
* Succinct documentation.