utf8_helper.h
author Markus Schaber <markus@pep-security.net>
Wed, 07 Feb 2018 18:53:25 +0100
branchCOM-74
changeset 270 c713a265866f
parent 40 dfb59114debe
permissions -rw-r--r--
COM-74: Expose _PEP_enc_format to app for EncryptMessage

Remove obsolete (and now wrong) assertion of fpr != null
vb@0
     1
#pragma once
vb@0
     2
vb@10
     3
namespace pEp {
vb@10
     4
    namespace utility {
vb@10
     5
vb@10
     6
        std::string utf8_string(std::wstring wstr, NORM_FORM norm = NormalizationC);
vb@10
     7
        std::string utf8_string(BSTR bstr, NORM_FORM norm = NormalizationC);
vb@10
     8
        std::wstring utf16_string(std::string str);
vb@40
     9
        BSTR utf16_bstr(std::string str);
vb@40
    10
        LPSAFEARRAY string_array(const ::stringlist_t *stringlist);
vb@10
    11
        ::stringlist_t * new_stringlist(const SAFEARRAY * safearray);
vb@10
    12
    }
vb@10
    13
}