test: Add build system support and a main function for unit tests
[quassel.git] / src / core / corebacklogmanager.h
index a86f4c0..356660b 100644 (file)
@@ -18,8 +18,7 @@
  *   51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.         *
  ***************************************************************************/
 
-#ifndef COREBACKLOGMANAGER_H
-#define COREBACKLOGMANAGER_H
+#pragma once
 
 #include "backlogmanager.h"
 
@@ -27,11 +26,10 @@ class CoreSession;
 
 class CoreBacklogManager : public BacklogManager
 {
-    SYNCABLE_OBJECT
-        Q_OBJECT
+    Q_OBJECT
 
 public:
-    CoreBacklogManager(CoreSession *coreSession = 0);
+    CoreBacklogManager(CoreSession *coreSession = nullptr);
 
     CoreSession *coreSession() { return _coreSession; }
 
@@ -46,6 +44,3 @@ public slots:
 private:
     CoreSession *_coreSession;
 };
-
-
-#endif // COREBACKLOGMANAGER_H