X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4cc52142b82bae7cd5f0159ca8990b551fb15893..d2f3b08582317760addae3bf02f28bb42dc2bf70:/include/wx/uri.h diff --git a/include/wx/uri.h b/include/wx/uri.h index c433a15ab9..b273c37a12 100644 --- a/include/wx/uri.h +++ b/include/wx/uri.h @@ -5,16 +5,13 @@ // Modified By: // Created: 07/01/2004 // RCS-ID: $Id$ -// Licence: wxWindows +// Copyright: (c) Ryan Norton +// Licence: wxWindows Licence ///////////////////////////////////////////////////////////////////////////// #ifndef _WX_URI_H_ #define _WX_URI_H_ -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) -#pragma interface "uri.h" -#endif - #include "wx/defs.h" #include "wx/object.h" #include "wx/string.h" @@ -119,9 +116,11 @@ protected: static void Normalize(wxChar* uri, bool bIgnoreLeads = false); static void UpTree(const wxChar* uristart, const wxChar*& uri); + static void UpTree(wxString::const_iterator uristart, + wxString::const_iterator& uri); - static wxChar TranslateEscape(const wxChar* s); - static void Escape (wxString& s, const wxChar& c); + static wxUniChar TranslateEscape(const wxString::const_iterator& s); + static void Escape(wxString& s, const wxChar& c); static bool IsEscape(const wxChar*& uri); static wxChar CharToHex(const wxChar& c);