ircabot/libirc/libircclient/generic.h

31 lines
943 B
C++

//This program is free software: you can redistribute it and/or modify
//it under the terms of the GNU Lesser General Public License as published by
//the Free Software Foundation, either version 3 of the License, or
//(at your option) any later version.
//This program is distributed in the hope that it will be useful,
//but WITHOUT ANY WARRANTY; without even the implied warranty of
//MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
//GNU Lesser General Public License for more details.
// Copyright (c) Petr Bena 2015
#ifndef LIBIRCCLIENTGENERIC_H
#define LIBIRCCLIENTGENERIC_H
#include <QObject>
#include <QAbstractSocket>
#include <QString>
namespace libircclient
{
namespace Generic
{
QString ErrorCode2String(QAbstractSocket::SocketError type);
//! Merge unique items in 2 lists
QList<QString> UniqueMerge(QList<QString> a, QList<QString> b);
}
}
#endif // LIBIRCCLIENTGENERIC_H