diff options
Diffstat (limited to 'src/gui/chat.h')
-rw-r--r-- | src/gui/chat.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/gui/chat.h b/src/gui/chat.h index 8ca0e4c9..bb742a77 100644 --- a/src/gui/chat.h +++ b/src/gui/chat.h @@ -37,6 +37,7 @@ class BrowserBox; class ScrollArea; class TabbedArea; class Channel; +class ItemLinkHandler; enum { @@ -141,6 +142,9 @@ class ChatWindow : public Window, /** Called to set current text */ void setInputText(std::string input_str); + /** Called to add item to chat */ + void addItemText(int itemid, const std::string &item); + /** Override to reset mTmpVisible */ void setVisible(bool visible); @@ -175,6 +179,9 @@ class ChatWindow : public Window, ScrollArea *scroll; }; + /** Used for showing item popup on clicking links **/ + ItemLinkHandler *mItemLinkHandler; + /** Tabbed area for holding each channel. */ TabbedArea *mChatTabs; |