Code

Rearrange to enable code that does not directly rely on lcms.
[inkscape.git] / src / dom / smil.h
index fdeb0994df424465d15962306b9fb214d442a783..c9de6ccb73747ac8bea1bc4168297bc5eebcc107 100644 (file)
  * ===========================================================================
  * NOTES
  * 
+ * This API and many of the comments come from this document: 
  * http://www.w3.org/TR/smil-boston-dom     
+ * 
+ * ...which is a DRAFT.  But it's the best we can find.  Can someone
+ * find a more finished, complete SMIL DOM document for us?  Thanks.   
  */
 
 
@@ -60,6 +64,7 @@ typedef dom::NodeList NodeList;
 typedef dom::Document Document;
 
 //forward declarations
+//SMIL (non-DOM) types
 class ElementExclusiveTimeContainer;
 class ElementLayout;
 class ElementParallelTimeContainer;
@@ -75,6 +80,7 @@ class Time;
 class TimeEvent;
 class TimeList;
 
+//SMIL Elements
 class SMILAnimateColorElement;
 typedef Ptr<SMILAnimateColorElement> SMILAnimateColorElementPtr;
 class SMILAnimateElement;
@@ -191,6 +197,23 @@ public:
      *
      */
     ElementLayout(const ElementLayout &other)
+        {
+        assign(other);
+        }
+
+    /**
+     *
+     */
+    ElementLayout &operator=(const ElementLayout &other)
+        {
+        assign(other);
+        return *this;
+        }
+
+    /**
+     *
+     */
+    void assign(const ElementLayout &other)
         {
         title           = other.title;
         backgroundColor = other.backgroundColor;
@@ -953,6 +976,14 @@ public:
         {
         }
 
+    /**
+     *
+     */
+    ElementTimeContainer &operator=(const ElementTimeContainer &/*other*/)
+        {
+        return *this;
+        }
+
     /**
      *
      */
@@ -1339,6 +1370,14 @@ public:
         {
         }
 
+    /**
+     *
+     */
+    ElementTimeControl &operator=(const ElementTimeControl &/*other*/)
+        {
+        return *this;
+        }
+
     /**
      *
      */