65 CommandMethod(T *call,
void (T::*method)()) : _call(call), _method(method) {}
A library for creating RISC OS toolbox applications.
Definition: abouttobeshownlistener.cc:34
Base class for commands in tbx.
Definition: command.h:36
Template to create a command that calls a member function.
Definition: command.h:52
virtual void execute()=0
This method is call to execute the command.
Base class for all toolbox event listeners.
Definition: listener.h:33
CommandMethod(T *call, void(T::*method)())
Construct the Command method for the given object and method on it.
Definition: command.h:65
virtual void execute()
Calls the method on the object given in the constructor.
Definition: command.h:70