Hosted by
|
with Strings; use Strings;
package Works is
type Work is limited private;
type Work_Access is access all Work;
function Create
(Number : in String;
Title : in String)
return Work_Access;
function Get_Number
(This : access Work)
return String;
function Get_Title
(This : access Work)
return String;
private
type Work is limited record
Number : String_Access;
Title : String_Access;
end record;
end Works;
|