summaryrefslogtreecommitdiff
path: root/server/main.cpp
diff options
context:
space:
mode:
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;
+}