--------------------------------------------------------------------------------
--                                                                            --
-- Copyright (C) 2004, RISC OS Ada Library (RASCAL) developers.               --
--                                                                            --
-- This library is free software; you can redistribute it and/or              --
-- modify it under the terms of the GNU Lesser General Public                 --
-- License as published by the Free Software Foundation; either               --
-- version 2.1 of the License, or (at your option) any later version.         --
--                                                                            --
-- This library is distributed in the hope that it will be useful,            --
-- but WITHOUT ANY WARRANTY; without even the implied warranty of             --
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU           --
-- Lesser General Public License for more details.                            --
--                                                                            --
-- You should have received a copy of the GNU Lesser General Public           --
-- License along with this library; if not, write to the Free Software        --
-- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA    --
--                                                                            --
--------------------------------------------------------------------------------

-- @brief NetFiler related types and methods.
-- $Author$
-- $Date$
-- $Revision$

with Interfaces.C;   use Interfaces.C;
with System;         use System;

with RASCAL.OS;      use RASCAL.OS;

package RASCAL.NetFiler is


   --
   -- This message is broadcasted by the NetFiler to enable some task to display a *Notify command.
   --If no one acknowledges the message, the NetFiler will display it using Wimp_ReportError.
   --
   type Message_Notify is
   record
   Header         : Message_Event_Header;
   Station_Number : Byte;
   Network_Number : Byte;
   Real_Time      : Real_Time_Type;
   Message        : Char_Array(1..200);
   end record;
   pragma Convention (C, Message_Notify);

   type Message_Notify_Pointer is access Message_Notify;

   type AMEL_Message_Notify is abstract new
        Message_EventListener(Message_Event_Notify) with
   record
   Event : Message_Notify_Pointer;
   end record;

private
end RASCAL.NetFiler;