home *** CD-ROM | disk | FTP | other *** search
/ Enigma Amiga Life 113 / EnigmaAmiga113CD.iso / software / sviluppo / fm2000 / locale.c < prev    next >
Encoding:
C/C++ Source or Header  |  2000-02-04  |  1.2 KB  |  38 lines

  1. /*
  2.      Filemaster - Multitasking directory utility.
  3.      Copyright (C) 2000  Toni Wilen
  4.      
  5.      This program is free software; you can redistribute it and/or
  6.      modify it under the terms of the GNU General Public License
  7.      as published by the Free Software Foundation; either version 2
  8.      of the License, or (at your option) any later version.
  9.      
  10.      This program is distributed in the hope that it will be useful,
  11.      but WITHOUT ANY WARRANTY; without even the implied warranty of
  12.      MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  13.      GNU General Public License for more details.
  14.      
  15.      You should have received a copy of the GNU General Public License
  16.      along with this program; if not, write to the Free Software
  17.      Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  18. */
  19.  
  20.  
  21. #include <exec/types.h>
  22. #include <libraries/locale.h>
  23. #include "fmlocale.h"
  24.  
  25. STRPTR __asm GetString(register __a0 struct LocaleInfo *li,register __d0 ULONG id);
  26.  
  27. UBYTE *getstring(WORD sn)
  28. {
  29. struct LocaleInfo li;
  30. extern struct Catalog *catalog;
  31. extern struct Library *LocaleBase;
  32.  
  33. li.li_LocaleBase=LocaleBase;
  34. li.li_Catalog=catalog;
  35.  
  36. return(GetString(&li,sn));
  37. }
  38.