#ifndef ZYPP_URL_URLBASE_H
#define ZYPP_URL_URLBASE_H
-#include <zypp/url/UrlUtils.h>
-#include <zypp/base/PtrTypes.h>
+#include "zypp/url/UrlUtils.h"
+#include "zypp/base/PtrTypes.h"
//////////////////////////////////////////////////////////////////////
virtual bool
isValid() const;
- /**
- * \brief Gets if url uses local network or pc scheme.
- *
- * Looks if url use local network scheme or uses internet
- * scheme like http, ftp, smb.
- *
- * \return True if url uses local network or pc scheme
- */
- virtual bool
- isLocal() const;
// -----------------
/**
virtual void
setQueryParam(const std::string ¶m, const std::string &value);
+ /**
+ * \brief remove the specified query parameter.
+ * \param param The decoded query parameter name.
+ * \throws UrlNotSupportedException if parameter parsing
+ * is not supported for a URL (scheme).
+ * \throws UrlDecodingException if the decoded result string
+ * would contain a '\\0' character.
+ */
+ virtual void
+ delQueryParam(const std::string ¶m);
+
// -----------------
/**