39#define SPECIALPROTOCOL_PRIVATE "private:"
41#define SPECIALPROTOCOL_PRIVATE_OBJECT u"private:object"
43#define SPECIALPROTOCOL_PRIVATE_STREAM u"private:stream"
45#define SPECIALPROTOCOL_PRIVATE_FACTORY u"private:factory"
47#define SPECIALPROTOCOL_SLOT u"slot:"
49#define SPECIALPROTOCOL_UNO u".uno:"
51#define SPECIALPROTOCOL_MACRO u"macro:"
53#define SPECIALPROTOCOL_SERVICE u"service:"
55#define SPECIALPROTOCOL_MAILTO u"mailto:"
57#define SPECIALPROTOCOL_NEWS u"news:"
static bool isProtocol(std::u16string_view sURL, EProtocol eRequired)
it checks if given URL match the required protocol only It should be used instead of specifyProtocol(...
EProtocol
well known protocols
constexpr bool starts_with(std::basic_string_view< charT, traits > sv, std::basic_string_view< charT, traits > x) noexcept
#define SPECIALPROTOCOL_UNO
#define SPECIALPROTOCOL_PRIVATE_STREAM
#define SPECIALPROTOCOL_NEWS
#define SPECIALPROTOCOL_SLOT
#define SPECIALPROTOCOL_SERVICE
#define SPECIALPROTOCOL_MAILTO
#define SPECIALPROTOCOL_PRIVATE_FACTORY
#define SPECIALPROTOCOL_MACRO
#define SPECIALPROTOCOL_PRIVATE_OBJECT