#1 2016-07-10 05:56:33

Peter Evans
Member
Registered: 2016-07-03
Posts: 32

Generating client wrappers - how to add units to Uses

I am following the manual at Section 17.2 'Generating client wrappers'.

One of the generated interfaces has as parameter a class that I define.

My class is defined in a separate unit. Call it unit X.

Is there a way automatically generate in mORMotClient the reference to unit X?

Regards,
  Peter Evans

Offline

#2 2016-07-10 11:39:31

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,240
Website

Re: Generating client wrappers - how to add units to Uses

Yes, the reference to the unit defining the class should be added by the wrapper generator.

Offline

Board footer

Powered by FluxBB