-- $Date: 2004/03/08 11:05:10 $
-- $Revision: 1.3 $
-- $Author: jcrocholl $
-- $Hash: 81c29b6c4a9909cadbef57b21746adb0 $

-- This file was automatically created with ado.php.
-- Manual changes will be lost when it is updated.

with Ada.Tags; use Ada.Tags;
with Music; use Music;

package Music.Backups is

   -- Public representation.
   type Backup is new Music_Data with private;

   -- Work-around for GNAT bug.
   Backup_Tag : constant String;

   -- Pointer to representation data.
   type Backup_Access is access all Backup;

   -- Constructor for instances.
   function Create
     (Duration : in Positive-- The initial duration.
     return Backup_Access;    -- The newly created backup.

   -- Accessor to read the duration of a backup.
   function Get_Duration
     (This : access Backup-- The backup to read from.
     return Positive;       -- The duration of that backup.

private

   -- Private representation.
   type Backup is
     new Music_Data with
      record
         Duration : Positive;
      end record;

   -- Work-around for GNAT bug.
   Backup_Tag : constant String := "music.backups.backup";

end Music.Backups;