00001 /* 00002 ***************************************************************************************** 00003 * Copyright (C) 2010-2013, 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 00064 U_STABLE const UGenderInfo* U_EXPORT2 00065 ugender_getInstance(const char *locale, UErrorCode *status); 00066 00067 00077 U_STABLE UGender U_EXPORT2 00078 ugender_getListGender(const UGenderInfo* genderinfo, const UGender *genders, int32_t size, UErrorCode *status); 00079 00080 #endif /* #if !UCONFIG_NO_FORMATTING */ 00081 00082 #endif
1.6.1