Add a timestamp to events
authorManuel Nickschas <sputnick@quassel-irc.org>
Thu, 7 Oct 2010 07:45:33 +0000 (09:45 +0200)
committerManuel Nickschas <sputnick@quassel-irc.org>
Wed, 13 Oct 2010 23:06:33 +0000 (01:06 +0200)
commite49f87a6227dc6f82c17126a886cfc83ccf5e3ed
treeb28f3e909884650cedefffc86d27b1cf96f3a37d
parent46a76ffbf0e9e7af3d4ceb074c0b8dff461b4a86
Add a timestamp to events

This is not set automatically for now, as I'm not sure if it's worth the overhead
of querying the system clock for every event we create.

The timestamp is set on reception of data on the socket (i.e. a bit earlier in the chain
than in the old message handling) and carried over into IrcEvents by the IrcParser.
EventStringifier will carry over the timestamp to MessageEvents.
src/common/event.h
src/common/ircevent.h
src/common/messageevent.cpp
src/common/messageevent.h
src/core/corenetwork.cpp
src/core/eventstringifier.cpp
src/core/ircparser.cpp