Add skeletal EventStringifier
authorManuel Nickschas <sputnick@quassel-irc.org>
Tue, 28 Sep 2010 16:44:20 +0000 (18:44 +0200)
committerManuel Nickschas <sputnick@quassel-irc.org>
Wed, 13 Oct 2010 23:06:32 +0000 (01:06 +0200)
commit3eebe11329417e77038d860af3b6f35630f40450
tree403a79d0a5b9aa794596766e7b64dfcec1f0d4dc
parent5e9a649d94d1832e0b4f3f296e8a2df2d8741d9b
Add skeletal EventStringifier

This class is supposed to generate the user-visible messages from IrcEvents,
i.e. it generates MessageEvents. For now, this lives in the CoreSession, which consumes
and converts the MessageEvents into the usual Messages that are then sent to the client.

In the future, this whole class should move into the client, in order to move string generation
out of the core. There's no need to store plaintext strings in the database if we can as well
simply store the IrcEvents, plus this will allow per-client translations.
src/common/CMakeLists.txt
src/common/eventstringifier.cpp [new file with mode: 0644]
src/common/eventstringifier.h [new file with mode: 0644]
src/core/coresession.cpp
src/core/coresession.h