home *** CD-ROM | disk | FTP | other *** search
- unit Rates_impl;
-
- {This file was generated on 31 Jan 2001 11:22:44 GMT by version 03.03.03.C1.06}
- {of the Inprise VisiBroker idl2pas CORBA IDL compiler. }
-
- {Please do not edit the contents of this file. You should instead edit and }
- {recompile the original IDL which was located in the file }
- {D:\usr\bob\magazine\DELPHI.MAG\#67\src\drbob42.idl. }
-
- {Delphi Pascal unit : DrBob42_impl }
- {derived from IDL module : DrBob42 }
-
-
- interface
- uses
- SysUtils,
- CORBA,
- DrBob42_i,
- DrBob42_c;
-
- type
- TRates = class;
-
- TRates = class(TInterfacedObject, DrBob42_i.Rates)
- protected
- FRate: Single;
- public
- constructor Create;
- function interest_rate: Single;
- procedure SetRate (const rate: Single);
- end;
-
- implementation
-
- constructor TRates.Create;
- begin
- inherited;
- FRate := 1
- end;
-
- function TRates.interest_rate: Single;
- begin
- //writeln('Callback ',FRate:1:2);
- Result := FRate
- end;
-
- procedure TRates.SetRate(const rate: Single);
- begin
- FRate := rate
- end;
-
-
- initialization
-
- end.