modernize: Pass arguments by value and move in constructors
[quassel.git] / src / common / coreinfo.h
index 26879d4..17db3cb 100644 (file)
 
 #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: