[PATCH] Adds Cylinder helper class for cylinder info access in grantlee templates

Lubomir I. Ivanov neolit123 at gmail.com
Sun Jul 31 11:26:19 PDT 2016


On 31 July 2016 at 21:24, Lubomir I. Ivanov <neolit123 at gmail.com> wrote:
> On 31 July 2016 at 01:25, Tim Wootton <tim at tee-jay.org.uk> wrote:
>> to allow grantlee to access individual fields of the cylinder_t struct
>> rather than a string representation of the whole cylinder info
>>
>> Signed-off-by: Tim Wootton <tim at tee-jay.org.uk>
>> ---
>>  core/CMakeLists.txt                     |  1 +
>>  core/subsurface-qt/DiveObjectHelper.cpp | 13 +++++++++++++
>>  core/subsurface-qt/DiveObjectHelper.h   |  4 ++++
>>  3 files changed, 18 insertions(+)
>>
>
> <snip>
>
>> +       subsurface-qt/CylinderObjectHelper.cpp
>
> ^ this file has to be included in the patch.
>

P.S. and the header as well.

lubomir
--


More information about the subsurface mailing list