165 |
|
{$ENDIF} |
166 |
|
end; |
167 |
|
|
168 |
+ |
{ TDIRBItem } |
169 |
+ |
|
170 |
+ |
TDIRBItem = class(TParamBlockItem,IDIRBItem) |
171 |
+ |
public |
172 |
+ |
{$IFDEF FPC} |
173 |
+ |
procedure IDIRBItem.SetAsInteger = SetAsInteger2; |
174 |
+ |
{$ELSE} |
175 |
+ |
procedure SetAsInteger(aValue: integer); |
176 |
+ |
{$ENDIF} |
177 |
+ |
end; |
178 |
+ |
|
179 |
|
{ TCustomParamBlock } |
180 |
|
|
181 |
|
{$IFDEF FPC} |
226 |
|
constructor Create; |
227 |
|
end; |
228 |
|
|
229 |
+ |
TDIRB = class (TCustomParamBlock<TDIRBItem,IDIRBItem>, IDIRB); |
230 |
+ |
|
231 |
|
implementation |
232 |
|
|
233 |
|
uses FBMessages {$IFNDEF FPC} , TypInfo {$ENDIF}; |
235 |
|
const |
236 |
|
MaxBufferSize = 65535; |
237 |
|
|
238 |
+ |
{ TDIRBItem } |
239 |
+ |
{$IFNDEF FPC} |
240 |
+ |
procedure TDIRBItem.SetAsInteger(aValue: integer); |
241 |
+ |
begin |
242 |
+ |
SetAsInteger2(aValue); |
243 |
+ |
end; |
244 |
+ |
{$ENDIF} |
245 |
+ |
|
246 |
|
{ TBPBItem } |
247 |
|
{$IFNDEF FPC} |
248 |
|
procedure TBPBItem.SetAsInteger(aValue: integer); |