Introducing the first shiny stuff for our new event-based core backend
authorManuel Nickschas <sputnick@quassel-irc.org>
Sun, 5 Sep 2010 18:15:45 +0000 (20:15 +0200)
committerManuel Nickschas <sputnick@quassel-irc.org>
Wed, 13 Oct 2010 23:06:31 +0000 (01:06 +0200)
commitd3c9d89989df59c073fc33637ba4e8bbdb6ab397
treecec65fa7c75c498bc6764f09451971cbb553f2c1
parent97163ce1aa773c04f12fe517a3110f834478d0a2
Introducing the first shiny stuff for our new event-based core backend

This adds a (very rudimentary) base class for events, and a (very rudimentary)
EventManager. The manager so far allows registering event handlers (even via explicit
methods, or by providing a QObject. In the latter case, matching slots will be automatically
registered (i.e. a method handleIrcEventJoin() will be registered as handler for
IrcEventJoin).
src/common/CMakeLists.txt
src/common/event.cpp [new file with mode: 0644]
src/common/event.h [new file with mode: 0644]
src/common/eventmanager.cpp [new file with mode: 0644]
src/common/eventmanager.h [new file with mode: 0644]