* src/GrampsInMemDB.py: add get_event_cursor
* src/GrampsDbBase.py: add get_event_cursor svn: r4921
This commit is contained in:
parent
4dbb41f834
commit
1b18e85c18
@ -1,3 +1,7 @@
|
||||
2005-07-13 Don Allingham <don@gramps-project.org>
|
||||
* src/GrampsInMemDB.py: add get_event_cursor
|
||||
* src/GrampsDbBase.py: add get_event_cursor
|
||||
|
||||
2005-07-12 Don Allingham <don@gramps-project.org>
|
||||
* src/plugins/NavWebPage.py: handle links properly
|
||||
* src/plugins/Makefile.am: export Rebuild.py
|
||||
|
@ -233,6 +233,9 @@ class GrampsDbBase(GrampsDBCallback.GrampsDBCallback):
|
||||
def get_media_cursor(self):
|
||||
assert False, "Needs to be overridden in the derived class"
|
||||
|
||||
def get_event_cursor(self):
|
||||
assert False, "Needs to be overridden in the derived class"
|
||||
|
||||
def load(self,name,callback):
|
||||
"""
|
||||
Opens the specified database. The method needs to be overridden
|
||||
|
@ -104,6 +104,9 @@ class GrampsInMemDB(GrampsDbBase):
|
||||
def get_media_cursor(self):
|
||||
return GrampsInMemCursor(self.media_map)
|
||||
|
||||
def get_event_cursor(self):
|
||||
return GrampsInMemCursor(self.event_map)
|
||||
|
||||
def close(self):
|
||||
pass
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user