diff options
Diffstat (limited to 'include/tools/urlobj.hxx')
-rw-r--r-- | include/tools/urlobj.hxx | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/tools/urlobj.hxx b/include/tools/urlobj.hxx index fef9f469c359..8905334e7e9f 100644 --- a/include/tools/urlobj.hxx +++ b/include/tools/urlobj.hxx @@ -484,6 +484,14 @@ public: */ static OUString GetScheme(INetProtocol eTheScheme); + /** Return the a human-readable name for a given scheme. + + @param eTheScheme One of the supported URL schemes. + + @return The protocol name of URLs of the given scheme. + */ + static OUString GetSchemeName(INetProtocol eTheScheme); + static inline INetProtocol CompareProtocolScheme(const OString& rTheAbsURIRef) { return CompareProtocolScheme(extend(rTheAbsURIRef)); } |