mirror of
https://review.haiku-os.org/haiku
synced 2025-01-31 02:35:03 +01:00
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:
parent
c392fee262
commit
4a8634227e
@ -64,10 +64,8 @@ public:
|
||||
void UrlEncode(bool strict = false);
|
||||
void UrlDecode(bool strict = false);
|
||||
|
||||
#ifdef HAIKU_TARGET_PLATFORM_HAIKU
|
||||
status_t IDNAToAscii();
|
||||
status_t IDNAToUnicode();
|
||||
#endif
|
||||
|
||||
// Url encoding/decoding of strings
|
||||
static BString UrlEncode(const BString& url,
|
||||
@ -76,13 +74,11 @@ public:
|
||||
static BString UrlDecode(const BString& url,
|
||||
bool strict = false);
|
||||
|
||||
#ifdef HAIKU_TARGET_PLATFORM_HAIKU
|
||||
// utility functionality
|
||||
bool HasPreferredApplication() const;
|
||||
BString PreferredApplication() const;
|
||||
status_t OpenWithPreferredApplication(
|
||||
bool onProblemAskUser = true) const;
|
||||
#endif
|
||||
|
||||
// BArchivable members
|
||||
virtual status_t Archive(BMessage* into,
|
||||
|
Loading…
x
Reference in New Issue
Block a user