diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-10-12 16:21:11 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-10-12 16:21:11 +0300 |
commit | 2e8e53fb5e3f2ba7d0d4f55b0c6705d12ec8efa9 (patch) | |
tree | 95eabbcc64c3420f3b40110ee84e21bebf9bd557 /src/gui/widgets/tabs/chat/chattab.h | |
parent | 1d689e6492993a66935c7b36ff9827f6c170e166 (diff) | |
download | manaplus-2e8e53fb5e3f2ba7d0d4f55b0c6705d12ec8efa9.tar.gz manaplus-2e8e53fb5e3f2ba7d0d4f55b0c6705d12ec8efa9.tar.bz2 manaplus-2e8e53fb5e3f2ba7d0d4f55b0c6705d12ec8efa9.tar.xz manaplus-2e8e53fb5e3f2ba7d0d4f55b0c6705d12ec8efa9.zip |
Add log file name into chattab.
Diffstat (limited to 'src/gui/widgets/tabs/chat/chattab.h')
-rw-r--r-- | src/gui/widgets/tabs/chat/chattab.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gui/widgets/tabs/chat/chattab.h b/src/gui/widgets/tabs/chat/chattab.h index aa4162ce3..41a02030e 100644 --- a/src/gui/widgets/tabs/chat/chattab.h +++ b/src/gui/widgets/tabs/chat/chattab.h @@ -59,6 +59,7 @@ class ChatTab notfinal : public Tab ChatTab(const Widget2 *const widget, const std::string &name, const std::string &channel, + const std::string &logName, const ChatTabType::Type &type); A_DELETE_COPY(ChatTab) @@ -136,7 +137,7 @@ class ChatTab notfinal : public Tab int getType() const A_WARN_UNUSED { return mType; } - virtual void saveToLogFile(const std::string &msg) const; + void saveToLogFile(std::string msg) const; const std::list<std::string> &getRows() const A_WARN_UNUSED { return mTextOutput->getRows(); } @@ -198,6 +199,7 @@ class ChatTab notfinal : public Tab BrowserBox *mTextOutput; ScrollArea *mScrollArea; std::string mChannelName; + std::string mLogName; ChatTabType::Type mType; bool mAllowHightlight; bool mRemoveNames; |