|
@@ -53,7 +53,7 @@ namespace Framework
|
|
|
*
|
|
|
* \return the name
|
|
|
*/
|
|
|
- DLLEXPORT Text& getName();
|
|
|
+ DLLEXPORT const Text& getName() const;
|
|
|
/**
|
|
|
* calculates autocomplete posibilities when the user presses the tab
|
|
|
* key and wants to use this command
|
|
@@ -64,9 +64,9 @@ namespace Framework
|
|
|
* \param possibilities the array to which the
|
|
|
* possibilities should be added
|
|
|
*/
|
|
|
- virtual void addAutocompletePossibilities(RCArray<Text>& args,
|
|
|
+ virtual void addAutocompletePossibilities(const RCArray<Text>& args,
|
|
|
bool appendToLast,
|
|
|
- RCArray<Text>& possibilities)
|
|
|
+ RCArray<Text>& possibilities) const
|
|
|
= 0;
|
|
|
/**
|
|
|
* executes the command
|
|
@@ -74,7 +74,7 @@ namespace Framework
|
|
|
* \param args the arguments that the user has passed to the command
|
|
|
* \return true if the command was executed successfully
|
|
|
*/
|
|
|
- virtual bool execute(RCArray<Text>& args) = 0;
|
|
|
+ virtual bool execute(RCArray<Text>& args) const = 0;
|
|
|
};
|
|
|
|
|
|
/**
|