X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcommon%2Fpresetnetworks.h;h=05d38e438e63e2ac0e7e657ae2974ec4e85b7ec2;hp=522e7fc8d51866f170ea96150d719cc719b122bc;hb=097f625c4bd147f4127573ad8ab48555f9dc62d3;hpb=b65b9f7615165e8700a44d59b7275a55558dd45b diff --git a/src/common/presetnetworks.h b/src/common/presetnetworks.h index 522e7fc8..05d38e43 100644 --- a/src/common/presetnetworks.h +++ b/src/common/presetnetworks.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-2015 by the Quassel Project * + * Copyright (C) 2005-2020 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