| 
 Hosted by 
   | 
 
 
 
 
 
 
 
 
with Strings; use Strings; 
 
package Words is 
 
    
   type Words is limited private; 
 
    
   type Words_Access is access all Words; 
 
    
   function Create 
     return Words_Access;  
 
    
   procedure Set_Lang 
     (This : access Words;  
      Lang : in String);    
 
    
   function Get_Lang 
     (This : access Words)  
     return String;         
 
    
   procedure Set_Relative_X 
     (This       : access Words;  
      Relative_X : in Integer);   
 
    
   function Get_Relative_X 
     (This : access Words)  
     return Integer;        
 
    
   procedure Set_Relative_Y 
     (This       : access Words;  
      Relative_Y : in Integer);   
 
    
   function Get_Relative_Y 
     (This : access Words)  
     return Integer;        
 
    
   procedure Set_Text 
     (This : access Words;  
      Text : in String);    
 
    
   function Get_Text 
     (This : access Words)  
     return String;         
 
private 
 
    
   type Words is limited record 
      Lang       : String_Access; 
      Relative_X : Integer; 
      Relative_Y : Integer; 
      Text       : String_Access; 
   end record; 
 
end Words; 
 |