removed namespaces
This commit is contained in:
@@ -6,11 +6,7 @@
|
||||
|
||||
#include <QCoreApplication>
|
||||
|
||||
using namespace chatterino::messages;
|
||||
|
||||
namespace chatterino {
|
||||
namespace providers {
|
||||
namespace irc {
|
||||
|
||||
AbstractIrcServer::AbstractIrcServer()
|
||||
{
|
||||
@@ -271,6 +267,4 @@ void AbstractIrcServer::forEachChannel(std::function<void(ChannelPtr)> func)
|
||||
}
|
||||
}
|
||||
|
||||
} // namespace irc
|
||||
} // namespace providers
|
||||
} // namespace chatterino
|
||||
|
||||
@@ -10,8 +10,6 @@
|
||||
#include <mutex>
|
||||
|
||||
namespace chatterino {
|
||||
namespace providers {
|
||||
namespace irc {
|
||||
|
||||
class AbstractIrcServer
|
||||
{
|
||||
@@ -72,6 +70,4 @@ private:
|
||||
// bool autoReconnect_ = false;
|
||||
};
|
||||
|
||||
} // namespace irc
|
||||
} // namespace providers
|
||||
} // namespace chatterino
|
||||
|
||||
@@ -1,8 +1,7 @@
|
||||
#include "IrcAccount.hpp"
|
||||
|
||||
// namespace chatterino {
|
||||
// namespace providers {
|
||||
// namespace irc {
|
||||
//
|
||||
// IrcAccount::IrcAccount(const QString &_userName, const QString &_nickName, const QString
|
||||
// &_realName,
|
||||
// const QString &_password)
|
||||
@@ -32,6 +31,5 @@
|
||||
//{
|
||||
// return this->password;
|
||||
//}
|
||||
//} // namespace irc
|
||||
//} // namespace providers
|
||||
//
|
||||
//} // namespace chatterino
|
||||
|
||||
@@ -3,8 +3,7 @@
|
||||
#include <QString>
|
||||
|
||||
// namespace chatterino {
|
||||
// namespace providers {
|
||||
// namespace irc {
|
||||
//
|
||||
// class IrcAccount
|
||||
//{
|
||||
// public:
|
||||
@@ -22,6 +21,5 @@
|
||||
// QString realName;
|
||||
// QString password;
|
||||
//};
|
||||
//} // namespace irc
|
||||
//} // namespace providers
|
||||
//
|
||||
//} // namespace chatterino
|
||||
|
||||
@@ -1,11 +1,9 @@
|
||||
#include "IrcChannel2.hpp"
|
||||
|
||||
namespace chatterino {
|
||||
namespace providers {
|
||||
namespace irc {
|
||||
|
||||
// IrcChannel::IrcChannel()
|
||||
//{
|
||||
//}
|
||||
} // namespace irc
|
||||
} // namespace providers
|
||||
//
|
||||
} // namespace chatterino
|
||||
|
||||
@@ -1,13 +1,11 @@
|
||||
#pragma once
|
||||
|
||||
namespace chatterino {
|
||||
namespace providers {
|
||||
namespace irc {
|
||||
|
||||
// class IrcChannel
|
||||
//{
|
||||
// public:
|
||||
// IrcChannel();
|
||||
//};
|
||||
} // namespace irc
|
||||
} // namespace providers
|
||||
//
|
||||
} // namespace chatterino
|
||||
|
||||
@@ -1,8 +1,6 @@
|
||||
#include "IrcConnection2.hpp"
|
||||
|
||||
namespace chatterino {
|
||||
namespace providers {
|
||||
namespace irc {
|
||||
|
||||
IrcConnection::IrcConnection(QObject *parent)
|
||||
: Communi::IrcConnection(parent)
|
||||
@@ -33,6 +31,4 @@ IrcConnection::IrcConnection(QObject *parent)
|
||||
});
|
||||
}
|
||||
|
||||
} // namespace irc
|
||||
} // namespace providers
|
||||
} // namespace chatterino
|
||||
|
||||
@@ -6,8 +6,6 @@
|
||||
#include <QTimer>
|
||||
|
||||
namespace chatterino {
|
||||
namespace providers {
|
||||
namespace irc {
|
||||
|
||||
class IrcConnection : public Communi::IrcConnection
|
||||
{
|
||||
@@ -22,6 +20,4 @@ private:
|
||||
std::atomic<bool> recentlyReceivedMessage_{true};
|
||||
};
|
||||
|
||||
} // namespace irc
|
||||
} // namespace providers
|
||||
} // namespace chatterino
|
||||
|
||||
@@ -3,12 +3,10 @@
|
||||
#include <cassert>
|
||||
|
||||
namespace chatterino {
|
||||
namespace providers {
|
||||
namespace irc {
|
||||
|
||||
// IrcServer::IrcServer(const QString &hostname, int port)
|
||||
//{
|
||||
// this->initConnection();
|
||||
//}
|
||||
} // namespace irc
|
||||
} // namespace providers
|
||||
//
|
||||
} // namespace chatterino
|
||||
|
||||
@@ -4,8 +4,7 @@
|
||||
#include "providers/irc/AbstractIrcServer.hpp"
|
||||
|
||||
namespace chatterino {
|
||||
namespace providers {
|
||||
namespace irc {
|
||||
|
||||
// class IrcServer
|
||||
//{
|
||||
// public:
|
||||
@@ -20,6 +19,5 @@ namespace irc {
|
||||
// virtual void privateMessageReceived(Communi::IrcPrivateMessage *message);
|
||||
// virtual void messageReceived(Communi::IrcMessage *message);
|
||||
//};
|
||||
} // namespace irc
|
||||
} // namespace providers
|
||||
//
|
||||
} // namespace chatterino
|
||||
|
||||
Reference in New Issue
Block a user