modernize: Reformat ALL the source... again!
[quassel.git] / src / common / presetnetworks.h
index 6dc85f7..ff7f092 100644 (file)
@@ -1,5 +1,5 @@
 /***************************************************************************
- *   Copyright (C) 2005-2014 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);
-    static QStringList defaultChannels(const QString &networkName);
-    static NetworkInfo networkInfo(const QString &networkName);
+    static QStringList defaultChannels(const QStringnetworkName);
+    static NetworkInfo networkInfo(const QStringnetworkName);
 
 private:
     static QString _networksIniPath;
 };
-
-#endif