X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fcommon%2Fpresetnetworks.h;h=e6320bf59381cbbfab1a3b616b774aac35280e81;hb=45645a28bdc5b6c1052b3e4cebf8cc80832d205a;hp=57187dc9780031ead48257e4c3b10bc03c0bd40a;hpb=68878dc8366f2f4a0afe132847aad9a51a80cdbf;p=quassel.git diff --git a/src/common/presetnetworks.h b/src/common/presetnetworks.h index 57187dc9..e6320bf5 100644 --- a/src/common/presetnetworks.h +++ b/src/common/presetnetworks.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-2018 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