From b8fbba5eb92cda32b13d65f3704adf778da82f38 Mon Sep 17 00:00:00 2001 From: Mattes D Date: Wed, 11 Nov 2015 10:32:42 +0100 Subject: Added PieceStructures generator. --- src/Generating/VerticalLimit.h | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 src/Generating/VerticalLimit.h (limited to 'src/Generating/VerticalLimit.h') diff --git a/src/Generating/VerticalLimit.h b/src/Generating/VerticalLimit.h new file mode 100644 index 000000000..0e36424ac --- /dev/null +++ b/src/Generating/VerticalLimit.h @@ -0,0 +1,26 @@ + +// VerticalLimit.h + +// Declares the public interface for cPiece's cVerticalLimit implementations + + + + + +#pragma once + +#include "PieceGenerator.h" + + + + + +/** Returns a new cPiece::cVerticalLimit descendant based on the specified description. +a_LimitDesc is in the format "|". The params and the pipe may be omitted. +If an unknown class is requested or the param parsing fails, nullptr is returned. +If a_LogWarnings is true, any problem is reported into the server console. */ +cPiece::cVerticalLimitPtr CreateVerticalLimitFromString(const AString & a_LimitDesc, bool a_LogWarnings); + + + + -- cgit v1.2.3