aboutsummaryrefslogtreecommitdiffstats
path: root/src/pyexiv2.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/pyexiv2.py')
-rw-r--r--src/pyexiv2.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/pyexiv2.py b/src/pyexiv2.py
index 3b1a04a..e72e9d9 100644
--- a/src/pyexiv2.py
+++ b/src/pyexiv2.py
@@ -262,6 +262,9 @@ class ListenerInterface(object):
def extended(self, items):
raise NotImplementedError()
+ def item_inserted(self, index, item):
+ raise NotImplementedError()
+
# TODO: define other methods.
@@ -307,6 +310,10 @@ class NotifyingList(list):
super(NotifyingList, self).extend(items)
self._notify_listeners('extended', items)
+ def insert(self, index, item):
+ super(NotifyingList, self).insert(index, item)
+ self._notify_listeners('item_inserted', index, item)
+
class MetadataTag(object):