summaryrefslogtreecommitdiff
path: root/src/commandhandler.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/commandhandler.h')
-rw-r--r--src/commandhandler.h15
1 files changed, 14 insertions, 1 deletions
diff --git a/src/commandhandler.h b/src/commandhandler.h
index 783e400d..eb73f239 100644
--- a/src/commandhandler.h
+++ b/src/commandhandler.h
@@ -54,7 +54,10 @@ class CommandHandler
static char parseBoolean(const std::string &value);
- private:
+ protected:
+ friend class ChatTab;
+ friend class WhisperTab;
+
/**
* Handle an announce command.
*/
@@ -124,6 +127,16 @@ class CommandHandler
* Handle a present command.
*/
void handlePresent(const std::string &args, ChatTab *tab);
+
+ /**
+ * Handle an ignore command.
+ */
+ void handleIgnore(const std::string &args, ChatTab *tab);
+
+ /**
+ * Handle an unignore command.
+ */
+ void handleUnignore(const std::string &args, ChatTab *tab);
};
extern CommandHandler *commandHandler;