modernize: Use raw string literals instead of escaped strings
[quassel.git] / src / common / presetnetworks.h
index 522e7fc..253e56e 100644 (file)
@@ -1,5 +1,5 @@
 /***************************************************************************
- *   Copyright (C) 2005-2015 by the Quassel Project                        *
+ *   Copyright (C) 2005-2018 by the Quassel Project                        *
  *   devel@quassel-irc.org                                                 *
  *                                                                         *
  *   This program is free software; you can redistribute it and/or modify  *
  *   51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.         *
  ***************************************************************************/
 
-#ifndef PRESETNETWORKS_H
-#define PRESETNETWORKS_H
+#pragma once
+
+#include "common-export.h"
 
 #include <QString>
 #include <QStringList>
 
 #include "network.h"
 
-class PresetNetworks
+class COMMON_EXPORT PresetNetworks
 {
 public:
     static QStringList names(bool onlyDefault = false);
@@ -36,5 +37,3 @@ public:
 private:
     static QString _networksIniPath;
 };
-
-#endif