Class MaetermAPI
#include <MaetermAPI.h >
This class is used by other apps to send messages to the maeterm channel.
Use this interface instead of sending messages directly to ensure message keywords are spelled correctly, all parameters are specified, and error checked.
The receiving app defined this interface to ensure it receives the messages correctly.
const UserDevice& device |
end-user's device |
const string& key |
single keystroke, either the character or special keystroke name |
int keycode |
the printable ASCII code of the key, if defined |
Relay user keystroke to a specific MaeTerm instance's application.
const UserDevice& device |
end-user's device |
Request a redraw.
Return value: true if sent
const string& request |
the request keyword |
const XMLData& params |
the data (parameter payload) Default value: XMLData("") |
Send an API message to channel maeterm.