Work In Progress
[quassel.git] / core / core.cpp
index 4d14402..f5c06fd 100644 (file)
  ***************************************************************************/
 
 #include "core.h"
+#include "server.h"
 
 #include <QSettings>
 
 void Core::init() {
+  Server::init();
 
+}
+
+void Core::run() {
+
+  connect(&server, SIGNAL(recvLine(const QString &)), this, SIGNAL(outputLine(const QString &)));
+  //connect(
+  server.start();
+  exec();
+}
+
+void Core::connectToIrc( const QString &h, quint16 port) {
+  server.connectToIrc(h, port);
+}
+
+void Core::inputLine(const QString &s) {
+  server.putRawLine( s);
 
 }