1------------------------------------------------------------------------------ 2-- -- 3-- GNAT RUN-TIME COMPONENTS -- 4-- -- 5-- A D A . L O C A L E S -- 6-- -- 7-- S p e c -- 8-- -- 9-- Copyright (C) 2010, Free Software Foundation, Inc. -- 10-- -- 11-- This specification is derived from the Ada Reference Manual for use with -- 12-- GNAT. In accordance with the copyright of that document, you can freely -- 13-- copy and modify this specification, provided that if you redistribute a -- 14-- modified version, any changes that you have made are clearly indicated. -- 15-- -- 16------------------------------------------------------------------------------ 17 18package Ada.Locales is 19 pragma Preelaborate (Locales); 20 pragma Remote_Types (Locales); 21 22 type Language_Code is array (1 .. 3) of Character range 'a' .. 'z'; 23 type Country_Code is array (1 .. 2) of Character range 'A' .. 'Z'; 24 25 Language_Unknown : constant Language_Code := "und"; 26 Country_Unknown : constant Country_Code := "ZZ"; 27 28 function Language return Language_Code; 29 function Country return Country_Code; 30 31end Ada.Locales; 32