-----------------------------------------------------------------------
--                              Mast                                 --
--     Modelling and Analysis Suite for Real-Time Applications       --
--                                                                   --
--                           GMastEditor                             --
--          Graphical Editor for Modelling and Analysis              --
--                    of Real-Time Applications                      --
--                                                                   --
--                       Copyright (C) 2001-2019                     --
--                 Universidad de Cantabria, SPAIN                   --
--                                                                   --
-- Authors : Pilar del Rio                                           --
--           Michael Gonzalez                                        --
--                                                                   --
-- Contact info: Michael Gonzalez       mgh@unican.es                --
--                                                                   --
-- This program is free software; you can redistribute it and/or     --
-- modify it under the terms of the GNU General Public               --
-- License as published by the Free Software Foundation; either      --
-- version 2 of the License, or (at your option) any later version.  --
--                                                                   --
-- This program 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 --
-- General Public License for more details.                          --
--                                                                   --
-- You should have received a copy of the GNU General Public         --
-- License along with this program; if not, write to the             --
-- Free Software Foundation, Inc., 59 Temple Place - Suite 330,      --
-- Boston, MA 02111-1307, USA.                                       --
--                                                                   --
-----------------------------------------------------------------------
with Gtk.Dialog;    use Gtk.Dialog;
with Gtk.Box;       use Gtk.Box;
with Gtk.Button;    use Gtk.Button;
with Gtk.Table;     use Gtk.Table;
with Gtk.Combo_Box_Text;     use Gtk.Combo_Box_Text;
with Gtk.GEntry;    use Gtk.GEntry;
with Glib.Unicode;  use Glib.Unicode;
with Gtk.Label;     use Gtk.Label;
with Gtk.Window;    use Gtk.Window;

package Driver_Dialog_Pkg is

   type Driver_Dialog_Record is new Gtk_Dialog_Record with record
      Hbox27                            : Gtk_Hbox;
      Driver_Ok_Button                  : Gtk_Button;
      Driver_Cancel_Button              : Gtk_Button;
      Packet_Server_Table               : Gtk_Table;
      New_Operation_Button              : Gtk_Button;
      New_Server_Button                 : Gtk_Button;
      Packet_Server_Combo               : Gtk_Combo_Box_Text;
      Packet_Send_Op_Combo              : Gtk_Combo_Box_Text;
      Packet_Rece_Op_Combo              : Gtk_Combo_Box_Text;
      Driver_Type_Combo                 : Gtk_Combo_Box_Text;
      Message_Partitioning_Combo        : Gtk_Combo_Box_Text;
      Rta_Overhead_Model_Combo          : Gtk_Combo_Box_Text;
      Label621                          : Gtk_Label;
      Label620                          : Gtk_Label;
      Label89                           : Gtk_Label;
      Label90                           : Gtk_Label;
      Label91                           : Gtk_Label;
      Label92                           : Gtk_Label;
      Character_Server_Table            : Gtk_Table;
      Char_Tx_Time_Entry                : Gtk_Entry;
      Char_Rece_Op_Combo                : Gtk_Combo_Box_Text;
      Char_Send_Op_Combo                : Gtk_Combo_Box_Text;
      Char_Server_Combo                 : Gtk_Combo_Box_Text;
      Label102                          : Gtk_Label;
      Label103                          : Gtk_Label;
      Label104                          : Gtk_Label;
      Label478                          : Gtk_Label;
      Rtep_Table                        : Gtk_Table;
      Num_Of_Stations_Entry             : Gtk_Entry;
      Token_Delay_Entry                 : Gtk_Entry;
      Failure_Timeout_Entry             : Gtk_Entry;
      Label624                          : Gtk_Label;
      Label623                          : Gtk_Label;
      Label622                          : Gtk_Label;
      Token_Transmission_Retries_Entry  : Gtk_Entry;
      Packet_Transmission_Retries_Entry : Gtk_Entry;
      Label629                          : Gtk_Label;
      Label630                          : Gtk_Label;
      Label631                          : Gtk_Label;
      Label632                          : Gtk_Label;
      Label633                          : Gtk_Label;
      Packet_Interrupt_Server_Combo     : Gtk_Combo_Box_Text;
      Packet_Isr_Op_Combo               : Gtk_Combo_Box_Text;
      Token_Check_Op_Combo              : Gtk_Combo_Box_Text;
      Token_Manage_Op_Combo             : Gtk_Combo_Box_Text;
      Packet_Discard_Op_Combo           : Gtk_Combo_Box_Text;
      Token_Retransmission_Op_Combo     : Gtk_Combo_Box_Text;
      Packet_Retransmission_Op_Combo    : Gtk_Combo_Box_Text;
      Label628                          : Gtk_Label;
      Label627                          : Gtk_Label;
      Label626                          : Gtk_Label;
      Label625                          : Gtk_Label;
   end record;
   type Driver_Dialog_Access is access all Driver_Dialog_Record'Class;

   procedure Gtk_New (Driver_Dialog : out Driver_Dialog_Access);
   procedure Initialize (Driver_Dialog : access Driver_Dialog_Record'Class);

   procedure Gtk_New 
     (Driver_Dialog : out Driver_Dialog_Access;
      Parent : Gtk.Window.Gtk_Window);
   procedure Initialize 
     (Driver_Dialog : access Driver_Dialog_Record'Class;
      Parent : Gtk.Window.Gtk_Window);

end Driver_Dialog_Pkg;
