X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=core%2Fcore.h;h=7cfececef468a89c08280050ff646bc17f6b3999;hp=4220056d940de8aa4d268bcb5f2b9e6b9d1b944a;hb=8b192b08f3df4ce0e7cc4a08564645c76efa688d;hpb=a975272aca8f0deb25c395532b189141979304e5 diff --git a/core/core.h b/core/core.h index 4220056d..7cfecece 100644 --- a/core/core.h +++ b/core/core.h @@ -25,17 +25,33 @@ #include #include +#include "server.h" + typedef QMap VarMap; -class Core { +class Core : public QThread { + Q_OBJECT public: + static void init(); static VarMap loadNetworks(); static void storeNetworks(VarMap); static VarMap loadIdentities(); static void storeIdentities(VarMap); + public slots: + void inputLine(const QString &); // temp + void connectToIrc(const QString &, quint16 port = 6667); + + signals: + void outputLine(const QString &); // temp + + private: + void run(); + + Server server; // temp + }; #endif