Automatically synchronize CoreInfo when on connect and disconnect
authorJanne Koschinski <janne@kuschku.de>
Fri, 2 Mar 2018 03:04:50 +0000 (21:04 -0600)
committerManuel Nickschas <sputnick@quassel-irc.org>
Wed, 6 Jun 2018 17:37:44 +0000 (19:37 +0200)
commitbd5414d8bfe2be18ba051d4bbf936e9ead0cdf66
treee01cedaf3cd7a6b253d8973b86fbb26b4b637b5e
parent7fe7ca0631d2e8327351806947a1e030eb203cf7
Automatically synchronize CoreInfo when on connect and disconnect

This refactors CoreInfo to be a single common class rather than
separate classes for the core and client, adjusts it to properly
use the SyncableObject infrastructure, and adds support for
dynamically updating the list on both the client and core when a
client connects or disconnects, keeping the list up-to-date at all
times.  Forwards and backwards compatibility is maintained, though
the updated client is required in order for the automatic updating
to work.

Signed-off-by: Janne Koschinski <janne@kuschku.de>
Co-authored-by: Janne Koschinski <janne@kuschku.de>
Co-authored-by: Michael Marley <michael@michaelmarley.com>
13 files changed:
src/client/CMakeLists.txt
src/client/client.cpp
src/client/client.h
src/client/clientcoreinfo.h [deleted file]
src/common/CMakeLists.txt
src/common/coreinfo.cpp [moved from src/core/corecoreinfo.h with 72% similarity]
src/common/coreinfo.h
src/core/CMakeLists.txt
src/core/corecoreinfo.cpp [deleted file]
src/core/coresession.cpp
src/core/coresession.h
src/qtui/coreinfodlg.cpp
src/qtui/coreinfodlg.h