BUrl: Remove HAIKU_TARGET_PLATFORM_HAIKU from main header.
These are really only defined during the build of Haiku itself, so we don't want them in a system header. Since none of these functions are virtual, leaving them as declared but not defined should be fine.
This commit is contained in:
@@ -64,10 +64,8 @@ public:
|
|||||||
void UrlEncode(bool strict = false);
|
void UrlEncode(bool strict = false);
|
||||||
void UrlDecode(bool strict = false);
|
void UrlDecode(bool strict = false);
|
||||||
|
|
||||||
#ifdef HAIKU_TARGET_PLATFORM_HAIKU
|
|
||||||
status_t IDNAToAscii();
|
status_t IDNAToAscii();
|
||||||
status_t IDNAToUnicode();
|
status_t IDNAToUnicode();
|
||||||
#endif
|
|
||||||
|
|
||||||
// Url encoding/decoding of strings
|
// Url encoding/decoding of strings
|
||||||
static BString UrlEncode(const BString& url,
|
static BString UrlEncode(const BString& url,
|
||||||
@@ -76,13 +74,11 @@ public:
|
|||||||
static BString UrlDecode(const BString& url,
|
static BString UrlDecode(const BString& url,
|
||||||
bool strict = false);
|
bool strict = false);
|
||||||
|
|
||||||
#ifdef HAIKU_TARGET_PLATFORM_HAIKU
|
|
||||||
// utility functionality
|
// utility functionality
|
||||||
bool HasPreferredApplication() const;
|
bool HasPreferredApplication() const;
|
||||||
BString PreferredApplication() const;
|
BString PreferredApplication() const;
|
||||||
status_t OpenWithPreferredApplication(
|
status_t OpenWithPreferredApplication(
|
||||||
bool onProblemAskUser = true) const;
|
bool onProblemAskUser = true) const;
|
||||||
#endif
|
|
||||||
|
|
||||||
// BArchivable members
|
// BArchivable members
|
||||||
virtual status_t Archive(BMessage* into,
|
virtual status_t Archive(BMessage* into,
|
||||||
|
|||||||
Reference in New Issue
Block a user