summaryrefslogtreecommitdiff
path: root/src/commands.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-05-18 16:17:08 +0300
committerAndrei Karas <akaras@inbox.ru>2013-05-18 16:17:08 +0300
commitea28a76cfbace0ccc8d25e523b410f2dea339423 (patch)
treec5582fe4d9b26dc381ef90ed7a155ea050514243 /src/commands.h
parent8fdbbe936fc0bb99b0c3d851b7a5b522514ba2b9 (diff)
downloadmv-ea28a76cfbace0ccc8d25e523b410f2dea339423.tar.gz
mv-ea28a76cfbace0ccc8d25e523b410f2dea339423.tar.bz2
mv-ea28a76cfbace0ccc8d25e523b410f2dea339423.tar.xz
mv-ea28a76cfbace0ccc8d25e523b410f2dea339423.zip
add new chat commands.
/enablehighlight - enable sound hightlight in chat tab /disablehighlight - disable sound hightlight in chat tab
Diffstat (limited to 'src/commands.h')
-rw-r--r--src/commands.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/commands.h b/src/commands.h
index bc45bf837..96423d748 100644
--- a/src/commands.h
+++ b/src/commands.h
@@ -114,6 +114,8 @@ namespace Commands
decHandler(cacheInfo);
decHandler(execute);
decHandler(testsdlfont);
+ decHandler(enableHighlight);
+ decHandler(disableHighlight);
void replaceVars(std::string &str);
} // namespace Commands
@@ -192,6 +194,8 @@ static const CommandInfo commands[] =
{"open", &Commands::open},
{"execute", &Commands::execute},
{"testsdlfont", &Commands::testsdlfont},
+ {"enablehighlight", &Commands::enableHighlight},
+ {"disablehighlight", &Commands::disableHighlight},
{"hack", &Commands::hack}
};