You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On 2015-10-02 16:00:22 @ksmith0 created this issue by saying:
Instead of maintaining an ever increasingly complicated list of commands it may be easier to create a class which is a friend of Poll so that access to private and protected members is allowed. Each class then inherits from an abstract class with a static functions of the type static bool PollCommand::ExecuteCommand(Poll *) = 0.
The tab complete list could then be made upon the registration of each command.
The PollCommand class could also have signatures for abstract help routines. static bool PollComand::Help(bool shortHelp) = 0.
The text was updated successfully, but these errors were encountered:
On 2015-10-02 16:00:22 @ksmith0 created this issue by saying:
Instead of maintaining an ever increasingly complicated list of commands it may be easier to create a class which is a friend of Poll so that access to private and protected members is allowed. Each class then inherits from an abstract class with a static functions of the type
static bool PollCommand::ExecuteCommand(Poll *) = 0
.The tab complete list could then be made upon the registration of each command.
The PollCommand class could also have signatures for abstract help routines.
static bool PollComand::Help(bool shortHelp) = 0
.The text was updated successfully, but these errors were encountered: