dcc: Add persistent settings for core-side DCC
authorManuel Nickschas <sputnick@quassel-irc.org>
Fri, 7 Oct 2016 22:40:46 +0000 (00:40 +0200)
committerManuel Nickschas <sputnick@quassel-irc.org>
Fri, 7 Oct 2016 22:40:46 +0000 (00:40 +0200)
commitbe04b68a0f10891b81c07cdda204a9abc0ac56a7
tree5d63861e5269b15a3c70f5ea34f6f0813421bdca
parentf459864d268cfac32d94aec1cf17069fb8a1161b
dcc: Add persistent settings for core-side DCC

This introduces a new syncable object DccConfig that holds core-side
DCC settings, such as the network configuration. The configuration
is persisted as a per-user setting in the database.

The CoreSession's DccConfig instance is synced to connected clients
and accessible via the Client singleton.
src/client/client.cpp
src/client/client.h
src/common/CMakeLists.txt
src/common/dccconfig.cpp [new file with mode: 0644]
src/common/dccconfig.h [new file with mode: 0644]
src/core/CMakeLists.txt
src/core/coredccconfig.cpp [new file with mode: 0644]
src/core/coredccconfig.h [new file with mode: 0644]
src/core/coresession.cpp
src/core/coresession.h