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