modernize: Reformat ALL the source... again!
[quassel.git] / src / common / presetnetworks.h
index 57187dc..ff7f092 100644 (file)
  *   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