summaryrefslogtreecommitdiff
path: root/server/main.cpp
diff options
context:
space:
mode:
authorTreeki <treeki@gmail.com>2013-12-25 09:00:59 +0100
committerTreeki <treeki@gmail.com>2013-12-25 09:00:59 +0100
commitb7a8b597b00eedde277836eb8530ba742edcad5d (patch)
tree1b959fa0eec02ff4e22e168aa4379b2b64575ce3 /server/main.cpp
downloadbounce_qt-b7a8b597b00eedde277836eb8530ba742edcad5d.tar.gz
bounce_qt-b7a8b597b00eedde277836eb8530ba742edcad5d.zip
commit initial bitsHEADmaster
Diffstat (limited to '')
-rw-r--r--server/main.cpp25
1 files changed, 25 insertions, 0 deletions
diff --git a/server/main.cpp b/server/main.cpp
new file mode 100644
index 0000000..f65e6bd
--- /dev/null
+++ b/server/main.cpp
@@ -0,0 +1,25 @@
+#include <QCoreApplication>
+#include "bouncer.h"
+#include "client.h"
+#include "ircnetworkconfig.h"
+#include "testthing.h"
+#include <stdio.h>
+#include <QTimer>
+
+int main(int argc, char *argv[])
+{
+ QCoreApplication a(argc, argv);
+
+ printf("[ Starting up ... ]\n");
+
+ Bouncer::instance()->setupBouncer(6744, false);
+
+ //TestThing *tt = new TestThing();
+ //QTimer::singleShot(5000, tt, SLOT(testMe()));
+
+ int retVal = a.exec();
+
+ printf("[ Complete. ]\n");
+
+ return retVal;
+}