home *** CD-ROM | disk | FTP | other *** search
/ Tools / WinSN5.0Ver.iso / NETSCAP.50 / WIN1998.ZIP / ns / cmd / xfe / felocale.h < prev    next >
Encoding:
C/C++ Source or Header  |  1998-04-08  |  1.6 KB  |  71 lines

  1. /* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*-
  2.  *
  3.  * The contents of this file are subject to the Netscape Public License
  4.  * Version 1.0 (the "NPL"); you may not use this file except in
  5.  * compliance with the NPL.  You may obtain a copy of the NPL at
  6.  * http://www.mozilla.org/NPL/
  7.  *
  8.  * Software distributed under the NPL is distributed on an "AS IS" basis,
  9.  * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
  10.  * for the specific language governing rights and limitations under the
  11.  * NPL.
  12.  *
  13.  * The Initial Developer of this code under the NPL is Netscape
  14.  * Communications Corporation.  Portions created by Netscape are
  15.  * Copyright (C) 1998 Netscape Communications Corporation.  All Rights
  16.  * Reserved.
  17.  */
  18. /* felocale.h - header file for things exported by locale.c */
  19.  
  20.  
  21. #ifdef    __cplusplus
  22. extern "C" {
  23. #endif
  24.  
  25. #include <libi18n.h>
  26.  
  27. #include <Xm/Xm.h>
  28.  
  29. #include "xp_core.h"
  30. #include "fonts.h"
  31.  
  32. extern int16 fe_LocaleCharSetID;
  33.  
  34. extern char fe_LocaleCharSetName[];
  35.  
  36. XP_BEGIN_PROTOS
  37.  
  38. unsigned char *
  39. fe_ConvertFromLocaleEncoding(int16, unsigned char *);
  40.  
  41. unsigned char *
  42. fe_ConvertToLocaleEncoding(int16, unsigned char *);
  43.  
  44. XmString
  45. fe_ConvertToXmString(unsigned char *, int16, fe_Font, XmFontType, XmFontList *);
  46.  
  47. char *
  48. fe_GetNormalizedLocaleName(void);
  49.  
  50. char *
  51. fe_GetTextSelection(Widget);
  52.  
  53. char *
  54. fe_GetTextField(Widget);
  55.  
  56. void
  57. fe_InitCollation(void);
  58.  
  59. void
  60. fe_SetTextField(Widget, const char *);
  61.  
  62. void
  63. fe_SetTextFieldAndCallBack(Widget, const char *);
  64.  
  65. XP_END_PROTOS
  66.  
  67. #ifdef    __cplusplus
  68. }
  69. #endif
  70.  
  71.