p≡p COM server adapter
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
457 B

7 years ago
7 years ago
  1. #pragma once
  2. namespace pEp {
  3. namespace utility {
  4. std::string utf8_string(std::wstring wstr, NORM_FORM norm = NormalizationC);
  5. std::string utf8_string(BSTR bstr, NORM_FORM norm = NormalizationC);
  6. std::wstring utf16_string(std::string str);
  7. BSTR utf16_bstr(std::string str);
  8. LPSAFEARRAY string_array(const ::stringlist_t *stringlist);
  9. ::stringlist_t * new_stringlist(const SAFEARRAY * safearray);
  10. }
  11. }