/***************************************************************************
- * 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 *
public:
CoreCertManager(CoreIdentity &identity);
- void setId(IdentityId id);
-
#ifdef HAVE_SSL
virtual const QSslKey &sslKey() const;
virtual const QSslCertificate &sslCert() const;
virtual void setSslCert(const QByteArray &encoded);
#endif
+ void setId(IdentityId id);
+
private:
CoreIdentity &identity;
};
inline const QSslCertificate &sslCert() const { return _sslCert; }
inline void setSslCert(const QSslCertificate &cert) { _sslCert = cert; }
void setSslCert(const QByteArray &encoded);
-#endif HAVE_SSL
+#endif /* HAVE_SSL */
- CoreIdentity& CoreIdentity::operator=(const CoreIdentity &identity);
+ CoreIdentity& operator=(const CoreIdentity &identity);
private:
#ifdef HAVE_SSL