ICU_String.h 735 B

1234567891011121314151617181920212223242526272829
  1. #pragma once
  2. class CICU_String
  3. {
  4. public:
  5. CICU_String();
  6. virtual ~CICU_String();
  7. bool Load();
  8. bool IsUpperEx(wchar_t c);
  9. wchar_t ToLowerEx(wchar_t c);
  10. wchar_t ToUpperEx(wchar_t c);
  11. CString ToLowerStringEx(CString source);
  12. CString ToUpperStringEx(CString source);
  13. private:
  14. HMODULE m_dllHandle;
  15. bool(__cdecl* u_isUUppercase)(wchar_t c);
  16. wchar_t(__cdecl* u_tolower)(wchar_t c);
  17. wchar_t(__cdecl* u_toupper)(wchar_t c);
  18. int(__cdecl* u_strToLower)(wchar_t* dest, int destCapacity, const wchar_t* src, int srcLength, const char* locale, int* pErrorCode);
  19. int(__cdecl* u_strToUpper)(wchar_t* dest, int destCapacity, const wchar_t* src, int srcLength, const char* locale, int* pErrorCode);
  20. };