diff options
author | Tobias Markmann <tm@ayena.de> | 2015-10-30 16:48:45 (GMT) |
---|---|---|
committer | Swift Review <review@swift.im> | 2015-11-09 14:45:17 (GMT) |
commit | 9132d9c10942e98f34fb7f1edc3141f73f0f3649 (patch) | |
tree | 99d9a0e67a7db43f2b242beaa650f38bfdc3d3ed /Swiften/Crypto/Hash.h | |
parent | 8f55f01251b99d73291d4deb4311a0e0d1e9e06d (diff) | |
download | swift-9132d9c10942e98f34fb7f1edc3141f73f0f3649.zip swift-9132d9c10942e98f34fb7f1edc3141f73f0f3649.tar.bz2 |
Change Windows to Unix line endings
Test-Information:
Still builds and tests pass.
Change-Id: I040423ab6f6934610e336f3af22d174a685af66a
Diffstat (limited to 'Swiften/Crypto/Hash.h')
-rw-r--r-- | Swiften/Crypto/Hash.h | 44 |
1 files changed, 22 insertions, 22 deletions
diff --git a/Swiften/Crypto/Hash.h b/Swiften/Crypto/Hash.h index c054e4e..f3a8937 100644 --- a/Swiften/Crypto/Hash.h +++ b/Swiften/Crypto/Hash.h @@ -1,25 +1,25 @@ -/*
+/* * Copyright (c) 2013-2015 Isode Limited. - * All rights reserved.
- * See the COPYING file for more information.
- */
-
-#pragma once
-
-#include <vector>
-
+ * All rights reserved. + * See the COPYING file for more information. + */ + +#pragma once + +#include <vector> + #include <Swiften/Base/API.h> -#include <Swiften/Base/ByteArray.h>
-#include <Swiften/Base/SafeByteArray.h>
-
-namespace Swift {
+#include <Swiften/Base/ByteArray.h> +#include <Swiften/Base/SafeByteArray.h> + +namespace Swift { class SWIFTEN_API Hash { - public:
- virtual ~Hash();
-
- virtual Hash& update(const ByteArray& data) = 0;
- virtual Hash& update(const SafeByteArray& data) = 0;
-
- virtual std::vector<unsigned char> getHash() = 0;
- };
-}
+ public: + virtual ~Hash(); + + virtual Hash& update(const ByteArray& data) = 0; + virtual Hash& update(const SafeByteArray& data) = 0; + + virtual std::vector<unsigned char> getHash() = 0; + }; +} |