}
-void GuiApplication::dispatch(FuncRequest const & cmd)
+bool GuiApplication::dispatch(FuncRequest const & cmd)
{
switch(cmd.action) {
}
default:
- break;
+ // Notify the caller that the action has not been dispatched.
+ return false;
}
+
+ // The action has been dispatched.
+ return true;
}