28#include <guichan/actionlistener.hpp>
39 const std::string &buttonTxt =
_(
"Stop recording"));
48 void record(
const std::string &msg);
67 void action(
const gcn::ActionEvent &event)
override;
void setRecordingFile(const std::string &msg)
Sets the file being recorded to.
bool isRecording()
Whether or not the recorder is in use.
void action(const gcn::ActionEvent &event) override
called when the button is pressed
void record(const std::string &msg)
Outputs the message to the recorder file.