/xbmc/visualizations/Goom/goom2k4-0/gtk-gui-devel/intl/intl-compat.c

http://github.com/xbmc/xbmc · C · 76 lines · 43 code · 15 blank · 18 comment · 0 complexity · 93e4ab4b2eba5d2b8a36e1b2380190c5 MD5 · raw file

  1. /* intl-compat.c - Stub functions to call gettext functions from GNU gettext
  2. Library.
  3. Copyright (C) 1995 Software Foundation, Inc.
  4. This program is free software; you can redistribute it and/or modify
  5. it under the terms of the GNU General Public License as published by
  6. the Free Software Foundation; either version 2, or (at your option)
  7. any later version.
  8. This program is distributed in the hope that it will be useful,
  9. but WITHOUT ANY WARRANTY; without even the implied warranty of
  10. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  11. GNU General Public License for more details.
  12. You should have received a copy of the GNU General Public License
  13. along with this program; if not, write to the Free Software
  14. Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
  15. #ifdef HAVE_CONFIG_H
  16. # include <config.h>
  17. #endif
  18. #include "libgettext.h"
  19. /* @@ end of prolog @@ */
  20. #undef gettext
  21. #undef dgettext
  22. #undef dcgettext
  23. #undef textdomain
  24. #undef bindtextdomain
  25. char *
  26. bindtextdomain (domainname, dirname)
  27. const char *domainname;
  28. const char *dirname;
  29. {
  30. return bindtextdomain__ (domainname, dirname);
  31. }
  32. char *
  33. dcgettext (domainname, msgid, category)
  34. const char *domainname;
  35. const char *msgid;
  36. int category;
  37. {
  38. return dcgettext__ (domainname, msgid, category);
  39. }
  40. char *
  41. dgettext (domainname, msgid)
  42. const char *domainname;
  43. const char *msgid;
  44. {
  45. return dgettext__ (domainname, msgid);
  46. }
  47. char *
  48. gettext (msgid)
  49. const char *msgid;
  50. {
  51. return gettext__ (msgid);
  52. }
  53. char *
  54. textdomain (domainname)
  55. const char *domainname;
  56. {
  57. return textdomain__ (domainname);
  58. }