Code

r11451@tres: ted | 2006-04-17 22:21:33 -0700
[inkscape.git] / src / dom / uri.h
index 722205036f6190d022d289c2c21d599bac092ee3..2ca1bddbec9cd09742d629d057fdf05947e41723 100644 (file)
@@ -84,6 +84,11 @@ public:
      */
     URI(const URI &other);
 
+    /**
+     *  Assignment
+     */
+    URI &URI::operator=(const URI &other);
+
     /**
      *
      */
@@ -133,7 +138,17 @@ public:
     /**
      *
      */
-    virtual bool getIsAbsolute() const;
+    virtual DOMString getNativePath() const;
+
+    /**
+     *
+     */
+    virtual bool isAbsolute() const;
+
+    /**
+     *
+     */
+    virtual bool isOpaque() const;
 
     /**
      *
@@ -145,10 +160,23 @@ public:
      */
     virtual DOMString getFragment() const;
 
+    /**
+     *
+     */
+    virtual URI resolve(const URI &other) const;
+
+    /**
+     *
+     */
+    virtual void normalize();
+
 private:
 
     void init();
 
+    //assign values of other to this. used by copy constructor
+    void assign(const URI &other);
+
     int scheme;
 
     DOMString schemeStr;
@@ -163,6 +191,8 @@ private:
 
     bool absolute;
 
+    bool opaque;
+
     DOMString query;
 
     DOMString fragment;