diff options
Diffstat (limited to 'signet/ConnectionHandler.cpp')
| -rw-r--r-- | signet/ConnectionHandler.cpp | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/signet/ConnectionHandler.cpp b/signet/ConnectionHandler.cpp new file mode 100644 index 00000000..638ddc0d --- /dev/null +++ b/signet/ConnectionHandler.cpp @@ -0,0 +1,42 @@ +/* + * Copyright 2008 Ben Boeckel <MathStuf@gmail.com> + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU 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 General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program. If not, see <http://www.gnu.org/licenses/>. + */ + +// Header include +#include "ConnectionHandler.h" + +// Signet includes +#include "Client.h" + +Signet::ConnectionHandler::ConnectionHandler(QObject* parent) : + QObject(parent) +{ +} + +void Signet::ConnectionHandler::addClient(Client* socket) +{ + // TODO: Add the client +} + +void Signet::ConnectionHandler::removeClient(Client* socket) +{ + // TODO: Remove the client +} + +void Signet::ConnectionHandler::sendData(Client* client, const QByteArray& data) +{ + // TODO: Send data to the client +} |
