changeset 1208:96ca8a1cf449

Remove unused classes
author Thinker K.F. Li <thinker@codemud.net>
date Tue, 04 Jan 2011 10:50:16 +0800
parents 489e6e474fdf
children 41d13feeecc4
files pyink/MBScene.py
diffstat 1 files changed, 0 insertions(+), 59 deletions(-) [+]
line wrap: on
line diff
--- a/pyink/MBScene.py	Tue Jan 04 10:43:18 2011 +0800
+++ b/pyink/MBScene.py	Tue Jan 04 10:50:16 2011 +0800
@@ -49,22 +49,6 @@
 	pass
     pass
 
-class Scene:
-    def __init__(self, node, start,end,typ):
-	self.node = node
-	self.start = int(start)
-	self.end = int(end)
-	self.type = typ
-	pass
-    pass
-class DOM(pybInkscape.PYSPObject):
-    def __init__(self,obj=None):
-        self.proxy = obj
-	pass
-    
-    def duplicate(self,doc):
-	return DOM(self.repr.duplicate(doc))
-
 class ObjectWatcher(pybInkscape.PYNodeObserver):
     def __init__(self,obj,type,func,arg):
         self.obj = obj
@@ -94,49 +78,6 @@
 
 _scenes = '{http://madbutterfly.sourceforge.net/DTD/madbutterfly.dtd}scenes'
 _scene = '{http://madbutterfly.sourceforge.net/DTD/madbutterfly.dtd}scene'
-class LayerAttributeWatcher(pybInkscape.PYNodeObserver):
-    def __init__(self,ui):
-        self.ui = ui
-    def notifyChildAdded(self,node,child,prev):
-        pass
-
-    def notifyChildRemoved(self,node,child,prev):
-        pass
-
-    def notifyChildOrderChanged(self,node,child,prev):
-        pass
-
-    def notifyContentChanged(self,node,old_content,new_content):
-        pass
-
-    def notifyAttributeChanged(self,node, name, old_value, new_value):
-        self.ui.updateUI()
-	pass
-
-class LayerAddRemoveWatcher(pybInkscape.PYNodeObserver):
-    def __init__(self,ui):
-        self.ui = ui
-	pass
-
-    def notifyChildAdded(self,node,child,prev):
-        self.ui.updateUI()
-	pass
-
-    def notifyChildRemoved(self,node,child,prev):
-        self.ui.updateUI()
-	pass
-
-    def notifyChildOrderChanged(self,node,child,prev):
-        self.ui.updateUI()
-	pass
-
-    def notifyContentChanged(self,node,old_content,new_content):
-        self.ui.updateUI()
-	pass
-
-    def notifyAttributeChanged(self,node, name, old_value, new_value):
-        self.ui.updateUI()
-	pass
 
 def _travel_DOM(node):
     nodes = [node]