Files
PolyORB/doc/echo-impl-body.adb
Thomas Quinot 67885f8149 Get rid of some unnecessary elaboration pragmas.
Submitted by:	Vadim Godunko
Reviewed by:	Thomas Quinot

[Imported from Perforce change 9319 at 2006-12-01 21:19:57]

Subversion-branch: /trunk/polyorb
Subversion-revision: 36825
2005-05-09 17:06:06 +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;