src/share/native/java/lang/java_props.h

Print this page




  24  */
  25 
  26 #ifndef _JAVA_PROPS_H
  27 #define _JAVA_PROPS_H
  28 
  29 #include <jni_util.h>
  30 
  31 /* The preferred native type for storing text on the current OS */
  32 #ifdef WIN32
  33 #include <tchar.h>
  34 typedef WCHAR nchar;
  35 #else
  36 typedef char nchar;
  37 #endif
  38 
  39 typedef struct {
  40     char *os_name;
  41     char *os_version;
  42     char *os_arch;
  43 




  44     nchar *tmp_dir;
  45     nchar *font_dir;
  46     nchar *user_dir;
  47 
  48     char *file_separator;
  49     char *path_separator;
  50     char *line_separator;
  51 
  52     nchar *user_name;
  53     nchar *user_home;
  54 
  55     char *language;
  56     char *format_language;
  57     char *display_language;
  58     char *script;
  59     char *format_script;
  60     char *display_script;
  61     char *country;
  62     char *format_country;
  63     char *display_country;




  24  */
  25 
  26 #ifndef _JAVA_PROPS_H
  27 #define _JAVA_PROPS_H
  28 
  29 #include <jni_util.h>
  30 
  31 /* The preferred native type for storing text on the current OS */
  32 #ifdef WIN32
  33 #include <tchar.h>
  34 typedef WCHAR nchar;
  35 #else
  36 typedef char nchar;
  37 #endif
  38 
  39 typedef struct {
  40     char *os_name;
  41     char *os_version;
  42     char *os_arch;
  43 
  44 #ifdef JDK_ARCH_ABI_PROP_NAME
  45     char *sun_arch_abi;
  46 #endif
  47 
  48     nchar *tmp_dir;
  49     nchar *font_dir;
  50     nchar *user_dir;
  51 
  52     char *file_separator;
  53     char *path_separator;
  54     char *line_separator;
  55 
  56     nchar *user_name;
  57     nchar *user_home;
  58 
  59     char *language;
  60     char *format_language;
  61     char *display_language;
  62     char *script;
  63     char *format_script;
  64     char *display_script;
  65     char *country;
  66     char *format_country;
  67     char *display_country;