X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcommon%2Fcoreinfo.h;h=17db3cb129efba52fe896506e46cdcdb470b0358;hp=26879d4ccfae4caf388129aa8b082cd53bc06797;hb=3a3e844f9fcfd12235a0086af75ecd503b621ef4;hpb=bd5414d8bfe2be18ba051d4bbf936e9ead0cdf66 diff --git a/src/common/coreinfo.h b/src/common/coreinfo.h index 26879d4c..17db3cb1 100644 --- a/src/common/coreinfo.h +++ b/src/common/coreinfo.h @@ -20,13 +20,15 @@ #pragma once +#include "common-export.h" + #include "syncableobject.h" /* * gather various information about the core. */ -class CoreInfo : public SyncableObject +class COMMON_EXPORT CoreInfo : public SyncableObject { Q_OBJECT SYNCABLE_OBJECT @@ -39,7 +41,15 @@ public: void setConnectedClientData(int, QVariantList); + /** + * Reset the core info state, clearing anything saved + */ + void reset(); + signals: + /** + * Signals that core information has changed + */ void coreDataChanged(QVariantMap); public slots: