X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcore%2Foidentdconfiggenerator.h;h=81ee21c496637bb085f9a7705f61e8d74b5151da;hp=9e05162a7929741120bc0d8ab8a221bfeab0e69a;hb=da885f3c8e152e9bdf573290adcf53bed58d95d1;hpb=160492494676f09b7836badc165727a538f03ece;ds=sidebyside diff --git a/src/core/oidentdconfiggenerator.h b/src/core/oidentdconfiggenerator.h index 9e05162a..81ee21c4 100644 --- a/src/core/oidentdconfiggenerator.h +++ b/src/core/oidentdconfiggenerator.h @@ -36,6 +36,7 @@ class OidentdConfigGenerator : public QObject Q_OBJECT public: explicit OidentdConfigGenerator(QObject *parent = 0); + ~OidentdConfigGenerator(); signals: @@ -46,13 +47,14 @@ public slots: private: bool init(); bool writeConfig(); - bool parseConfig(bool keepQuasselStanzas = true); + bool parseConfig(bool readQuasselStanzas = false); bool lineByUs(const QByteArray &line); bool _initialized; QDateTime _lastSync; QFile *_configFile; - QByteArray _config; + QByteArray _parsedConfig; + QByteArray _quasselConfig; // Mutex isn't strictly necessary at the moment, since with the current invocation in Core only one instance at a time exists QMutex _mutex;