00001 /* 00002 ***************************************************************************************** 00003 * Copyright (C) 2010-2012, International Business Machines 00004 * Corporation and others. All Rights Reserved. 00005 ***************************************************************************************** 00006 */ 00007 00008 #ifndef UGENDER_H 00009 #define UGENDER_H 00010 00011 #include "unicode/utypes.h" 00012 00013 #if !UCONFIG_NO_FORMATTING 00014 00015 #include "unicode/localpointer.h" 00016 00028 enum UGender { 00033 UGENDER_MALE, 00038 UGENDER_FEMALE, 00043 UGENDER_OTHER 00044 }; 00048 typedef enum UGender UGender; 00049 00054 struct UGenderInfo; 00055 typedef struct UGenderInfo UGenderInfo; 00056 00063 U_STABLE const UGenderInfo* U_EXPORT2 00064 ugender_getInstance(const char *locale, UErrorCode *status); 00065 00066 00076 U_DRAFT UGender U_EXPORT2 00077 ugender_getListGender(const UGenderInfo* genderinfo, const UGender *genders, int32_t size, UErrorCode *status); 00078 00079 #endif /* #if !UCONFIG_NO_FORMATTING */ 00080 00081 #endif