X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcore%2Fcore.h;h=e6203894da2cd39af8ed2f4f738c173a7082a065;hp=85fcd49e656f37b7624bfc7211942449e6a56781;hb=8699dd758516d0ded076811e8ea656adc95e69d0;hpb=d6b056e936ec441258d291b7a8af7b83f9f53016 diff --git a/src/core/core.h b/src/core/core.h index 85fcd49e..e6203894 100644 --- a/src/core/core.h +++ b/src/core/core.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-07 by the Quassel IRC Team * + * Copyright (C) 2005-08 by the Quassel Project * * devel@quassel-irc.org * * * * This program is free software; you can redistribute it and/or modify * @@ -46,8 +46,11 @@ 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); + bool startListening(uint port = Global::defaultPort); void stopListening(); void incomingConnection(); void clientHasData();