Hosted by
|
package body Music.Backups is
function Create
(Duration : in Positive)
return Backup_Access
is
Result : Backup_Access := new Backup;
begin
Result.Duration := Duration;
return Result;
end Create;
function Get_Duration
(This : access Backup)
return Positive is
begin
return This.Duration;
end Get_Duration;
end Music.Backups;
|