diff options
Diffstat (limited to 'Swiften/TLS/TLSContextFactory.h')
| -rw-r--r-- | Swiften/TLS/TLSContextFactory.h | 20 | 
1 files changed, 20 insertions, 0 deletions
diff --git a/Swiften/TLS/TLSContextFactory.h b/Swiften/TLS/TLSContextFactory.h new file mode 100644 index 0000000..849ca71 --- /dev/null +++ b/Swiften/TLS/TLSContextFactory.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 TLSContext; + +	class TLSContextFactory { +		public: +			virtual ~TLSContextFactory(); + +			virtual bool canCreate() const = 0; + +			virtual TLSContext* createTLSContext() = 0; +	}; +}  | 
 Swift