Files
PolyORB/docs/echo-impl-body.adb
Thomas Quinot b266a2d97a Move documentation from doc/ to docs/, for consistency with other
products.

[Imported from Perforce change 9855 at 2006-12-01 22:19:43]

Subversion-branch: /trunk/polyorb
Subversion-revision: 37320
2006-02-01 19:59:56 +00:00

30 lines
582 B
Ada

with Ada.Text_IO;
with Echo.Skel;
pragma Warnings (Off, Echo.Skel);
-- No entity from Echo.Skel is referenced.
package body Echo.Impl is
----------------
-- EchoString --
----------------
function EchoString
(Self : access Object;
Mesg : in CORBA.String)
return CORBA.String
is
pragma Warnings (Off);
pragma Unreferenced (Self);
pragma Warnings (On);
begin
Ada.Text_IO.Put_Line
("Echoing string: « " & CORBA.To_Standard_String (Mesg)
& " »");
return Mesg;
end EchoString;
end Echo.Impl;