Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Fetching contributors…

Cannot retrieve contributors at this time

34 lines (28 sloc) 1.051 kB
/*******************************************************************************
*
* Copyright (C) 2009, Alexander Stigsen, e-texteditor.com
*
* This software is licensed under the Open Company License as described
* in the file license.txt, which you should have received as part of this
* distribution. The terms are also available at http://opencompany.org/license.
*
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
* KIND, either express or implied.
*
******************************************************************************/
#ifndef __URLENCODE_H__
#define __URLENCODE_H__
#include "wx/wxprec.h"
#ifndef WX_PRECOMP
#include "wx/string.h"
#endif
#include "wx/uri.h"
// These static functions must inherit from wxURI because they
// make use of protected member functions.
class UrlEncode : public wxURI {
public:
static wxString Encode(const wxString& url);
static wxString EncodeFilename(const wxString& filename);
static wxString EscapeUrl(const wxString& url);
};
#endif // __URLENCODE_H__
Jump to Line
Something went wrong with that request. Please try again.