summaryrefslogtreecommitdiffstats
path: root/signet/ConnectionHandler.cpp
diff options
context:
space:
mode:
authorBen Boeckel <MathStuf@gmail.com>2008-10-12 01:39:07 +0000
committerBen Boeckel <MathStuf@gmail.com>2008-10-12 01:39:07 +0000
commit2e4b02a9410fc51dc0c97bd4a9fd0b8c45bda27f (patch)
treee63fe620e7ed88675a26b603b2313bd24ffb43a5 /signet/ConnectionHandler.cpp
parent927c42e73cce66acccc7056ea330a2362b455a00 (diff)
downloadsigen-2e4b02a9410fc51dc0c97bd4a9fd0b8c45bda27f.tar.gz
sigen-2e4b02a9410fc51dc0c97bd4a9fd0b8c45bda27f.tar.xz
sigen-2e4b02a9410fc51dc0c97bd4a9fd0b8c45bda27f.zip
[FIX] Still figuring out things for signet
[ADD] Files for signet git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@274 6ecfd1a5-f3ed-3746-8530-beee90d26b22
Diffstat (limited to 'signet/ConnectionHandler.cpp')
-rw-r--r--signet/ConnectionHandler.cpp42
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
+}