diff options
Diffstat (limited to 'Swiften/Component/ComponentHandshakeGenerator.h')
-rw-r--r-- | Swiften/Component/ComponentHandshakeGenerator.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/Swiften/Component/ComponentHandshakeGenerator.h b/Swiften/Component/ComponentHandshakeGenerator.h index 4181d3c..e0e3ef8 100644 --- a/Swiften/Component/ComponentHandshakeGenerator.h +++ b/Swiften/Component/ComponentHandshakeGenerator.h @@ -1,4 +1,4 @@ /* - * Copyright (c) 2010 Remko Tronçon + * Copyright (c) 2013 Remko Tronçon * Licensed under the GNU General Public License v3. * See Documentation/Licenses/GPLv3.txt for more information. @@ -9,8 +9,12 @@ #include <string> +#include <Swiften/Base/API.h> + namespace Swift { - class ComponentHandshakeGenerator { + class CryptoProvider; + + class SWIFTEN_API ComponentHandshakeGenerator { public: - static std::string getHandshake(const std::string& streamID, const std::string& secret); + static std::string getHandshake(const std::string& streamID, const std::string& secret, CryptoProvider* crypto); }; |