Moving alias expansion yet again - this time into AliasManager itself
authorManuel Nickschas <sputnick@quassel-irc.org>
Wed, 4 Mar 2009 10:56:41 +0000 (11:56 +0100)
committerManuel Nickschas <sputnick@quassel-irc.org>
Fri, 13 Mar 2009 19:03:06 +0000 (20:03 +0100)
commit7a44d67d565fe4f627e64b158a91a5978591c743
treee238e2559aa173a5b5a481346815e2f505cc880f
parentc6c580709fe2492614c01c4b37c3cadcc5e24363
Moving alias expansion yet again - this time into AliasManager itself

We need alias handling both client (for /exec) and core (for perform) side.
Thus, we need it in mod_common. AliasManager is now able to process an input
line, providing a list of resulting commands. In doing this, it also ensures that
privmsgs are always prefixed by /SAY.
The client and core input handlers both pipe commands through AliasManager now. At
some point, we can think about client-only and core-only aliases, maybe.
13 files changed:
src/client/CMakeLists.txt
src/client/clientaliasmanager.cpp [new file with mode: 0644]
src/client/clientaliasmanager.h [new file with mode: 0644]
src/client/clientuserinputhandler.cpp
src/client/clientuserinputhandler.h
src/common/aliasmanager.cpp
src/common/aliasmanager.h
src/core/corealiasmanager.cpp
src/core/corealiasmanager.h
src/core/userinputhandler.cpp
src/core/userinputhandler.h
src/qtui/settingspages/aliasesmodel.cpp
src/qtui/settingspages/aliasesmodel.h