]> ncurses.scripts.mit.edu Git - ncurses.git/blobdiff - Ada95/samples/ncurses2-genericputs.adb
ncurses 5.6 - patch 20080112
[ncurses.git] / Ada95 / samples / ncurses2-genericputs.adb
index f17b209878d44a50cca28492d3406a71ba2dca9e..8035c72ec62b6520c0f2749c44fe0918bc1997c1 100644 (file)
@@ -7,7 +7,7 @@
 --                                 B O D Y                                  --
 --                                                                          --
 ------------------------------------------------------------------------------
--- Copyright (c) 2000 Free Software Foundation, Inc.                        --
+-- Copyright (c) 2000,2006 Free Software Foundation, Inc.                   --
 --                                                                          --
 -- Permission is hereby granted, free of charge, to any person obtaining a  --
 -- copy of this software and associated documentation files (the            --
 ------------------------------------------------------------------------------
 --  Author: Eugene V. Melaragno <aldomel@ix.netcom.com> 2000
 --  Version Control
---  $Revision: 1.1 $
+--  $Revision: 1.2 $
+--  $Date: 2006/06/25 14:24:40 $
 --  Binding Version 01.00
 ------------------------------------------------------------------------------
-with Ada.Text_IO; use Ada.Text_IO;
-with Ada.Strings.Bounded; use Ada.Strings.Bounded;
+with Ada.Text_IO;
+with Ada.Strings.Bounded;
 
 with Terminal_Interface.Curses; use Terminal_Interface.Curses;
 with Terminal_Interface.Curses.Aux; use Terminal_Interface.Curses.Aux;
 
-with Interfaces.C; use Interfaces.C;
-with Interfaces.C.Strings; use Interfaces.C.Strings;
-
+with Interfaces.C;
+with Interfaces.C.Strings;
 
 package body ncurses2.genericPuts is
 
@@ -54,7 +54,6 @@ package body ncurses2.genericPuts is
                     Str : out BS.Bounded_String;
                     Len : in  Integer := -1)
    is
-      use BS;
       function Wgetnstr (Win : Window;
                          Str : char_array;
                          Len : int) return int;
@@ -79,8 +78,6 @@ package body ncurses2.genericPuts is
       Str := To_Bounded_String (xStr (1 .. Cnt));
    end myGet;
 
-
-
    procedure myPut (Str  : out BS.Bounded_String;
                     i    : Integer;
                     Base : in     Number_Base := 10) is