Imported Upstream version 14.45.0
[platform/upstream/libzypp.git] / zypp / url / UrlBase.h
index 3d3f801..e22486b 100644 (file)
@@ -12,8 +12,8 @@
 #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"
 
 
 //////////////////////////////////////////////////////////////////////
@@ -400,16 +400,6 @@ namespace zypp
       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;
 
       // -----------------
       /**
@@ -872,6 +862,17 @@ namespace zypp
       virtual void
       setQueryParam(const std::string &param, 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 &param);
+
 
       // -----------------
       /**