mirror of
https://github.com/AdaCore/PolyORB.git
synced 2026-02-12 13:01:15 -08:00
38 lines
2.4 KiB
Ada
38 lines
2.4 KiB
Ada
------------------------------------------------------------------------------
|
|
-- --
|
|
-- GLADE EXAMPLES --
|
|
-- --
|
|
-- C O N T R O L L E R --
|
|
-- --
|
|
-- S p e c --
|
|
-- --
|
|
-- $Revision$
|
|
-- --
|
|
-- Copyright (C) 1996 Free Software Foundation, Inc. --
|
|
-- --
|
|
-- GLADE is free software; you can redistribute it and/or modify it --
|
|
-- under terms of the GNU General Public License as published by the Free --
|
|
-- Software Foundation; either version 2, or (at your option) any later --
|
|
-- version. GLADE is distributed in the hope that it will be useful, but --
|
|
-- WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABI- --
|
|
-- LITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public --
|
|
-- License for more details. You should have received a copy of the GNU --
|
|
-- General Public License distributed with GLADE; see file COPYING. If --
|
|
-- not, write to the Free Software Foundation, 59 Temple Place - Suite 330, --
|
|
-- Boston, MA 02111-1307, USA. --
|
|
-- --
|
|
-- GLADE is maintained by ACT Europe. --
|
|
-- (email:distribution@act-europe.gnat.com). --
|
|
-- --
|
|
------------------------------------------------------------------------------
|
|
|
|
with Common; use Common;
|
|
package Controller is
|
|
pragma Remote_Call_Interface;
|
|
type Worker_Access is access all Worker'Class;
|
|
procedure Register (W : Worker_Access);
|
|
function Get_Worker return Worker_Access;
|
|
procedure Get_Integer (Message : String; Value : out Integer);
|
|
procedure Done (Message : String);
|
|
end Controller;
|