diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-11-28 19:05:52 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-11-28 19:05:52 +0300 |
commit | b6eb53b9abdf48b88cb1978b9af97f2a879d2717 (patch) | |
tree | 5aad5623d352ec0b4aa245856958c61a384861c7 /src/commandhandler.h | |
parent | 4d453108f45f9fb2ff4f5715cc1b3ddd63d36a80 (diff) | |
parent | 71fe51d38a406012e166589b7b720d83c1ab3ade (diff) | |
download | plus-stripped1.1.11.27.tar.gz plus-stripped1.1.11.27.tar.bz2 plus-stripped1.1.11.27.tar.xz plus-stripped1.1.11.27.zip |
Merge commit 'v1.1.11.27' into strippedstripped1.1.11.27
Conflicts:
data/Makefile.am
Diffstat (limited to 'src/commandhandler.h')
-rw-r--r-- | src/commandhandler.h | 41 |
1 files changed, 14 insertions, 27 deletions
diff --git a/src/commandhandler.h b/src/commandhandler.h index 809e9e517..f8b44e04f 100644 --- a/src/commandhandler.h +++ b/src/commandhandler.h @@ -31,12 +31,6 @@ class ChatTab; extern ChatTab *localChatTab; -#ifdef __GNUC__ -#define A_UNUSED __attribute__ ((unused)) -#else -#define A_UNUSED -#endif - #define BOOLEAN_OPTIONS _("Options to /%s are \"yes\", \"no\", \"true\", "\ "\"false\", \"1\", \"0\".") @@ -263,23 +257,21 @@ class CommandHandler */ void handleNavigate(const std::string &args, ChatTab *tab); - void handleMail(const std::string &args, ChatTab *tab A_UNUSED); + void handleMail(const std::string &args, ChatTab *tab); void handleHack(const std::string &args, ChatTab *tab); - void handlePriceLoad(const std::string &args A_UNUSED, - ChatTab *tab A_UNUSED); + void handlePriceLoad(const std::string &args, ChatTab *tab); - void handlePriceSave(const std::string &args A_UNUSED, - ChatTab *tab A_UNUSED); + void handlePriceSave(const std::string &args, ChatTab *tab); - void handleTrade(const std::string &args, ChatTab *tab A_UNUSED); + void handleTrade(const std::string &args, ChatTab *tab); - void handleDisconnect(const std::string &args, ChatTab *tab A_UNUSED); + void handleDisconnect(const std::string &args, ChatTab *tab); - void handleUndress(const std::string &args, ChatTab *tab A_UNUSED); + void handleUndress(const std::string &args, ChatTab *tab); - void handleAttack(const std::string &args, ChatTab *tab A_UNUSED); + void handleAttack(const std::string &args, ChatTab *tab); void handleDirs(const std::string &args, ChatTab *tab); @@ -289,22 +281,17 @@ class CommandHandler void handleUptime(const std::string &args, ChatTab *tab); - void handleAddAttack(const std::string &args, ChatTab *tab A_UNUSED); + void handleAddAttack(const std::string &args, ChatTab *tab); - void handleAddPriorityAttack(const std::string &args, - ChatTab *tab A_UNUSED); + void handleAddPriorityAttack(const std::string &args, ChatTab *tab); - void handleRemoveAttack(const std::string &args, - ChatTab *tab A_UNUSED); + void handleRemoveAttack(const std::string &args, ChatTab *tab); - void handleAddIgnoreAttack(const std::string &args, - ChatTab *tab A_UNUSED); + void handleAddIgnoreAttack(const std::string &args, ChatTab *tab); - void handleServerIgnoreAll(const std::string &args, - ChatTab *tab A_UNUSED); + void handleServerIgnoreAll(const std::string &args, ChatTab *tab); - void handleServerUnIgnoreAll(const std::string &args, - ChatTab *tab A_UNUSED); + void handleServerUnIgnoreAll(const std::string &args, ChatTab *tab); void handleDump(const std::string &args, ChatTab *tab); @@ -313,7 +300,7 @@ class CommandHandler void outString(ChatTab *tab, const std::string &str, const std::string &def); - void handleCacheInfo(const std::string &args, ChatTab *tab A_UNUSED); + void handleCacheInfo(const std::string &args, ChatTab *tab); bool parse2Int(const std::string &args, int *x, int *y); }; |