ManaPlus
|
#include <inputactionremotelistener.h>
Public Member Functions | |
InputActionRemoteListener () | |
void | action (const ActionEvent &event) |
void | setCommand (const std::string &command, const std::string &args) |
Public Member Functions inherited from ActionListener | |
virtual | ~ActionListener () |
Protected Attributes | |
std::string | mCommand |
std::string | mArgs |
Additional Inherited Members | |
Protected Member Functions inherited from ActionListener | |
ActionListener () | |
Definition at line 29 of file inputactionremotelistener.h.
InputActionRemoteListener::InputActionRemoteListener | ( | ) |
Definition at line 30 of file inputactionremotelistener.cpp.
|
virtual |
Called when an action is recieved from a widget. It is used to be able to recieve a notification that an action has occured.
actionEvent | The event of the action. |
Implements ActionListener.
Definition at line 37 of file inputactionremotelistener.cpp.
References InputManager::executeRemoteChatCommand(), ActionEvent::getId(), inputManager, mArgs, and mCommand.
|
inline |
Definition at line 38 of file inputactionremotelistener.h.
References mArgs, and mCommand.
Referenced by ItemLinkHandler::handleCommandLink().
|
protected |
Definition at line 47 of file inputactionremotelistener.h.
Referenced by action(), and setCommand().
|
protected |
Definition at line 46 of file inputactionremotelistener.h.
Referenced by action(), and setCommand().