diff options
Diffstat (limited to 'Swiften/TLS/TLSError.h')
-rw-r--r-- | Swiften/TLS/TLSError.h | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/Swiften/TLS/TLSError.h b/Swiften/TLS/TLSError.h index 1608a17..bed5be9 100644 --- a/Swiften/TLS/TLSError.h +++ b/Swiften/TLS/TLSError.h @@ -12,22 +12,22 @@ #include <Swiften/Base/Error.h> namespace Swift { - class SWIFTEN_API TLSError : public Error { - public: - typedef boost::shared_ptr<TLSError> ref; + class SWIFTEN_API TLSError : public Error { + public: + typedef boost::shared_ptr<TLSError> ref; - enum Type { - UnknownError, - CertificateCardRemoved - }; + enum Type { + UnknownError, + CertificateCardRemoved + }; - TLSError(Type type = UnknownError) : type(type) {} + TLSError(Type type = UnknownError) : type(type) {} - Type getType() const { - return type; - } + Type getType() const { + return type; + } - private: - Type type; - }; + private: + Type type; + }; } |