00001 // © 2016 and later: Unicode, Inc. and others. 00002 // License & terms of use: http://www.unicode.org/copyright.html 00003 /* 00004 ***************************************************************************************** 00005 * Copyright (C) 2010-2013, International Business Machines 00006 * Corporation and others. All Rights Reserved. 00007 ***************************************************************************************** 00008 */ 00009 00010 #ifndef UGENDER_H 00011 #define UGENDER_H 00012 00013 #include "unicode/utypes.h" 00014 00015 #if !UCONFIG_NO_FORMATTING 00016 00017 #include "unicode/localpointer.h" 00018 00030 enum UGender { 00035 UGENDER_MALE, 00040 UGENDER_FEMALE, 00045 UGENDER_OTHER 00046 }; 00050 typedef enum UGender UGender; 00051 00052 struct UGenderInfo; 00057 typedef struct UGenderInfo UGenderInfo; 00058 00066 U_STABLE const UGenderInfo* U_EXPORT2 00067 ugender_getInstance(const char *locale, UErrorCode *status); 00068 00069 00079 U_STABLE UGender U_EXPORT2 00080 ugender_getListGender(const UGenderInfo* genderInfo, const UGender *genders, int32_t size, UErrorCode *status); 00081 00082 #endif /* #if !UCONFIG_NO_FORMATTING */ 00083 00084 #endif
1.6.1