X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcommon%2Fpresetnetworks.h;h=ff7f092cdb758543cff6c02d40066372d9f26c2c;hp=f086e7f92caedbf84ced3eecb5910f60113af228;hb=c1cf157116de7fc3da96203aa6f03c38c7ebb650;hpb=0a43227b8cd44625f4881cc1545d42c8c8a4876c diff --git a/src/common/presetnetworks.h b/src/common/presetnetworks.h index f086e7f9..ff7f092c 100644 --- a/src/common/presetnetworks.h +++ b/src/common/presetnetworks.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-2016 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 * @@ -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