X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fcommon%2Fpresetnetworks.h;h=e6320bf59381cbbfab1a3b616b774aac35280e81;hb=45645a28bdc5b6c1052b3e4cebf8cc80832d205a;hp=6dc85f7f9e2b631b9d33260bbeffe5dea78148fd;hpb=e095b7d97b0e794083801878d7c15b3a43dc38b0;p=quassel.git diff --git a/src/common/presetnetworks.h b/src/common/presetnetworks.h index 6dc85f7f..e6320bf5 100644 --- a/src/common/presetnetworks.h +++ b/src/common/presetnetworks.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-2014 by the Quassel Project * + * Copyright (C) 2005-2019 by the Quassel Project * * devel@quassel-irc.org * * * * This program is free software; you can redistribute it and/or modify * @@ -18,23 +18,22 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * ***************************************************************************/ -#ifndef PRESETNETWORKS_H -#define PRESETNETWORKS_H +#pragma once + +#include "common-export.h" #include #include #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 QString& networkName); + static NetworkInfo networkInfo(const QString& networkName); private: static QString _networksIniPath; }; - -#endif