Files @ daeb6dfc9a9f
Branch filter:

Location: libtransport.git/include/Swiften/TLS/Schannel/SchannelServerContextFactory.h

Conrad Kostecki
Enable support for Qt5

Since Qt4 is EOL, we should also support libcommuni build with Qt5.
In order not to break Fedora docker builds, -DENABLE_QT4 is introduced.

When set to 'ON', support for Qt4 is being enabled,
otherwise support for Qt5 is enabled.

Signed-off-by: Conrad Kostecki <conrad@kostecki.com>
/*
 * Copyright (c) 2011 Soren Dreijer
 * Licensed under the simplified BSD license.
 * See Documentation/Licenses/BSD-simplified.txt for more information.
 */

#pragma once

#include "Swiften/TLS/TLSServerContextFactory.h"

namespace Swift {
	class SchannelServerContextFactory : public TLSServerContextFactory {
		public:
			bool canCreate() const;
			virtual TLSServerContext* createTLSServerContext();
	};
}