00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022 #ifndef WHISPERTAB_H
00023 #define WHISPERTAB_H
00024
00025 #include "chattab.h"
00026
00027 class Channel;
00028
00032 class WhisperTab : public ChatTab
00033 {
00034 public:
00035 const std::string &getNick() const { return mNick; }
00036
00037 void showHelp();
00038
00039 bool handleCommand(const std::string &type,
00040 const std::string &args);
00041
00042 protected:
00043 friend class ChatWindow;
00044
00050 WhisperTab(const std::string &nick);
00051
00052 ~WhisperTab();
00053
00054 void handleInput(const std::string &msg);
00055
00056 void handleCommand(const std::string &msg);
00057
00058 private:
00059 std::string mNick;
00060 };
00061
00062 #endif // CHANNELTAB_H