/***************************************************************************
- * Copyright (C) 2005-08 by the Quassel Project *
+ * Copyright (C) 2005-09 by the Quassel Project *
* devel@quassel-irc.org *
* *
* This program is free software; you can redistribute it and/or modify *
class ClientCertManager;
class CertIdentity : public Identity {
+ SYNCABLE_OBJECT
Q_OBJECT
public:
CertIdentity(const Identity &other, QObject *parent = 0);
CertIdentity(const CertIdentity &other, QObject *parent = 0);
- void enableEditSsl(bool enable = true);
+#ifdef HAVE_SSL
inline bool isDirty() const { return _isDirty; }
+#else
+ inline bool isDirty() const { return false; }
+#endif
+#ifdef HAVE_SSL
+ void enableEditSsl(bool enable = true);
inline const QSslKey &sslKey() const { return _sslKey; }
inline const QSslCertificate &sslCert() const { return _sslCert; }
bool _isDirty;
QSslKey _sslKey;
QSslCertificate _sslCert;
+#endif //HAVE_SSL
};
// ========================================
// ClientCertManager
// ========================================
+#ifdef HAVE_SSL
class ClientCertManager : public CertManager {
Q_OBJECT
private:
CertIdentity *_certIdentity;
};
+#endif //HAVE_SSL
#endif //CLIENTIDENTITY_H