summaryrefslogtreecommitdiff
path: root/src/recorder.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/recorder.h')
-rw-r--r--src/recorder.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/recorder.h b/src/recorder.h
index fe49810f..eeaf4821 100644
--- a/src/recorder.h
+++ b/src/recorder.h
@@ -31,18 +31,18 @@ class ChatWindow;
class Recorder : public ButtonBoxListener
{
+ private:
+ ChatWindow *mChat;
+ std::ofstream mStream;
+ ButtonBox *mButtonBox;
public:
Recorder(ChatWindow *chat);
- void record(const std::string &msg);
- void respond(const std::string &msg);
- void help() const;
- void help(const std::string &args) const;
- void buttonBoxRespond();
- bool isRecording() const {return mStream.is_open();}
+ void record(const std::string &msg);
+ void respond(const std::string &msg);
+ void help() const;
+ void help(const std::string &args) const;
+ void buttonBoxRespond();
+ bool isRecording() {return (bool) mStream.is_open();}
virtual ~Recorder();
- private:
- ChatWindow *mChat;
- std::ofstream mStream;
- ButtonBox *mButtonBox;
};
#endif