X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcore%2Fcore.h;h=fc20772cd98c7a1d0ea9e8818da0c92b92a6919e;hp=602f7bf4c6039cc20bf756afbd94e06e2d8edcd0;hb=9ac6ae4ee26819874d8843ba09f38a24088d663d;hpb=97d674034551438238c568e8b42efb08e1ba7354 diff --git a/src/core/core.h b/src/core/core.h index 602f7bf4..fc20772c 100644 --- a/src/core/core.h +++ b/src/core/core.h @@ -1,11 +1,11 @@ /*************************************************************************** - * Copyright (C) 2005/06 by The Quassel Team * + * Copyright (C) 2005-07 by the Quassel IRC Team * * devel@quassel-irc.org * * * * 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 2 of the License, or * - * (at your option) any later version. * + * (at your option) version 3. * * * * This program is distributed in the hope that it will be useful, * * but WITHOUT ANY WARRANTY; without even the implied warranty of * @@ -27,6 +27,7 @@ #include #include "global.h" +#include "types.h" class CoreSession; class Storage; @@ -45,6 +46,9 @@ class Core : public QObject { static QVariant connectLocalClient(QString user, QString passwd); static void disconnectLocalClient(); + static void saveState(); + static void restoreState(); + private slots: bool startListening(uint port = DEFAULT_PORT); void stopListening();