diff --git a/include/Swiften/TLS/TLSServerContextFactory.h b/include/Swiften/TLS/TLSServerContextFactory.h new file mode 100644 index 0000000000000000000000000000000000000000..e6e9f31bd7cb4ba4dcc015a8fd289137180db3b7 --- /dev/null +++ b/include/Swiften/TLS/TLSServerContextFactory.h @@ -0,0 +1,20 @@ +/* + * Copyright (c) 2010 Remko Tronçon + * Licensed under the GNU General Public License v3. + * See Documentation/Licenses/GPLv3.txt for more information. + */ + +#pragma once + +namespace Swift { + class TLSServerContext; + + class TLSServerContextFactory { + public: + virtual ~TLSServerContextFactory(); + + virtual bool canCreate() const = 0; + + virtual TLSServerContext* createTLSServerContext() = 0; + }; +}