Restructure IPC URL handling (fixes #851)

This commit is contained in:
Wladimir J. van der Laan
2012-02-17 15:26:20 +01:00
parent 39231e9105
commit 23b3cf9d10
7 changed files with 39 additions and 40 deletions

View File

@@ -31,7 +31,8 @@ public:
// Parse "bitcoin:" URL into recipient object, return true on succesful parsing
// See Bitcoin URL definition discussion here: https://bitcointalk.org/index.php?topic=33490.0
static bool parseBitcoinURL(const QUrl *url, SendCoinsRecipient *out);
static bool parseBitcoinURL(const QUrl &url, SendCoinsRecipient *out);
static bool parseBitcoinURL(QString url, SendCoinsRecipient *out);
// HTML escaping for rich text controls
static QString HtmlEscape(const QString& str, bool fMultiLine=false);